From 86dcea5c7a52542294c97de392803937ec111cc4 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Thu, 15 May 2014 23:53:56 +0000 Subject: Add support for java/icedtea-web. Clean up some patches while I am here. --- java/openjdk8/files/patch-bsd-test | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'java/openjdk8/files/patch-bsd-test') diff --git a/java/openjdk8/files/patch-bsd-test b/java/openjdk8/files/patch-bsd-test index 06131e2e94da..bcbc59eeac96 100644 --- a/java/openjdk8/files/patch-bsd-test +++ b/java/openjdk8/files/patch-bsd-test @@ -1361,3 +1361,14 @@ PS=":" FS="/" ;; +--- nashorn/test/script/jfx.js ++++ nashorn/test/script/jfx.js +@@ -89,7 +89,7 @@ + var sb = new StringBuffer(goldenDir); + if (OSInfo.getOSType() == OSType.WINDOWS) { + f2 = new File(sb.append(fsep + "windows.png").toString()); +- } else if (OSInfo.getOSType() == OSType.LINUX) { ++ } else if (OSInfo.getOSType() == OSType.LINUX || OSInfo.getOSType() == OSType.BSD) { + f2 = new File(sb.append(fsep + "linux.png").toString()); + } else if (OSInfo.getOSType() == OSType.MACOSX) { + f2 = new File(sb.append(fsep + "macosx.png").toString()); -- cgit v1.2.3