JDK-6913410 : Crash: class resolution triggered within hotspot compiler.
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 1.3.1_28
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2009-12-28
  • Updated: 2011-04-01
  • Resolved: 2010-03-04
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
1.3.1_28 b03Fixed
Related Reports
Relates :  
Relates :  
Description
Testsuite name: CTE Regressions manual
JDK/JRE tested: j2sdk-1_3_1_28-ea-bin-b01-windows-i586-12_dec_2009.exe
OS/architecture: winxphome-x86-sp3
Reproducible: Always
Is it a platform specific regression: N 
Is it a Regression: Y
[If yes] Regression introduced in release/build: 1.3.1_28b01
[If yes] Test result on FCS: Pass/Fail 
Test result on FCS: Fail

Steps to reproduce:
1. Open IE6 or IE7 to run test case of CTE_REGTEST/Generic/4407646/Test4407646.java ,load the following page
   https://jpseuwt-ap/testcases/131/4407646/helptest/HelpTest.html. On the 'Security Alert' page press 'ok' and 'yes' to proceed
2. On the browser there will be a button 'Help!', click that button
3. Press 'NO' on 'An applet would like to print' question JavaHelp window will appear

 
Check:

A Help window will pop up on Left side, the table of contents is displayed correctly and on Right side. If the help topics themselves are displayed in plain text, with the HTML formatting tags being displayed instead of being used - test FAILED. If the help topic displayed in proper HTML format, test PASSED.

 

#Expected behavior:
When clicking button ���Help!���, should pop-up a print request window.

 

#Actual behavior:
The browser crashed after clicking button ���Help!���.

 

#Exceptions:
None

 

#Validation: 

1.same configuration/1.3.1_27b02(j2sdk-1_3_1_27-fcs-bin-b02-windows-i586-15_sep_2009.exe):Pass
2.winxppro-sp3-x86/1.3.1_28b01(j2sdk-1_3_1_28-ea-bin-b01-windows-i586-12_dec_2009.exe):fail
3.winxppro-sp3-x86/6u18b06 :pass
4.vista-ultimate-sp2-x86/1.3.1_28b01:fail

Comments
WORK AROUND -Xint In debug mode, -XX:-ProtectionDomainVerification
03-02-2010

EVALUATION The c1 compiler thread invokes a Java call, which is illegal. Problem is 1.3.1 specific, where ciEnv::get_klass_by_name_impl always calls find_constrained_instance_or_array_klass. In 1.4.2 onwards there is logic here based on an extra arguent passed in, to call find_instance_or_array_klass using the current known protection domain, rather than looking it up later using a Java method. This change came into 1.4.2 with CR 4761344 NullPointerException just before data loss
03-02-2010

EVALUATION This regression is caused due to fix for 6626217.
28-01-2010

EVALUATION .
16-01-2010