< prev index next > src/java.base/share/classes/java/lang/reflect/ProxyGenerator.java
Print this page
}
/**
* Generate a class file for the proxy class. This method drives the
* class file generation process.
+ *
+ * If a proxy interface references any value classes, the value classes
+ * are listed in the loadable descriptors attribute of the interface class. The
+ * classes that are referenced by the proxy interface have already
+ * been loaded before the proxy class. Hence the proxy class is
+ * generated with no loadable descriptors attributes as it essentially has no effect.
*/
private byte[] generateClassFile() {
/*
* Add proxy methods for the hashCode, equals,
* and toString methods of java.lang.Object. This is done before
< prev index next >