After removing methods from a class file with the tool jdk/make/tools/src/build/tools/classfile/RemoveMethods.java, entries in the class pool referenced only from the deleted methods are not needed anymore.
It would be necessary for the class file library to check what CP entries are not used and remove them or assign a dummy (and small in terms of memory) value to them.
It would be necessary for the class file library to check what CP entries are not used and remove them or assign a dummy (and small in terms of memory) value to them.
- relates to
-
JDK-8011181 javac, empty UTF8 entry generated for inner class
-
- Closed
-
-
JDK-8010461 javac, a new attribute is needed in class files to reflect references to inlined constants
-
- Closed
-
-
JDK-8012119 javac is generating the InnerClasses attribute in cases where it shouldn't
-
- Open
-