JDK-6383849 : Relax access checks by default for older classfiles
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-02-10
  • Updated: 2013-05-24
  • Resolved: 2006-02-22
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
6 b73Fixed
Related Reports
Duplicate :  
Relates :  
Description
At b70, the fix for 4293149 made the default as "off" for relaxed access checks in the VM.  Older classfiles may require the relaxed access check to work correctly.  This can currently be accomplished via the '-XX:+RelaxAccessControlCheck' flag, but should be the default if the classfiles involved are detected as older than classfile version 49.

Comments
EVALUATION It seems to be possible to base this relaxation on the classfile versions of both the accessor and accessee.
10-02-2006