United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6557865 -target 5 should not put ACC_SYNTHETIC on package-info
JDK-6557865 : -target 5 should not put ACC_SYNTHETIC on package-info

Details
Type:
Bug
Submit Date:
2007-05-15
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
tools
OS:
generic
Sub-Component:
javac
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Backport:
Backport:
Relates:
Relates:

Sub Tasks

Description
javac generates an ACC_SYNTHETIC bit which breaks JDK 5.0 VMs.  The behavior
is correct but not compatible so we should disable it in -target 5.

                                    

Comments
EVALUATION

We'll unset ACC_SYNTHETIC on package-info in javac -target 5 for compatibility reason.
                                     
2007-07-23
SUGGESTED FIX

Webrev is attached. It's also available at:
http://sa.sfbay.sun.com/projects/langtools_data/7/6557865/
                                     
2007-08-23



Hardware and Software, Engineered to Work Together