- 
    Bug 
- 
    Resolution: Fixed
- 
     P2 P2
- 
    11, 12
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8208770 | 12 | Harold Seigel | P2 | Resolved | Fixed | b06 | 
| JDK-8208454 | 11.0.2 | Harold Seigel | P2 | Resolved | Fixed | b01 | 
| JDK-8209278 | 11.0.1 | Harold Seigel | P2 | Resolved | Fixed | b05 | 
                    ADDITIONAL SYSTEM INFORMATION :
Windows 7,10 and linux in Jdk/Opendk-11-ea+20
A DESCRIPTION OF THE PROBLEM :
When a none zero length unrecognized attribute is in a class version 55 for ea+20 it has a LinkageError of:
Error: LinkageError occurred while loading main class test
java.lang.ClassFormatError: Extra bytes at the end of class file test
REGRESSION : Last worked in version 11
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Have a class file marked for version 55 with a none zero length unrecognized attribute (See JVMS 4.7.1)
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The runtime will ignore the unrecognized attribute
ACTUAL -
Has a LinkageError:
Error: LinkageError occurred while loading main class test
java.lang.ClassFormatError: Extra bytes at the end of class file test
CUSTOMER SUBMITTED WORKAROUND :
Compile for JDK 10
FREQUENCY : always
            
Windows 7,10 and linux in Jdk/Opendk-11-ea+20
A DESCRIPTION OF THE PROBLEM :
When a none zero length unrecognized attribute is in a class version 55 for ea+20 it has a LinkageError of:
Error: LinkageError occurred while loading main class test
java.lang.ClassFormatError: Extra bytes at the end of class file test
REGRESSION : Last worked in version 11
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Have a class file marked for version 55 with a none zero length unrecognized attribute (See JVMS 4.7.1)
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The runtime will ignore the unrecognized attribute
ACTUAL -
Has a LinkageError:
Error: LinkageError occurred while loading main class test
java.lang.ClassFormatError: Extra bytes at the end of class file test
CUSTOMER SUBMITTED WORKAROUND :
Compile for JDK 10
FREQUENCY : always
- backported by
- 
                    JDK-8208454 java.lang.ClassFormatError: Extra bytes at the end of class file test" possibly violation of JVMS 4.7.1 -           
- Resolved
 
-         
- 
                    JDK-8208770 java.lang.ClassFormatError: Extra bytes at the end of class file test" possibly violation of JVMS 4.7.1 -           
- Resolved
 
-         
- 
                    JDK-8209278 java.lang.ClassFormatError: Extra bytes at the end of class file test" possibly violation of JVMS 4.7.1 -           
- Resolved
 
-         
- relates to
- 
                    JDK-8010319 Implementation of JEP 181: Nest-Based Access Control -           
- Resolved
 
-