JDK-6893695 : [TESTBUG] Compilation of test closed/runtime/4948258/NativeImageTest.java fails with encoding error.
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 7
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • OS: generic
  • CPU: x86
  • Submitted: 2009-10-21
  • Updated: 2014-04-17
  • Resolved: 2014-02-06
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 9
9Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
In the JDK6 javac reports about encoding warning however now it reports about error like this:
/net/vmsqe.russia/export/jdk/re/7/promoted/ea/b70/binaries/solaris-i586/bin/javac /net/vmsqe.russia/export/testbase/jtreg/7/HS_REGRESSION/test/closed/runtime/4948258/NativeImageTest.java

Output ends with:

/net/vmsqe.russia/export/testbase/jtreg/7/HS_REGRESSION/test/closed/runtime/4948258/NativeImageTest.java:114: unmappable character for encoding UTF8
                                        // System.out.println(getDateTime()+"��F����F"+getName()+"��Fadd");
                                                                               ^

I did not find any CR related with this change. So if this is not a bug but a feature please change state to incomplete and I reassign it to the test.
Test name:
closed/runtime/4948258/NativeImageTest.java
This is a bug in the test, it should be updated to be compilable.

Comments
This test isn't useful, should be removed.
01-08-2013

EVALUATION It's a feature. See related CRs. Also note "CCC 5048773 has been approved for Mustang." Marked bug "Incomplete" as requested.
21-10-2009