Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 56 for classLoader (0.05 seconds)

  1. guava/src/com/google/common/base/FinalizableReferenceQueue.java

          }
          if (isAndroid()) {
            // We need not worry about class unloading under Android. Plus, this approach wouldn't work.
            return null;
          }
          ClassLoader systemLoader;
          try {
            systemLoader = ClassLoader.getSystemClassLoader();
          } catch (SecurityException e) {
            logger.info("Not allowed to access system class loader.");
            return null;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/io/ResourceUtil.java

            return clazz.getName().replace('.', '/') + ".class";
        }
    
        /**
         * Returns the context class loader.
         *
         * @return the context class loader
         */
        public static ClassLoader getClassLoader() {
            return Thread.currentThread().getContextClassLoader();
        }
    
        /**
         * Returns the resource from the context class loader.
         *
         * @param path
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

            final List<String> subPackages = new ArrayList<>();
            final String path = basePackage.replace('.', '/');
            final ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
            try {
                final Enumeration<java.net.URL> resources = classLoader.getResources(path);
    
                while (resources.hasMoreElements()) {
                    final java.net.URL resource = resources.nextElement();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
  4. 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.
         *
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:18:18 GMT 2026
    - 7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/TempFileCreator.java

       * if previous calls have initialized the {@code PermissionSupplier} fields.
       *
       * <p>This lets us test the effects of different values of the {@code user.name} system property
       * without needing a separate VM or classloader.
       */
      @IgnoreJRERequirement // used only when Path is available (and only from tests)
      @VisibleForTesting
      static void testMakingUserPermissionsFromScratch() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 18:50:14 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/cache/CacheBuilder.java

       *
       * - method reference: Inside Google, CacheBuilder is used from the implementation of a custom
       *   ClassLoader that is sometimes used as a system classloader. That's a problem because
       *   method-reference linking tries to look up the system classloader, and it fails because there
       *   isn't one yet.
       *
       * - lambda: Outside Google, we got a report of a similar problem in
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  7. android/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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            }
    
            @Override
            public jakarta.servlet.descriptor.JspConfigDescriptor getJspConfigDescriptor() {
                return null;
            }
    
            @Override
            public ClassLoader getClassLoader() {
                return null;
            }
    
            @Override
            public void declareRoles(String... roleNames) {
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            }
    
            @Override
            public jakarta.servlet.descriptor.JspConfigDescriptor getJspConfigDescriptor() {
                return null;
            }
    
            @Override
            public ClassLoader getClassLoader() {
                return null;
            }
    
            @Override
            public void declareRoles(String... roleNames) {
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

       *
       * - method reference: Inside Google, CacheBuilder is used from the implementation of a custom
       *   ClassLoader that is sometimes used as a system classloader. That's a problem because
       *   method-reference linking tries to look up the system classloader, and it fails because there
       *   isn't one yet.
       *
       * - lambda: Outside Google, we got a report of a similar problem in
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 51.7K bytes
    - Click Count (0)
Back to Top