The JVM should not perform unspecified checks on NameAndType constants. For example, the NameAndType constant <init>:()D is legal, per the specification, and should not cause a ClassFormatError unless and until it is referenced by a Methodref constant.
- relates to
-
JDK-8271536 [lworld] VerifyError in hotspot/jtreg/runtime/classFileParserBug/NameAndTypeSig.java
-
- Resolved
-
-
JDK-8267650 Better-defined JVM class file validation
-
- Closed
-
-
JDK-8280480 VM accepts an illegal method descriptor referred by CONSTANT_InvokeDynamic_info. name_and_type_index
-
- Closed
-
-
JDK-8322655 Allow NameAndType constants with special method names
-
- Closed
-
(1 links to)