JDK-8032466 : serviceability/sa/jmap-hashcode/Test8028623.java fails with compilation errors
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 7u71,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-01-22
  • Updated: 2015-02-23
  • Resolved: 2014-01-23
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
7u76Fixed 8u20Fixed 9 b03Fixed
Related Reports
Relates :  
Relates :  
Description
Test run URL: http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=349683.JAVASE.NIGHTLY.VM.RT_Baseline.2014-01-21-168&show-limit=0&filter=
Host:   vmsqe-core2q-11, Intel x86 2400 MHz, 4 cores, 8G, Solaris / Solaris 10, i86pc
Options:  -d64 -server -Xcomp -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -XX:NativeMemoryTracking=detail -XX:ReservedCodeCacheSize=256M 

The compilation errors occur on multiple platforms.

#Test Results (version 2)
#Wed Jan 22 13:27:05 MSK 2014
#checksum:28fb8aef65e2ea72
#-----testdescription-----
$file=/export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_HS/test/serviceability/sa/jmap-hashcode/Test8028623.java
$root=/export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_HS/test
keywords=bug8028623
library=/testlibrary
run=ASSUMED_ACTION main Test8028623\n
source=Test8028623.java
title=Test hashing of extended characters in Serviceability Agent.

#-----environment-----

#-----testresult-----
description=file\:/export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_HS/test/serviceability/sa/jmap-hashcode/Test8028623.java
elapsed=1476 0\:00\:01.476
end=Wed Jan 22 13\:27\:05 MSK 2014
environment=regtest
execStatus=Failed. Compilation failed\: Compilation failed
hostname=vmsqe-core2q-11
javatestOS=SunOS 5.10 (x86)
javatestVersion=4.4
jtregVersion=jtreg 4.1 fcs b06
script=com.sun.javatest.regtest.RegressionScript 
sections=script_messages build compile
start=Wed Jan 22 13\:27\:04 MSK 2014
test=serviceability/sa/jmap-hashcode/Test8028623.java
user.name=gtee
work=/export/local/aurora/sandbox/results/workDir/serviceability/sa/jmap-hashcode

#section:script_messages
----------messages:(5/314)----------
JDK under test: (/export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/rt_baseline/solaris-amd64)
java version "1.8.0-ea-fastdebug"
Java(TM) SE Runtime Environment (build 1.8.0-ea-fastdebug-b124)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b62-internal-201401201007.kwalls.hotspot-fastdebug, mixed mode)


#section:build
----------messages:(3/96)----------
command: build Test8028623
reason: Named class compiled on demand
elapsed time (seconds): 1.475
result: Failed. Compilation failed: Compilation failed

#section:compile
----------messages:(3/258)----------
command: compile -XDignore.symbol.file=true /export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_HS/test/serviceability/sa/jmap-hashcode/Test8028623.java
reason: .class file out of date or does not exist
elapsed time (seconds): 1.475
----------System.out:(0/0)----------
----------System.err:(19/1407)----------
/export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_HS/test/serviceability/sa/jmap-hashcode/Test8028623.java:39: error: unmappable character for encoding ASCII
  public static int ?? = 1;
                    ^
/export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_HS/test/serviceability/sa/jmap-hashcode/Test8028623.java:39: error: unmappable character for encoding ASCII
  public static int ?? = 1;
                     ^
/export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_HS/test/serviceability/sa/jmap-hashcode/Test8028623.java:44: error: unmappable character for encoding ASCII
    System.out.println(??);
                       ^
/export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_HS/test/serviceability/sa/jmap-hashcode/Test8028623.java:44: error: unmappable character for encoding ASCII
    System.out.println(??);
                        ^
/export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_HS/test/serviceability/sa/jmap-hashcode/Test8028623.java:39: error: illegal start of type
  public static int ?? = 1;
                         ^
/export/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_HS/test/serviceability/sa/jmap-hashcode/Test8028623.java:44: error: illegal start of expression
    System.out.println(??);
                         ^
6 errors
result: Failed. Compilation failed: Compilation failed


test result: Failed. Compilation failed: Compilation failed
Comments
javac -encoding utf8 is required if that is not the default: http://cr.openjdk.java.net/~kevinw/8032466/webrev.00/
23-01-2014

Some kind of encoding problem. The test has some non-ascii characters in it.
22-01-2014

RULE serviceability/sa/jmap-hashcode/Test8028623.java CompilationError Compilation failed
22-01-2014