United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6561028 closed/compiler/6551887/Test.java crashes
JDK-6561028 : closed/compiler/6551887/Test.java crashes

Details
Type:
Bug
Submit Date:
2007-05-23
Status:
Resolved
Updated Date:
2012-02-01
Project Name:
JDK
Resolved Date:
2007-06-20
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u2,7
Fixed Versions:
hs10 (b14)

Related Reports
Backport:
Backport:

Sub Tasks

Description
Problem Description: closed/compiler/6551887/Test.java crashes
Java version: 7
Java build: b13
Suite name: HS_REGRESSION

The problem is also reproducible with JDK 6u2 and JDK 6.
hs_err_pid is attached.

                                    

Comments
EVALUATION

This is a long standing bug where we aren't checking that src and dst are actually of the same type in the arraycopy slow case.  The fix is to check that they are truly compatible.
                                     
2007-05-23
SUGGESTED FIX

Webrev:                 http://prt-web.sfbay.sun.com/net/prt-archiver.sfbay/data/archived_workspaces/main/c2_baseline/2007/20070601133011.never.6561028/workspace/webrevs/webrev-2007.06.01/index.html

Fixed 6561028: closed/compiler/6551887/Test.java crashes

This is a long standing bug where we aren't checking that src and dst
are actually of the same type in the arraycopy slow case.  The fix is
to check that they are truly compatible.

http://javaweb.sfbay/~never/webrev/6561028

Reviewed by: nips, jrose, kvn

Fix verified (y/n): y
    failing test case
                                     
2007-06-04



Hardware and Software, Engineered to Work Together