United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6383849 : Relax access checks by default for older classfiles

Details
Type:
Bug
Submit Date:
2006-02-10
Status:
Closed
Updated Date:
2013-05-24
Project Name:
JDK
Resolved Date:
2006-02-22
Component:
hotspot
OS:
generic
Sub-Component:
runtime
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Duplicate:
Relates:

Sub Tasks

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.
                                     
2006-02-10



Hardware and Software, Engineered to Work Together