Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getProxyClass (0.11 sec)

  1. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadSerializerObjectInputStream.java

            for (int i = 0; i < count; i++) {
                actualInterfaces[i] = readClass();
            }
            @SuppressWarnings("deprecation")
            Class<?> proxyClass = Proxy.getProxyClass(actualInterfaces[0].getClassLoader(), actualInterfaces);
            return proxyClass;
        }
    
        @Override
        protected Class<?> lookupClass(String type) throws ClassNotFoundException {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/project/antbuilder/AntBuilderMemoryLeakTest.groovy

            try {
                while (!timer.hasExpired()) {
                    builder.withClasspath([new File("foo$i")]).execute {
    
                    }
    
                    classes[classes.length - 1] = Proxy.getProxyClass(classLoaderFactory.createIsolatedClassLoader("test", []), Serializable)
                    4.times {
                        // exponential grow to make it fail faster
                        Class[] dup = new Class[classes.length * 2]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 26 09:30:27 UTC 2018
    - 3.6K bytes
    - Viewed (0)
Back to top