JDK-8061785 : [TEST_BUG] serviceability/sa/jmap-hashcode/Test8028623.java has utf8 character corrupted by earlier merge
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 7u76
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2014-10-22
  • Updated: 2015-09-29
  • Resolved: 2014-11-24
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.
JDK 7 JDK 8 JDK 9
7u75 b10Fixed 8u60Fixed 9Fixed
Related Reports
Relates :  
Relates :  
Description
serviceability/sa/jmap-hashcode/Test8028623.java is still failing with compilation errors even after JDK-8032466:

...
        -d 'C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\0\\serviceability\\sa\\jmap-hashcode' -classpath 'C:\\local\\aurora\\CommonData\\jtreg_dir\\lib\\javatest.jar;C:\\local\\aurora\\CommonData\\jtreg_dir\\lib\\jtreg.jar;C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\0\\serviceability\\sa\\jmap-hashcode;C:\\local\\aurora\\CommonData\\javase_testbase\\hotspot\\test\\serviceability\\sa\\jmap-hashcode;C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\0\\testlibrary;C:\\local\\aurora\\CommonData\\jdk\\lib\\tools.jar;C:\\local\\aurora\\CommonData\\jemmy_dir\\jemmy.jar' -sourcepath 'C:\\local\\aurora\\CommonData\\javase_testbase\\hotspot\\test\\serviceability\\sa\\jmap-hashcode;C:\\local\\aurora\\CommonData\\javase_testbase\\hotspot\\test\\testlibrary' -encoding utf8 'C:\\local\\aurora\\CommonData\\javase_testbase\\hotspot\\test\\serviceability\\sa\\jmap-hashcode\\Test8028623.java'
----------System.out:(0/0)----------
----------System.err:(49/3195)*----------
C:\\local\\aurora\\CommonData\\javase_testbase\\hotspot\\test\\serviceability\\sa\\jmap-hashcode\\Test8028623.java:41: error: <identifier> expected
  public static int ?? = 1;
                   ^
C:\\local\\aurora\\CommonData\\javase_testbase\\hotspot\\test\\serviceability\\sa\\jmap-hashcode\\Test8028623.java:41: error: illegal start of type
  public static int ?? = 1;
                     ^
C:\\local\\aurora\\CommonData\\javase_testbase\\hotspot\\test\\serviceability\\sa\\jmap-hashcode\\Test8028623.java:41: error: <identifier> expected
  public static int ?? = 1;
                      ^
Comments
Critical Request Template - Justification : Merge issue with a test case between 7u-dev and 7u-cpu - Risk Analysis : None, just fixing a test case - Webrev : http://closedjdk.us.oracle.com/jdk7u/jdk7u-cpu/hotspot/rev/71bfec16737d - Testing (done/to-be-done) : Run the fixed test - Back ports (done/to-be-done) : Only applies to 7 - Fix For Release : 7 CPU/PSU
24-11-2014

Removed the defer-request, it seems like this can be fixed today or on Monday
21-11-2014

Yes you're right: - public static int �� = 1; + public static int ?? = 1; ..the merge did change that line. I have another change out for review on the same testcase, 8039995, we can likely fix them both together.
21-11-2014

Any update on this testcase fix ?
11-11-2014

Issue happens with test from 7u76 ws, but test from 8u40 ws works fine.
22-10-2014