# HG changeset patch # User kevinw # Date 1416851563 28800 # Node ID 5a0321dcf89383c31f3c6e4827b3275f9ef09a5e # Parent f2c4a1559fce32d6f71844ab2c43e2716191b593 8061785: [TEST_BUG] serviceability/sa/jmap-hashcode/Test8028623.java has utf8 character corrupted by earlier merge Reviewed-by: poonam diff -r f2c4a1559fce -r 5a0321dcf893 test/serviceability/sa/jmap-hashcode/Test8028623.java --- 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();