United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6490436 compatibility issue due to 5060487
JDK-6490436 : compatibility issue due to 5060487

Details
Type:
Bug
Submit Date:
2006-11-06
Status:
Closed
Updated Date:
2010-12-06
Project Name:
JDK
Resolved Date:
2006-11-09
Component:
hotspot
OS:
solaris_10
Sub-Component:
runtime
CPU:
sparc
Priority:
P1
Resolution:
Fixed
Affected Versions:
1.4.2_12,5.0u10
Fixed Versions:
5.0u10 (b03)

Related Reports
Backport:
Backport:
Backport:
Backport:

Sub Tasks

Description
An important Licensee App is broken due to fix for 5060487.

It is throwing VerifyError. 
superclass protected constructor is bring called in a subclass (in a different package). 
class of the objectref is not the current class or a subclass of the current class 

Please provide a backward compatibility mode so that existing Apps are not broken.

                                    

Comments
EVALUATION

Modern compilers seem to catch this at the source level and don't generate this invalid code.  I suggest that we enforce this only for modern classfile versions (>= 50) and let older classfiles slide.
                                     
2006-11-06
SUGGESTED FIX

As of now, we've decided to backout fix # 5060487 from 5.0u10 and 1.4.2_14.
                                     
2006-11-09



Hardware and Software, Engineered to Work Together