Mercurial > hg > openjdk > jdk6 > hotspot
changeset 4091:2d7067758ce9
8061785: [TEST_BUG] serviceability/sa/jmap-hashcode/Test8028623.java has utf8 character corrupted by earlier merge
Reviewed-by: poonam
author | kevinw |
---|---|
date | Mon, 24 Nov 2014 09:52:43 -0800 |
parents | 546177ff91b3 |
children | d6619de8cfd3 |
files | test/serviceability/sa/jmap-hashcode/Test8028623.java |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test/serviceability/sa/jmap-hashcode/Test8028623.java Mon Feb 24 10:46:40 2014 +0000 +++ b/test/serviceability/sa/jmap-hashcode/Test8028623.java Mon Nov 24 09:52:43 2014 -0800 @@ -26,6 +26,8 @@ * @bug 8028623 * @summary Test hashing of extended characters in Serviceability Agent. * @library /testlibrary + * @compile -encoding utf8 Test8028623.java + * @run main Test8028623 */ import com.oracle.java.testlibrary.JDKToolLauncher; @@ -36,12 +38,12 @@ public class Test8028623 { - public static int à = 1; + public static int \u00CB = 1; public static String dumpFile = "heap.out"; public static void main (String[] args) { - System.out.println(Ã); + System.out.println(\u00CB); try { int pid = ProcessTools.getProcessId();