Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 66 for classLoaders (0.28 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        private final Packaging packaging;
    
        public DefaultProject(InternalMavenSession session, MavenProject project) {
            this.session = session;
            this.project = project;
            ClassLoader ttcl = Thread.currentThread().getContextClassLoader();
            try {
                Thread.currentThread().setContextClassLoader(project.getClassRealm());
                this.packaging = session.requirePackaging(project.getPackaging());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/ResourceUtil.java

            return clazz.getName().replace('.', '/') + ".class";
        }
    
        /**
         * コンテキストクラスローダを返します。
         *
         * @return コンテキストクラスローダ
         */
        public static ClassLoader getClassLoader() {
            return Thread.currentThread().getContextClassLoader();
        }
    
        /**
         * コンテキストクラスローダからリソースを返します。
         *
         * @param path
         *            リソースのパス。{@literal null}や空文字列であってはいけません
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/ClassUtil.java

         * @throws ClassNotFoundRuntimeException
         *             クラスが見つからなかった場合
         * @see Class#forName(String, boolean, ClassLoader)
         */
        @SuppressWarnings("unchecked")
        public static <T> Class<T> forName(final String className, final ClassLoader loader) throws ClassNotFoundRuntimeException {
            assertArgumentNotEmpty("className", className);
            try {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

                final ConverterLookup lookup,
                final PlexusConfiguration configuration,
                final Class<?> type,
                final Class<?> enclosingType,
                final ClassLoader loader,
                final ExpressionEvaluator evaluator,
                final ConfigurationListener listener)
                throws ComponentConfigurationException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. okhttp/src/main/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

            final File[] jarFiles = ResourceUtil.getPluginJarFiles(PluginHelper.ArtifactType.DATA_STORE.getId());
            for (final File jarFile : jarFiles) {
                try (FileSystem fs = FileSystems.newFileSystem(jarFile.toPath(), ClassLoader.getSystemClassLoader())) {
                    final Path xmlPath = fs.getPath("fess_ds++.xml");
                    try (InputStream is = Files.newInputStream(xmlPath)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

                @Override
                protected void configure() {
                    bind(ILoggerFactory.class).toInstance(context.loggerFactory);
                }
            });
    
            ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
            try {
                container.setLookupRealm(null);
                container.setLoggerManager(createLoggerManager());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

                    } catch (Exception e) {
                        throw new RuntimeException("Unable to load plugin lifecycles", e);
                    }
                }
    
                @Override
                public ClassLoader getClassLoader() {
                    return delegate.getMojoDescriptor().getRealm();
                }
    
                @Override
                public Artifact getArtifact() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

      val flatClassnameList =
        lines
          .filter { it.isNotBlank() }
    
      return flatClassnameList
        .mapNotNull {
          try {
            selectClass(Class.forName(it, false, sampleTestClass.classLoader))
          } catch (cnfe: ClassNotFoundException) {
            println("Missing test class: $cnfe")
            null
          }
        }
    }
    
    /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top