Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add some logs here

  • Loading branch information...
commit 21d95605c4b5a7b1cbd92f0f070196dd0863e24a 1 parent 1f78ffa
Dean Hiller authored
View
0  gradle.bat 100644 → 100755
File mode changed
View
10 src/main/java/com/alvazan/orm/api/z8spi/meta/DboTableMeta.java
@@ -114,6 +114,7 @@ public static boolean isValidTableName(String colName) {
private static Proxy testInstanceCreation(Class<?> clazz) {
try {
+ Object obj = clazz.newInstance();
Proxy inst = (Proxy) clazz.newInstance();
return inst;
} catch (InstantiationException e) {
@@ -126,6 +127,12 @@ private static Proxy testInstanceCreation(Class<?> clazz) {
private static void logClassLoaders(Class clazz) {
logClassLoader("[proxies loaded in this one]", clazz.getClassLoader());
+ Class[] interfaces = clazz.getInterfaces();
+ for(Class inter : interfaces) {
+ log.info("loggin interface="+inter);
+ logClassLoader("[INTERFACE="+inter+"]", inter.getClassLoader());
+ }
+
ClassLoader cl = Thread.currentThread().getContextClassLoader();
logClassLoader("[context classloader]", cl);
@@ -146,7 +153,8 @@ private static void logClassLoader(String prefix, ClassLoader loader) {
logMsg+=cl+",";
cl = cl.getParent();
}
- log.info(prefix+"classloaders that proxies class exists in="+logMsg+"}");
+ log.info(prefix+"BEGIN BEGIN classloaders that proxies class exists in="+logMsg+"}");
+ log.info(prefix+"END END END END END classloader info)
}
public String getRealColumnFamily() {
Please sign in to comment.
Something went wrong with that request. Please try again.