JDK-6557865 : -target 5 should not put ACC_SYNTHETIC on package-info
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-05-15
  • Updated: 2017-05-19
  • Resolved: 2011-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u4Fixed 7 b20Fixed OpenJDK6Resolved
Related Reports
Relates :  
Relates :  
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
SUGGESTED FIX Webrev is attached. It's also available at: http://sa.sfbay.sun.com/projects/langtools_data/7/6557865/
23-08-2007

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