JDK-6490436 : compatibility issue due to 5060487
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 1.4.2_12,5.0u10
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2006-11-06
  • Updated: 2015-07-09
  • Resolved: 2006-11-09
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.
Other JDK 6 JDK 7 Other
1.4.2_14,hs10Fixed 6u2Fixed 7Fixed hs10Fixed
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
SUGGESTED FIX As of now, we've decided to backout fix # 5060487 from 5.0u10 and 1.4.2_14.
09-11-2006

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.
06-11-2006