-
Bug
-
Resolution: Fixed
-
P4
-
1.2.0
-
generic
-
generic
-
Verified
Name: akC45999 Date: 07/15/99
The Java Virtual Machine Specification, 5.4.1 Verification reads:
The representation of a class or interface is verified to ensure that its
binary representation is structurally valid (passes 2 and 3 of 4.9.1).
...
Verification must detect the following error:
If the representation of the class or interface does not satisfy the static or
structural constraints listed in Section 4.8, "Constraints on Java Virtual
Machine Code," verification throws a VerifyError.
(end of citation).
But Section 4.8 describes constraints on Code attribute, which are checked
on pass 3. What should be thrown if pass 2 failed, is not defined.
======================================================================
The Java Virtual Machine Specification, 5.4.1 Verification reads:
The representation of a class or interface is verified to ensure that its
binary representation is structurally valid (passes 2 and 3 of 4.9.1).
...
Verification must detect the following error:
If the representation of the class or interface does not satisfy the static or
structural constraints listed in Section 4.8, "Constraints on Java Virtual
Machine Code," verification throws a VerifyError.
(end of citation).
But Section 4.8 describes constraints on Code attribute, which are checked
on pass 3. What should be thrown if pass 2 failed, is not defined.
======================================================================
- relates to
-
JDK-6930553 classfile format checker allows invalid method descriptor in CONSTANT_NameAndType_info in some cases
-
- Closed
-