-
Bug
-
Resolution: Unresolved
-
P4
-
24
-
Fix Understood
During work on JDK-8342466, the Javadoc work for attributes, it's discovered that code model has a lot of inconsistencies with attributes. For example:
1. It does not stream user or undefined attributes;
2. It may write an incompatible StackMapTable as-is, disrupting the labels.
3. Type annotations are delivered only if debug elements are allowed but is not dropped from writing if it's off... (this one may be fine)
Since this is large in scale, the plan is to fix for 25 only, and write a release note indicating these behavioral changes related to the fix.
1. It does not stream user or undefined attributes;
2. It may write an incompatible StackMapTable as-is, disrupting the labels.
3. Type annotations are delivered only if debug elements are allowed but is not dropped from writing if it's off... (this one may be fine)
Since this is large in scale, the plan is to fix for 25 only, and write a release note indicating these behavioral changes related to the fix.
- csr for
-
JDK-8349761 Correct Attribute traversal and writing for Code attributes
-
- Draft
-
- relates to
-
JDK-8342466 Improve API documentation for java.lang.classfile.attribute
-
- Resolved
-
- links to
-
Review(master) openjdk/jdk/23521