/hg/icedtea-web: 2 new changesets

jvanek at icedtea.classpath.org jvanek at icedtea.classpath.org
Tue Mar 10 14:01:57 UTC 2015


changeset 2306f922e936 in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=2306f922e936
author: Jiri Vanek <jvanek at redhat.com>
date: Tue Mar 10 13:06:51 2015 +0100

	Removed invalid URLs, empty codebases and enbaled js tests for opera


changeset 9caff6cc3aaa in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=9caff6cc3aaa
author: Jiri Vanek <jvanek at redhat.com>
date: Tue Mar 10 15:01:29 2015 +0100

	Fixed locale tests

	* tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java : not existing BOHelp replaced by BOHelp1. (getProperties) if used classlaoder is null then system one is used.


diffstat:

 ChangeLog                                                                                      |  32 ++++++++++
 tests/reproducers/simple/JSToJFuncParam/resources/jstoj-funcparam.jnlp                         |   5 +-
 tests/reproducers/simple/JSToJFuncParam/testcases/JSToJFuncParamTest.java                      |   2 +-
 tests/reproducers/simple/JSToJFuncResol/resources/jstoj-funcresol.jnlp                         |   5 +-
 tests/reproducers/simple/JSToJFuncReturn/resources/jstoj-funcreturn.jnlp                       |   5 +-
 tests/reproducers/simple/JSToJGet/resources/jstoj-get.jnlp                                     |   4 +-
 tests/reproducers/simple/JSToJGet/testcases/JSToJGetTest.java                                  |   2 +-
 tests/reproducers/simple/JSToJSet/resources/jstoj-set.jnlp                                     |   5 +-
 tests/reproducers/simple/JSToJSet/testcases/JSToJSetTest.java                                  |   2 +-
 tests/reproducers/simple/JSToJTypeConv/resources/jstoj-typeconv.jnlp                           |   5 +-
 tests/reproducers/simple/JSToJTypeConv/testcases/JSToJTypeConvTest.java                        |   2 +-
 tests/reproducers/simple/JToJSString/testcases/JToJSStringTest.java                            |   2 +-
 tests/reproducers/simple/JavascriptFuncParam/resources/javascript-funcparam.jnlp               |   5 +-
 tests/reproducers/simple/JavascriptFuncParam/testcases/JavascriptFuncParamTest.java            |   2 +-
 tests/reproducers/simple/JavascriptFuncReturn/resources/JavascriptFuncReturn.jnlp              |   5 +-
 tests/reproducers/simple/JavascriptFuncReturn/testcases/JavascriptFuncReturnTest.java          |   2 +-
 tests/reproducers/simple/JavascriptGet/resources/javascript-get.jnlp                           |   5 +-
 tests/reproducers/simple/JavascriptGet/testcases/JavascriptGetTest.java                        |   2 +-
 tests/reproducers/simple/JavascriptSet/resources/javascript-set.jnlp                           |   5 +-
 tests/reproducers/simple/JavascriptSet/testcases/JavascriptSetTest.java                        |   2 +-
 tests/reproducers/simple/JavawsAWTRobotFindsButton/resources/javaws-awtrobot-finds-button.jnlp |   2 +-
 tests/reproducers/simple/JavawsAWTRobotUsageSample/resources/javaws-awtrobot-usage-sample.jnlp |   2 +-
 tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java                            |  14 +++-
 23 files changed, 74 insertions(+), 43 deletions(-)

diffs (422 lines):

diff -r aaea16216604 -r 9caff6cc3aaa ChangeLog
--- a/ChangeLog	Thu Mar 05 14:19:57 2015 -0500
+++ b/ChangeLog	Tue Mar 10 15:01:29 2015 +0100
@@ -1,3 +1,35 @@
+2015-03-10  Jiri Vanek  <jvanek at redhat.com>
+
+	Fixed locale tests
+	* tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java :
+	not existing BOHelp replaced by BOHelp1. (getProperties) if used classlaoder
+	is null then system one is used.
+
+2015-03-10  Jiri Vanek  <jvanek at redhat.com>
+
+	Removed invalid URLs, empty codebases and enbaled js tests for opera
+	* tests/reproducers/simple/JSToJFuncParam/resources/jstoj-funcparam.jnlp
+	* tests/reproducers/simple/JSToJFuncParam/testcases/JSToJFuncParamTest.java
+	* tests/reproducers/simple/JSToJFuncResol/resources/jstoj-funcresol.jnlp
+	* tests/reproducers/simple/JSToJFuncReturn/resources/jstoj-funcreturn.jnlp
+	* tests/reproducers/simple/JSToJGet/resources/jstoj-get.jnlp
+	* tests/reproducers/simple/JSToJGet/testcases/JSToJGetTest.java
+	* tests/reproducers/simple/JSToJSet/resources/jstoj-set.jnlp
+	* tests/reproducers/simple/JSToJSet/testcases/JSToJSetTest.java
+	* tests/reproducers/simple/JSToJTypeConv/resources/jstoj-typeconv.jnlp
+	* tests/reproducers/simple/JSToJTypeConv/testcases/JSToJTypeConvTest.java
+	* tests/reproducers/simple/JToJSString/testcases/JToJSStringTest.java
+	* tests/reproducers/simple/JavascriptFuncParam/resources/javascript-funcparam.jnlp
+	* tests/reproducers/simple/JavascriptFuncParam/testcases/JavascriptFuncParamTest.java
+	* tests/reproducers/simple/JavascriptFuncReturn/resources/JavascriptFuncReturn.jnlp
+	* tests/reproducers/simple/JavascriptFuncReturn/testcases/JavascriptFuncReturnTest.java
+	* tests/reproducers/simple/JavascriptGet/resources/javascript-get.jnlp
+	* tests/reproducers/simple/JavascriptGet/testcases/JavascriptGetTest.java
+	* tests/reproducers/simple/JavascriptSet/resources/javascript-set.jnlp
+	* tests/reproducers/simple/JavascriptSet/testcases/JavascriptSetTest.java
+	* tests/reproducers/simple/JavawsAWTRobotFindsButton/resources/javaws-awtrobot-finds-button.jnlp
+	* tests/reproducers/simple/JavawsAWTRobotUsageSample/resources/javaws-awtrobot-usage-sample.jnlp
+
 2015-03-05  Jie Kang  <jkang at redhat.com>
 
 	Use jnlp_href parameter instead of attribute in	applet tag for reproducers.
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JSToJFuncParam/resources/jstoj-funcparam.jnlp
--- a/tests/reproducers/simple/JSToJFuncParam/resources/jstoj-funcparam.jnlp	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JSToJFuncParam/resources/jstoj-funcparam.jnlp	Tue Mar 10 15:01:29 2015 +0100
@@ -1,6 +1,6 @@
 
 <?xml version="1.0" encoding="UTF-8"?>
-<jnlp spec="1.0+" codebase="" href="jstoj-funcparam.jnlp">
+<jnlp spec="1.0+" codebase="." href="jstoj-funcparam.jnlp">
     <information>
         <title>JavaScript to Java LiveConnect - FuncParam</title>
         <vendor>IcedTea</vendor>
@@ -9,8 +9,7 @@
     </information>
     <resources>
         <!-- Application Resources -->
-        <j2se version="1.6+"
-              href="http://java.sun.com/products/autodl/j2se"/>
+        <j2se version="1.6+" />
         <jar href="JSToJFuncParam.jar" main="true" />
 
     </resources>
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JSToJFuncParam/testcases/JSToJFuncParamTest.java
--- a/tests/reproducers/simple/JSToJFuncParam/testcases/JSToJFuncParamTest.java	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JSToJFuncParam/testcases/JSToJFuncParamTest.java	Tue Mar 10 15:01:29 2015 +0100
@@ -50,7 +50,7 @@
 public class JSToJFuncParamTest extends BrowserTest {
 
     // the JS<->J tests tend to make Opera unusable
-    public final boolean doNotRunInOpera = true;
+    public final boolean doNotRunInOpera = false;
 
     private final String initStr = "JSToJFuncParam applet initialized.";
     private final String afterStr = "afterTests";
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JSToJFuncResol/resources/jstoj-funcresol.jnlp
--- a/tests/reproducers/simple/JSToJFuncResol/resources/jstoj-funcresol.jnlp	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JSToJFuncResol/resources/jstoj-funcresol.jnlp	Tue Mar 10 15:01:29 2015 +0100
@@ -1,6 +1,6 @@
 
 <?xml version="1.0" encoding="UTF-8"?>
-<jnlp spec="1.0+" codebase="" href="jstoj-funcresol.jnlp">
+<jnlp spec="1.0+" codebase="." href="jstoj-funcresol.jnlp">
     <information>
         <title>JavaScript to Java LiveConnect - FuncResol</title>
         <vendor>IcedTea</vendor>
@@ -9,8 +9,7 @@
     </information>
     <resources>
         <!-- Application Resources -->
-        <j2se version="1.6+"
-              href="http://java.sun.com/products/autodl/j2se"/>
+        <j2se version="1.6+" />
         <jar href="JSToJFuncResol.jar" main="true" />
 
     </resources>
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JSToJFuncReturn/resources/jstoj-funcreturn.jnlp
--- a/tests/reproducers/simple/JSToJFuncReturn/resources/jstoj-funcreturn.jnlp	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JSToJFuncReturn/resources/jstoj-funcreturn.jnlp	Tue Mar 10 15:01:29 2015 +0100
@@ -1,6 +1,6 @@
 
 <?xml version="1.0" encoding="UTF-8"?>
-<jnlp spec="1.0+" codebase="" href="jstoj-funcreturn.jnlp">
+<jnlp spec="1.0+" codebase="." href="jstoj-funcreturn.jnlp">
     <information>
         <title>JavaScript to Java LiveConnect - FuncReturn</title>
         <vendor>RedHat</vendor>
@@ -9,8 +9,7 @@
     </information>
     <resources>
         <!-- Application Resources -->
-        <j2se version="1.6+"
-              href="http://java.sun.com/products/autodl/j2se"/>
+        <j2se version="1.6+" />
         <jar href="JSToJFuncReturn.jar" main="true" />
 
     </resources>
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JSToJGet/resources/jstoj-get.jnlp
--- a/tests/reproducers/simple/JSToJGet/resources/jstoj-get.jnlp	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JSToJGet/resources/jstoj-get.jnlp	Tue Mar 10 15:01:29 2015 +0100
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<jnlp spec="1.0+" codebase="" href="jstoj-get.jnlp">
+<jnlp spec="1.0+" codebase="." href="jstoj-get.jnlp">
     <information>
         <title>JavaScript to Java LiveConnect - Get</title>
         <vendor>RedHat</vendor>
@@ -8,7 +8,7 @@
     </information>
     <resources>
         <!-- Application Resources -->
-        <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
+        <j2se version="1.6+" />
         <jar href="JSToJGet.jar" main="true" />
     </resources>
     <applet-desc 
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JSToJGet/testcases/JSToJGetTest.java
--- a/tests/reproducers/simple/JSToJGet/testcases/JSToJGetTest.java	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JSToJGet/testcases/JSToJGetTest.java	Tue Mar 10 15:01:29 2015 +0100
@@ -50,7 +50,7 @@
 public class JSToJGetTest extends BrowserTest {
 
     // the JS<->J tests tend to make Opera unusable
-    public final boolean doNotRunInOpera = true;
+    public final boolean doNotRunInOpera = false;
 
     public String passStr = " - passed.";
     public String failValStr = " - failed, value mismatch.";
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JSToJSet/resources/jstoj-set.jnlp
--- a/tests/reproducers/simple/JSToJSet/resources/jstoj-set.jnlp	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JSToJSet/resources/jstoj-set.jnlp	Tue Mar 10 15:01:29 2015 +0100
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<jnlp spec="1.0+" codebase="" href="jstoj-set.jnlp">
+<jnlp spec="1.0+" codebase="." href="jstoj-set.jnlp">
     <information>
         <title>JavaScript to Java LiveConnect - Set</title>
         <vendor>RedHat</vendor>
@@ -8,8 +8,7 @@
     </information>
     <resources>
         <!-- Application Resources -->
-        <j2se version="1.6+"
-              href="http://java.sun.com/products/autodl/j2se"/>
+        <j2se version="1.6+" />
         <jar href="JSToJSet.jar" main="true" />
     </resources>
     <applet-desc 
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JSToJSet/testcases/JSToJSetTest.java
--- a/tests/reproducers/simple/JSToJSet/testcases/JSToJSetTest.java	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JSToJSet/testcases/JSToJSetTest.java	Tue Mar 10 15:01:29 2015 +0100
@@ -52,7 +52,7 @@
 public class JSToJSetTest extends BrowserTest {
 
     // the JS<->J tests tend to make Opera unusable
-    public final boolean doNotRunInOpera = true;
+    public final boolean doNotRunInOpera = false;
 
     private final String initStr = "JSToJSet applet initialized.";
     private final String afterStr = "afterTests";
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JSToJTypeConv/resources/jstoj-typeconv.jnlp
--- a/tests/reproducers/simple/JSToJTypeConv/resources/jstoj-typeconv.jnlp	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JSToJTypeConv/resources/jstoj-typeconv.jnlp	Tue Mar 10 15:01:29 2015 +0100
@@ -1,6 +1,6 @@
 
 <?xml version="1.0" encoding="UTF-8"?>
-<jnlp spec="1.0+" codebase="" href="jstoj-typeconv.jnlp">
+<jnlp spec="1.0+" codebase="." href="jstoj-typeconv.jnlp">
     <information>
         <title>JavaScript to Java LiveConnect - TypeConv</title>
         <vendor>IcedTea</vendor>
@@ -9,8 +9,7 @@
     </information>
     <resources>
         <!-- Application Resources -->
-        <j2se version="1.6+"
-              href="http://java.sun.com/products/autodl/j2se"/>
+        <j2se version="1.6+" />
         <jar href="JSToJTypeConv.jar" main="true" />
 
     </resources>
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JSToJTypeConv/testcases/JSToJTypeConvTest.java
--- a/tests/reproducers/simple/JSToJTypeConv/testcases/JSToJTypeConvTest.java	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JSToJTypeConv/testcases/JSToJTypeConvTest.java	Tue Mar 10 15:01:29 2015 +0100
@@ -49,7 +49,7 @@
 public class JSToJTypeConvTest extends BrowserTest {
 
     //the JS<->J tests tend to make Opera unusable
-    public final boolean doNotRunInOpera = true;
+    public final boolean doNotRunInOpera = false;
 
     private final String initStr = "JSToJTypeConv applet initialized.";
     private final String afterStr = "afterTests";
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JToJSString/testcases/JToJSStringTest.java
--- a/tests/reproducers/simple/JToJSString/testcases/JToJSStringTest.java	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JToJSString/testcases/JToJSStringTest.java	Tue Mar 10 15:01:29 2015 +0100
@@ -50,7 +50,7 @@
 
 public class JToJSStringTest extends BrowserTest {
     // the JS<->J tests tend to make Opera unusable
-    private static final boolean doNotRunInOpera = true;
+    private static final boolean doNotRunInOpera = false;
 
     private static final String initStr = "init";
     private static final String afterStr = "afterTests";
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JavascriptFuncParam/resources/javascript-funcparam.jnlp
--- a/tests/reproducers/simple/JavascriptFuncParam/resources/javascript-funcparam.jnlp	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JavascriptFuncParam/resources/javascript-funcparam.jnlp	Tue Mar 10 15:01:29 2015 +0100
@@ -1,6 +1,6 @@
 
 <?xml version="1.0" encoding="UTF-8"?>
-<jnlp spec="1.0+" codebase="" href="javascript-funcparam.jnlp">
+<jnlp spec="1.0+" codebase="." href="javascript-funcparam.jnlp">
     <information>
         <title>Java to JavaScript LiveConnect - FuncParam</title>
         <vendor>IcedTea</vendor>
@@ -9,8 +9,7 @@
     </information>
     <resources>
         <!-- Application Resources -->
-        <j2se version="1.6+"
-              href="http://java.sun.com/products/autodl/j2se"/>
+        <j2se version="1.6+" />
         <jar href="JavascriptFuncParam.jar" main="true" />
 
     </resources>
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JavascriptFuncParam/testcases/JavascriptFuncParamTest.java
--- a/tests/reproducers/simple/JavascriptFuncParam/testcases/JavascriptFuncParamTest.java	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JavascriptFuncParam/testcases/JavascriptFuncParamTest.java	Tue Mar 10 15:01:29 2015 +0100
@@ -49,7 +49,7 @@
 
 public class JavascriptFuncParamTest extends BrowserTest {
 
-    public final boolean doNotRunInOpera = true;
+    public final boolean doNotRunInOpera = false;
 
     private final String initStr = "JToJSFuncParam applet initialized.";
     private final String afterStr = "afterTests";
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JavascriptFuncReturn/resources/JavascriptFuncReturn.jnlp
--- a/tests/reproducers/simple/JavascriptFuncReturn/resources/JavascriptFuncReturn.jnlp	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JavascriptFuncReturn/resources/JavascriptFuncReturn.jnlp	Tue Mar 10 15:01:29 2015 +0100
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<jnlp spec="1.0+" codebase="" href="JavascriptFuncReturn.jnlp">
+<jnlp spec="1.0+" codebase="." href="JavascriptFuncReturn.jnlp">
     <information>
         <title>Java to JavaScript LiveConnect - FuncReturn</title>
         <vendor>IcedTea</vendor>
@@ -8,8 +8,7 @@
     </information>
     <resources>
         <!-- Application Resources -->
-        <j2se version="1.6+"
-              href="http://java.sun.com/products/autodl/j2se"/>
+        <j2se version="1.6+" />
         <jar href="JavascriptFuncReturn.jar" main="true" />
 
     </resources>
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JavascriptFuncReturn/testcases/JavascriptFuncReturnTest.java
--- a/tests/reproducers/simple/JavascriptFuncReturn/testcases/JavascriptFuncReturnTest.java	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JavascriptFuncReturn/testcases/JavascriptFuncReturnTest.java	Tue Mar 10 15:01:29 2015 +0100
@@ -48,7 +48,7 @@
 
 public class JavascriptFuncReturnTest extends BrowserTest {
 
-    public final boolean doNotRunInOpera = true;
+    public final boolean doNotRunInOpera = false;
 
     private final String initStr = "JToJSFuncReturn applet initialized.";
     private final String afterStr = "afterTests";
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JavascriptGet/resources/javascript-get.jnlp
--- a/tests/reproducers/simple/JavascriptGet/resources/javascript-get.jnlp	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JavascriptGet/resources/javascript-get.jnlp	Tue Mar 10 15:01:29 2015 +0100
@@ -1,6 +1,6 @@
 
 <?xml version="1.0" encoding="UTF-8"?>
-<jnlp spec="1.0+" codebase="" href="javascript-get.jnlp">
+<jnlp spec="1.0+" codebase="." href="javascript-get.jnlp">
     <information>
         <title>Java to JavaScript LiveConnect - Get</title>
         <vendor>IcedTea</vendor>
@@ -9,8 +9,7 @@
     </information>
     <resources>
         <!-- Application Resources -->
-        <j2se version="1.6+"
-              href="http://java.sun.com/products/autodl/j2se"/>
+        <j2se version="1.6+" />
         <jar href="JavascriptGet.jar" main="true" />
 
     </resources>
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JavascriptGet/testcases/JavascriptGetTest.java
--- a/tests/reproducers/simple/JavascriptGet/testcases/JavascriptGetTest.java	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JavascriptGet/testcases/JavascriptGetTest.java	Tue Mar 10 15:01:29 2015 +0100
@@ -49,7 +49,7 @@
 
 public class JavascriptGetTest extends BrowserTest {
 
-    public final boolean doNotRunInOpera = true;
+    public final boolean doNotRunInOpera = false;
 
     private final String initStr = "JToJSGet applet initialized.";
     private final String afterStr = "afterTests";
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JavascriptSet/resources/javascript-set.jnlp
--- a/tests/reproducers/simple/JavascriptSet/resources/javascript-set.jnlp	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JavascriptSet/resources/javascript-set.jnlp	Tue Mar 10 15:01:29 2015 +0100
@@ -1,6 +1,6 @@
 
 <?xml version="1.0" encoding="UTF-8"?>
-<jnlp spec="1.0+" codebase="" href="javascript-set.jnlp">
+<jnlp spec="1.0+" codebase="." href="javascript-set.jnlp">
     <information>
         <title>Java to JavaScript LiveConnect - Set</title>
         <vendor>IcedTea</vendor>
@@ -9,8 +9,7 @@
     </information>
     <resources>
         <!-- Application Resources -->
-        <j2se version="1.6+"
-              href="http://java.sun.com/products/autodl/j2se"/>
+        <j2se version="1.6+" />
         <jar href="JavascriptSet.jar" main="true" />
 
     </resources>
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JavascriptSet/testcases/JavascriptSetTest.java
--- a/tests/reproducers/simple/JavascriptSet/testcases/JavascriptSetTest.java	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JavascriptSet/testcases/JavascriptSetTest.java	Tue Mar 10 15:01:29 2015 +0100
@@ -48,7 +48,7 @@
 
 public class JavascriptSetTest extends BrowserTest {
 
-    public final boolean doNotRunInOpera = true;
+    public final boolean doNotRunInOpera = false;
 
     private final String initStr = "JToJSSet applet initialized.";
     private final String afterStr = "afterTests";
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JavawsAWTRobotFindsButton/resources/javaws-awtrobot-finds-button.jnlp
--- a/tests/reproducers/simple/JavawsAWTRobotFindsButton/resources/javaws-awtrobot-finds-button.jnlp	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JavawsAWTRobotFindsButton/resources/javaws-awtrobot-finds-button.jnlp	Tue Mar 10 15:01:29 2015 +0100
@@ -45,7 +45,7 @@
     </information>
     <resources>
         <!-- Application Resources -->
-        <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
+        <j2se version="1.6+" />
         <jar href="JavawsAWTRobotFindsButton.jar" main="true" />
     </resources>
     <applet-desc 
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/JavawsAWTRobotUsageSample/resources/javaws-awtrobot-usage-sample.jnlp
--- a/tests/reproducers/simple/JavawsAWTRobotUsageSample/resources/javaws-awtrobot-usage-sample.jnlp	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/JavawsAWTRobotUsageSample/resources/javaws-awtrobot-usage-sample.jnlp	Tue Mar 10 15:01:29 2015 +0100
@@ -45,7 +45,7 @@
     </information>
     <resources>
         <!-- Application Resources -->
-        <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
+        <j2se version="1.6+" />
         <jar href="JavawsAWTRobotUsageSample.jar" main="true" />
     </resources>
     <applet-desc 
diff -r aaea16216604 -r 9caff6cc3aaa tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java
--- a/tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java	Thu Mar 05 14:19:57 2015 -0500
+++ b/tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java	Tue Mar 10 15:01:29 2015 +0100
@@ -36,6 +36,7 @@
  */
 
 import java.io.IOException;
+import java.io.InputStream;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Collections;
@@ -54,7 +55,7 @@
 
 public class LocalesTestTest {
 
-    private static ServerAccess server = new ServerAccess();
+    private static final ServerAccess server = new ServerAccess();
     String[] keys = {
         "BOUsage",
         "BOUsage2",
@@ -71,7 +72,7 @@
         "BOViewer",
         "BXnofork",
         "BXclearcache",
-        "BOHelp"};
+        "BOHelp1"};
 
     /**
      * this will prepare new set of variables with wanted locale, which can be
@@ -130,7 +131,14 @@
     }
 
     public ResourceBundle getProperties(String s) throws IOException {
-        return new PropertyResourceBundle(this.getClass().getClassLoader().getResourceAsStream("net/sourceforge/jnlp/resources/Messages" + s + ".properties"));
+        ClassLoader cl = this.getClass().getClassLoader();
+        ServerAccess.logOutputReprint(cl==null?"null":cl.toString());
+        if (cl == null) {
+            cl = ClassLoader.getSystemClassLoader();
+            ServerAccess.logOutputReprint(cl==null?"null":cl.toString());
+        }
+        InputStream q = cl.getResourceAsStream("net/sourceforge/jnlp/resources/Messages" + s + ".properties");
+        return new PropertyResourceBundle(q);
 
     }
     //just launching javaws -about to see if messages are corectly localised


More information about the distro-pkg-dev mailing list