Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
matrix
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
mall
arch
matrix
Commits
ed893749
Commit
ed893749
authored
Mar 26, 2025
by
348630840@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.0.19
parent
950510ff
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
10 deletions
+12
-10
pom.xml
common-core/pom.xml
+1
-1
MatrixUrlClassLoader.java
common-core/src/main/java/com/secoo/mall/common/core/classloader/MatrixUrlClassLoader.java
+5
-3
pom.xml
common-util/pom.xml
+1
-1
pom.xml
matrix-datasource/matrix-datasource-core/pom.xml
+1
-1
pom.xml
matrix-datasource/pom.xml
+1
-1
pom.xml
pom.xml
+3
-3
No files found.
common-core/pom.xml
View file @
ed893749
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix
</artifactId>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
2.0.1
8
.RELEASE
</version>
<version>
2.0.1
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
common-core/src/main/java/com/secoo/mall/common/core/classloader/MatrixUrlClassLoader.java
View file @
ed893749
package
com
.
secoo
.
mall
.
common
.
core
.
classloader
;
package
com
.
secoo
.
mall
.
common
.
core
.
classloader
;
import
com.secoo.mall.common.core.exception.SystemInternalException
;
import
com.secoo.mall.common.core.exception.SystemInternalException
;
import
lombok.extern.slf4j.Slf4j
;
import
java.lang.reflect.Constructor
;
import
java.lang.reflect.Constructor
;
import
java.lang.reflect.Method
;
import
java.lang.reflect.Method
;
import
java.net.URL
;
import
java.net.URL
;
import
java.net.URLClassLoader
;
import
java.net.URLClassLoader
;
@Slf4j
public
class
MatrixUrlClassLoader
extends
URLClassLoader
{
public
class
MatrixUrlClassLoader
extends
URLClassLoader
{
private
volatile
static
MatrixUrlClassLoader
instance
;
private
volatile
static
MatrixUrlClassLoader
instance
;
private
static
ClassLoader
classLoader
=
MatrixUrlClassLoader
.
class
.
getClassLoader
();
private
static
ClassLoader
classLoader
=
MatrixUrlClassLoader
.
class
.
getClassLoader
();
...
@@ -23,7 +25,7 @@ public class MatrixUrlClassLoader extends URLClassLoader {
...
@@ -23,7 +25,7 @@ public class MatrixUrlClassLoader extends URLClassLoader {
ADD_URL
=
URLClassLoader
.
class
.
getDeclaredMethod
(
"addURL"
,
URL
.
class
);
ADD_URL
=
URLClassLoader
.
class
.
getDeclaredMethod
(
"addURL"
,
URL
.
class
);
ADD_URL
.
setAccessible
(
true
);
ADD_URL
.
setAccessible
(
true
);
}
catch
(
NoSuchMethodException
e
)
{
}
catch
(
NoSuchMethodException
e
)
{
e
.
printStackTrace
(
);
log
.
error
(
e
.
getMessage
(),
e
);
throw
new
SystemInternalException
();
throw
new
SystemInternalException
();
}
}
...
@@ -49,7 +51,7 @@ public class MatrixUrlClassLoader extends URLClassLoader {
...
@@ -49,7 +51,7 @@ public class MatrixUrlClassLoader extends URLClassLoader {
URL
url
=
new
URL
(
urlStr
);
URL
url
=
new
URL
(
urlStr
);
ADD_URL
.
invoke
(
classLoader
,
url
);
ADD_URL
.
invoke
(
classLoader
,
url
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
(
);
log
.
error
(
e
.
getMessage
(),
e
);
throw
new
SystemInternalException
();
throw
new
SystemInternalException
();
}
}
}
}
...
@@ -71,7 +73,7 @@ public class MatrixUrlClassLoader extends URLClassLoader {
...
@@ -71,7 +73,7 @@ public class MatrixUrlClassLoader extends URLClassLoader {
return
factClass
.
newInstance
();
return
factClass
.
newInstance
();
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
(
);
log
.
error
(
e
.
getMessage
(),
e
);
throw
new
SystemInternalException
();
throw
new
SystemInternalException
();
}
}
}
}
...
...
common-util/pom.xml
View file @
ed893749
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix
</artifactId>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
2.0.1
8
.RELEASE
</version>
<version>
2.0.1
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-datasource/matrix-datasource-core/pom.xml
View file @
ed893749
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix-datasource
</artifactId>
<artifactId>
matrix-datasource
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
2.0.1
8
.RELEASE
</version>
<version>
2.0.1
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
matrix-datasource/pom.xml
View file @
ed893749
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<parent>
<parent>
<artifactId>
matrix
</artifactId>
<artifactId>
matrix
</artifactId>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<version>
2.0.1
8
.RELEASE
</version>
<version>
2.0.1
9
.RELEASE
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
...
...
pom.xml
View file @
ed893749
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
matrix
</artifactId>
<artifactId>
matrix
</artifactId>
<version>
2.0.18
.RELEASE
</version>
<version>
2.0.19
.RELEASE
</version>
<packaging>
pom
</packaging>
<packaging>
pom
</packaging>
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
common-core
</artifactId>
<artifactId>
common-core
</artifactId>
<version>
2.0.1
8
.RELEASE
</version>
<version>
2.0.1
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
<artifactId>
common-util
</artifactId>
<artifactId>
common-util
</artifactId>
<version>
2.0.1
8
.RELEASE
</version>
<version>
2.0.1
9
.RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.secoo.mall
</groupId>
<groupId>
com.secoo.mall
</groupId>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment