From 0c6fae30990badf6c0603bc885beb757b5a150b3 Mon Sep 17 00:00:00 2001 From: vlivanov Date: Wed, 16 Dec 2015 16:24:02 +0300 Subject: [PATCH] 8078423: [TESTBUG] javax/print/PrintSEUmlauts/PrintSEUmlauts.java relies on system locale Reviewed-by: martin --- test/javax/print/PrintSEUmlauts/PrintSEUmlauts.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/javax/print/PrintSEUmlauts/PrintSEUmlauts.java b/test/javax/print/PrintSEUmlauts/PrintSEUmlauts.java index f87549747..962ef5e8b 100644 --- a/test/javax/print/PrintSEUmlauts/PrintSEUmlauts.java +++ b/test/javax/print/PrintSEUmlauts/PrintSEUmlauts.java @@ -107,14 +107,14 @@ public class PrintSEUmlauts implements Printable { System.err.println("printing content"); System.err.println(content); } - throw new RuntimeException("Expected to represent 'ä' but not found!"); + throw new RuntimeException("Expected to represent '\u00e4' but not found!"); } System.err.println("SUCCESS"); } public int print(Graphics g, PageFormat pf, int pg) { if (pg > 0) return NO_SUCH_PAGE; - g.drawString("ä", 100, 100); + g.drawString("\u00e4", 100, 100); return PAGE_EXISTS; } } -- GitLab