- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 93 for classLoader (0.16 sec)
-
impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java
boolean isMap = false; boolean isProperties = false; if (!isArray) { try { // assuming Type is available in current ClassLoader isCollection = Collection.class.isAssignableFrom(Class.forName(param.getType())); isMap = Map.class.isAssignableFrom(Class.forName(param.getType()));Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 6.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java
private static final ConcurrentMap<Class<?>, Map<String, Field>> FIELD_CACHE = new ConcurrentHashMap<>(); private final ConverterLookup lookup; private final ClassLoader loader; private final ExpressionEvaluator evaluator; private final ConfigurationListener listener; /** * Holds information about a method including its parameter type. */
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 12 14:59:46 UTC 2025 - 12.3K bytes - Viewed (0) -
guava/src/com/google/common/io/Resources.java
// TODO(cgdecker): maybe add a better way to check if a resource exists // e.g. Optional<URL> tryGetResource or boolean resourceExists public static URL getResource(String resourceName) { ClassLoader loader = MoreObjects.firstNonNull( Thread.currentThread().getContextClassLoader(), Resources.class.getClassLoader()); URL url = loader.getResource(resourceName);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java
} projectRealmCache.register(project, projectRealmKey, record); return record; } @Override public void selectProjectRealm(MavenProject project) { ClassLoader projectRealm = project.getClassRealm(); if (projectRealm == null) { projectRealm = classRealmManager.getCoreRealm(); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 10.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
return markerFile.getAbsoluteFile().getParentFile(); } protected static File getFileForClasspathResource(String resource) throws FileNotFoundException, URISyntaxException { ClassLoader cloader = Thread.currentThread().getContextClassLoader(); URL resourceUrl = cloader.getResource(resource); if (resourceUrl == null) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 20:01:00 UTC 2025 - 7.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java
MavenSession session, boolean aggregating, Set<Artifact> projectArtifacts) throws LifecycleExecutionException { ClassLoader tccl = Thread.currentThread().getContextClassLoader(); try { ClassLoader projectRealm = project.getClassRealm(); if (projectRealm != null && projectRealm != tccl) { Thread.currentThread().setContextClassLoader(projectRealm);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 15.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy
super.render(htmlReportFile, enrichReport(data)) } /** * This is super-hacky: this report is instantiated via {@code newInstance()}, within a different * classloader by {@link JApiCmpWorkerAction}, so there is no way to use a * normal property on the renderer instance and just set the location of the API file in it. *
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Feb 07 20:38:43 UTC 2023 - 7.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java
@Override protected void configure() { bind(ILoggerFactory.class).toProvider(() -> context.loggerFactory); } }); ClassLoader oldCL = Thread.currentThread().getContextClassLoader(); Runnable settingsCleaner = null; try { container.setLookupRealm(null); container.setLoggerManager(createLoggerManager());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 14.3K bytes - Viewed (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt
val isSupported: Boolean = try { // Trigger an early exception over a fatal error, prefer a RuntimeException over Error. Class.forName("org.conscrypt.Conscrypt\$Version", false, javaClass.classLoader) when { // Bump this version if we ever have a binary incompatibility Conscrypt.isAvailable() && atLeastVersion(2, 1, 0) -> true else -> false }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java
// however, SISU visibility filtering can only happen when an explicit // lookup is performed. The whole problem here is caused by "project extensions" // which are bound to a project's classloader, without any clear definition // of a "project scope" LifecycleMapping lifecycleMapping = lookup.lookupOptional(LifecycleMapping.class, id).orElse(null); if (lifecycleMapping == null) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 7.8K bytes - Viewed (0)