Mercurial > hg > openjdk > jdk7u > hotspot
changeset 5549:5a0321dcf893 jdk7u75-b10
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 | f2c4a1559fce |
children | cc7a8ea24ab6 82dcfb646bd5 |
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 Nov 17 15:51:46 2014 -0500 +++ 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();