Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for injectEmptyInterfacesIntoClassLoader (0.68 sec)

  1. subprojects/core/src/main/java/org/gradle/initialization/LegacyTypesSupport.java

        byte[] generateSyntheticClass(String name);
    
        /**
         * Injects all the interfaces identified by {@link LegacyTypesSupport#getSyntheticClasses()}
         * into the given classloader.
         */
        void injectEmptyInterfacesIntoClassLoader(ClassLoader classLoader);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/initialization/DefaultLegacyTypesSupport.java

        }
    
        /**
         * Injects the interfaces into an arbitrary classloader via
         * {@link ClassLoader#defineClass(String, byte[], int, int)}.
         */
        @Override
        public void injectEmptyInterfacesIntoClassLoader(ClassLoader classLoader) {
            try {
                for (String name : syntheticClasses) {
                    byte[] bytes = generateSyntheticClass(name);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 12 21:33:19 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  3. platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/internal/ProjectBuilderImpl.java

                // Thus, we inject the missing interfaces directly into the system class loader used to load all classes in the test.
                globalServices.get(LegacyTypesSupport.class).injectEmptyInterfacesIntoClassLoader(ProjectBuilderImpl.class.getClassLoader());
            }
            return globalServices;
        }
    
        private static ServiceRegistry createGlobalServices() {
            return ServiceRegistryBuilder
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:36 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

        ...
    
    // Thrown by ProjectBuilder
    org.gradle.api.GradleException: Could not inject synthetic classes.
    	at org.gradle.initialization.DefaultLegacyTypesSupport.injectEmptyInterfacesIntoClassLoader(DefaultLegacyTypesSupport.java:91)
    	at org.gradle.testfixtures.internal.ProjectBuilderImpl.getGlobalServices(ProjectBuilderImpl.java:182)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
Back to top