- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for isAncestor (0.08 sec)
-
src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java
assertThat(ClassLoaderUtil.isAncestor(cl3, cl2), is(true)); assertThat(ClassLoaderUtil.isAncestor(cl3, cl1), is(true)); assertThat(ClassLoaderUtil.isAncestor(cl2, cl1), is(true)); assertThat(ClassLoaderUtil.isAncestor(cl1, cl2), is(not(true))); assertThat(ClassLoaderUtil.isAncestor(cl1, cl3), is(not(true))); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java
final ClassLoader thisClassLoader = ClassLoaderUtil.class.getClassLoader(); if (targetClassLoader != null && thisClassLoader != null) { if (isAncestor(thisClassLoader, targetClassLoader)) { return thisClassLoader; } return targetClassLoader; } if (targetClassLoader != null) { return targetClassLoader;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8.2K bytes - Viewed (0)