/hg/release/icedtea-web-1.3: 4 new changesets

dbhole at icedtea.classpath.org dbhole at icedtea.classpath.org
Wed Sep 5 15:07:00 PDT 2012


changeset 03ac5dc76069 in /hg/release/icedtea-web-1.3
details: http://icedtea.classpath.org/hg/release/icedtea-web-1.3?cmd=changeset;node=03ac5dc76069
author: Deepak Bhole <dbhole at redhat.com>
date: Mon Aug 27 15:35:27 2012 -0400

	Prepare for 1.3


changeset 1e8f5072818c in /hg/release/icedtea-web-1.3
details: http://icedtea.classpath.org/hg/release/icedtea-web-1.3?cmd=changeset;node=1e8f5072818c
author: Deepak Bhole <dbhole at redhat.com>
date: Mon Aug 27 15:35:32 2012 -0400

	Added tag icedtea-web-1.3 for changeset 03ac5dc76069


changeset e34ee5812e99 in /hg/release/icedtea-web-1.3
details: http://icedtea.classpath.org/hg/release/icedtea-web-1.3?cmd=changeset;node=e34ee5812e99
author: Deepak Bhole <dbhole at redhat.com>
date: Mon Aug 27 15:36:22 2012 -0400

	Prepare for 1.3.1


changeset 956ca57557a0 in /hg/release/icedtea-web-1.3
details: http://icedtea.classpath.org/hg/release/icedtea-web-1.3?cmd=changeset;node=956ca57557a0
author: Deepak Bhole <dbhole at redhat.com>
date: Wed Sep 05 17:54:22 2012 -0400

	Merge


diffstat:

 .hgtags                                                                                       |    1 +
 ChangeLog                                                                                     |   45 +
 NEWS                                                                                          |    4 +-
 configure.ac                                                                                  |    2 +-
 netx/net/sourceforge/jnlp/Launcher.java                                                       |   19 +
 netx/net/sourceforge/jnlp/resources/Messages.properties                                       |    1 +
 netx/net/sourceforge/jnlp/services/XSingleInstanceService.java                                |   38 +-
 tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTest.jnlp          |   60 ++
 tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTestWS.jnlp        |   55 ++
 tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTest_clasical.html |   50 +
 tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTest_jnlpHref.html |   47 +
 tests/reproducers/simple/SingleInstanceServiceTest/srcs/SingleInstanceChecker.java            |  158 +++++
 tests/reproducers/simple/SingleInstanceServiceTest/testcases/SingleInstanceTest.java          |  265 ++++++++++
 tests/test-extensions/net/sourceforge/jnlp/LoggingBottleneck.java                             |    3 +
 tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java                                  |   18 +-
 tests/test-extensions/net/sourceforge/jnlp/ServerLauncher.java                                |   22 +-
 tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java                                 |    5 +-
 17 files changed, 775 insertions(+), 18 deletions(-)

diffs (truncated from 1019 to 500 lines):

diff -r a63733958565 -r 956ca57557a0 .hgtags
--- a/.hgtags	Mon Aug 27 15:32:08 2012 -0400
+++ b/.hgtags	Wed Sep 05 17:54:22 2012 -0400
@@ -1,3 +1,4 @@
 692d7e5b31039156aff1600fd7f5034fead2f258 icedtea-web-1.0-branchpoint
 b605505179459c9f2119e4dfde999fc6300e4c87 icedtea-web-1.1-branchpoint
 41f03d932cdf040a89d09c5683fcc7dac6fd2003 icedtea-web-1.2-branchpoint
+03ac5dc76069aac927946ccc26698f52e1965260 icedtea-web-1.3
diff -r a63733958565 -r 956ca57557a0 ChangeLog
--- a/ChangeLog	Mon Aug 27 15:32:08 2012 -0400
+++ b/ChangeLog	Wed Sep 05 17:54:22 2012 -0400
@@ -1,3 +1,48 @@
+2012-09-05  Jiri Vanek  <jvanek at redhat.com>
+
+	Fixing several errors which were causing incorrect behaviour causing
+	correct reproduction of PR905
+	* tests/test-extensions/net/sourceforge/jnlp/LoggingBottleneck.java:
+	added flush for logs
+	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java: cleaned
+	and enhanced getUrl* methods.
+	* tests/test-extensions/net/sourceforge/jnlp/ServerLauncher.java: delegated
+	socket
+	* tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java: fixed
+	processing of question mark. 
+
+2012-09-04  Jiri Vanek  <Jvanek at redhat.com>
+            Danesh Dadachanji  <ddadacha at redhat.com>
+
+	Single instance support for jnlp-href and tests
+	* netx/net/sourceforge/jnlp/services/XSingleInstanceService.java:
+	(initializeSingleInstance) fixed code for catching running instance
+	(checkSingleInstanceRunning) Added handling of parameters.
+	* netx/net/sourceforge/jnlp/Launcher.java: (launchApplication),
+	(launchApplet) 	Added debug output that instance is already running.
+	(getApplet) added check for services and debug output
+	* netx/net/sourceforge/jnlp/resources/Messages.properties: added
+	(LSingleInstanceExists) entry for exception.
+	tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTest.jnlp
+	* tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTestWS.jnlp:
+	* tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTest_clasical.html:
+	* tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTest_jnlpHref.html:
+	Applet and application in jnlp or html launching files.
+	* tests/reproducers/simple/SingleInstanceServiceTest/srcs/SingleInstanceChecker.java
+	SingleInstance implementing applet/application
+	* tests/reproducers/simple/SingleInstanceServiceTest/testcases/SingleInstanceTest.java
+	Testfile for launching for above jnlps/htmls as testcases.
+
+2012-08-27  Deepak Bhole <dbhole at redhat.com>
+
+	* configure.ac: Prepare for 1.3.1
+	* NEWS: Same
+
+2012-08-27  Deepak Bhole <dbhole at redhat.com>
+
+	* configure.ac: Prepare for 1.3
+	* NEWS: Same
+
 2012-08-27  Deepak Bhole <dbhole at redhat.com>
 
 	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
diff -r a63733958565 -r 956ca57557a0 NEWS
--- a/NEWS	Mon Aug 27 15:32:08 2012 -0400
+++ b/NEWS	Wed Sep 05 17:54:22 2012 -0400
@@ -8,7 +8,9 @@
 
 CVE-XXXX-YYYY: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY
 
-New in release 1.3 (2012-XX-XX):
+New in release 1.3.1 (2012-XX-XX):
+
+New in release 1.3 (2012-09-04):
 * Security updates
   - CVE-2012-3422, RH840592: Potential read from an uninitialized memory location
   - CVE-2012-3423, RH841345: Incorrect handling of not 0-terminated strings
diff -r a63733958565 -r 956ca57557a0 configure.ac
--- a/configure.ac	Mon Aug 27 15:32:08 2012 -0400
+++ b/configure.ac	Wed Sep 05 17:54:22 2012 -0400
@@ -1,4 +1,4 @@
-AC_INIT([icedtea-web],[1.3pre],[distro-pkg-dev at openjdk.java.net], [icedtea-web], [http://icedtea.classpath.org/wiki/IcedTea-Web])
+AC_INIT([icedtea-web],[1.3.1pre],[distro-pkg-dev at openjdk.java.net], [icedtea-web], [http://icedtea.classpath.org/wiki/IcedTea-Web])
 AM_INIT_AUTOMAKE([1.9 tar-pax foreign])
 AC_CONFIG_FILES([Makefile netx.manifest])
 
diff -r a63733958565 -r 956ca57557a0 netx/net/sourceforge/jnlp/Launcher.java
--- a/netx/net/sourceforge/jnlp/Launcher.java	Mon Aug 27 15:32:08 2012 -0400
+++ b/netx/net/sourceforge/jnlp/Launcher.java	Wed Sep 05 17:54:22 2012 -0400
@@ -536,6 +536,9 @@
             try {
                 ServiceUtil.checkExistingSingleInstance(file);
             } catch (InstanceExistsException e) {
+                if (JNLPRuntime.isDebug()) {
+                    System.out.println("Single instance application is already running.");
+                }
                 return null;
             }
 
@@ -653,11 +656,17 @@
             throw launchError(new LaunchException(file, null, R("LSFatal"), R("LCClient"), R("LNotApplet"), R("LNotAppletInfo")));
 
         try {
+            ServiceUtil.checkExistingSingleInstance(file);
             AppletInstance applet = createApplet(file, enableCodeBase, cont);
             applet.initialize();
 
             applet.getAppletEnvironment().startApplet(); // this should be a direct call to applet instance
             return applet;
+        } catch (InstanceExistsException ieex) {
+            if (JNLPRuntime.isDebug()) {
+                System.out.println("Single instance applet is already running.");
+            }
+            throw launchError(new LaunchException(file, ieex, R("LSFatal"), R("LCLaunching"), R("LCouldNotLaunch"), R("LSingleInstanceExists")));
         } catch (LaunchException lex) {
             throw launchError(lex);
         } catch (Exception ex) {
@@ -673,9 +682,17 @@
             throw launchError(new LaunchException(file, null, R("LSFatal"), R("LCClient"), R("LNotApplet"), R("LNotAppletInfo")));
 
         try {
+            ServiceUtil.checkExistingSingleInstance(file);
+
             AppletInstance applet = createApplet(file, enableCodeBase, cont);
             applet.initialize();
             return applet;
+
+        } catch (InstanceExistsException ieex) {
+            if (JNLPRuntime.isDebug()) {
+                System.out.println("Single instance applet is already running.");
+            }
+            throw launchError(new LaunchException(file, ieex, R("LSFatal"), R("LCLaunching"), R("LCouldNotLaunch"), R("LSingleInstanceExists")));
         } catch (LaunchException lex) {
             throw launchError(lex);
         } catch (Exception ex) {
@@ -688,6 +705,8 @@
      * a thread in the application's thread group.
      */
     protected ApplicationInstance launchInstaller(JNLPFile file) throws LaunchException {
+        // TODO Check for an existing single instance once implemented.
+        // ServiceUtil.checkExistingSingleInstance(file);
         throw launchError(new LaunchException(file, null, R("LSFatal"), R("LCNotSupported"), R("LNoInstallers"), R("LNoInstallersInfo")));
     }
 
diff -r a63733958565 -r 956ca57557a0 netx/net/sourceforge/jnlp/resources/Messages.properties
--- a/netx/net/sourceforge/jnlp/resources/Messages.properties	Mon Aug 27 15:32:08 2012 -0400
+++ b/netx/net/sourceforge/jnlp/resources/Messages.properties	Wed Sep 05 17:54:22 2012 -0400
@@ -83,6 +83,7 @@
 LSignedJNLPFileDidNotMatch=The signed JNLP file did not match the launching JNLP file.
 LNoSecInstance=Error: No security instance for {0}. The application may have trouble continuing
 LCertFoundIn={0} found in cacerts ({1})
+LSingleInstanceExists=Another instance of this applet already exists and only one may be run at the same time.
  
 JNotApplet=File is not an applet.
 JNotApplication=File is not an application.
diff -r a63733958565 -r 956ca57557a0 netx/net/sourceforge/jnlp/services/XSingleInstanceService.java
--- a/netx/net/sourceforge/jnlp/services/XSingleInstanceService.java	Mon Aug 27 15:32:08 2012 -0400
+++ b/netx/net/sourceforge/jnlp/services/XSingleInstanceService.java	Wed Sep 05 17:54:22 2012 -0400
@@ -24,11 +24,14 @@
 import java.net.UnknownHostException;
 import java.util.LinkedList;
 import java.util.List;
+import java.util.Map.Entry;
+import java.util.Set;
 
 import javax.jnlp.SingleInstanceListener;
 import javax.management.InstanceAlreadyExistsException;
 
 import net.sourceforge.jnlp.JNLPFile;
+import net.sourceforge.jnlp.PluginBridge;
 import net.sourceforge.jnlp.runtime.JNLPRuntime;
 
 /**
@@ -104,13 +107,14 @@
      * @throws InstanceAlreadyExistsException if the instance already exists
      */
     public void initializeSingleInstance() {
-        if (!initialized) {
-            // this is called after the application has started. so safe to use
-            // JNLPRuntime.getApplication()
-            checkSingleInstanceRunning(JNLPRuntime.getApplication().getJNLPFile());
+        // this is called after the application has started. so safe to use
+        // JNLPRuntime.getApplication()
+        JNLPFile jnlpFile = JNLPRuntime.getApplication().getJNLPFile();
+        if (!initialized || jnlpFile instanceof PluginBridge) {
+            // Either a new process or a new applet being handled by the plugin.
+            checkSingleInstanceRunning(jnlpFile);
             initialized = true;
             SingleInstanceLock lockFile;
-            JNLPFile jnlpFile = JNLPRuntime.getApplication().getJNLPFile();
             lockFile = new SingleInstanceLock(jnlpFile);
             if (!lockFile.isValid()) {
                 startListeningServer(lockFile);
@@ -127,6 +131,7 @@
      * @throws InstanceExistsException if an instance of this application
      *         already exists
      */
+    @Override
     public void checkSingleInstanceRunning(JNLPFile jnlpFile) {
         SingleInstanceLock lockFile = new SingleInstanceLock(jnlpFile);
         if (lockFile.isValid()) {
@@ -134,9 +139,28 @@
             if (JNLPRuntime.isDebug()) {
                 System.out.println("Lock file is valid (port=" + port + "). Exiting.");
             }
+
+            String[] args = null;
+            if (jnlpFile.isApplet()) {
+                // FIXME Proprietary plug-in is unclear about how to handle
+                // applets and their parameters. 
+                //Right now better to forward at least something
+                Set<Entry<String, String>> currentParams = jnlpFile.getApplet().getParameters().entrySet();
+                args = new String[currentParams.size() * 2];
+                int i = 0;
+                for (Entry<String, String> entry : currentParams) {
+                    args[i] = entry.getKey();
+                    args[i+1] = entry.getValue();
+                    i += 2;
+                }
+            } else if (jnlpFile.isInstaller()) {
+                // TODO Implement this once installer service is available.
+            } else {
+                args = jnlpFile.getApplication().getArguments();
+            }
+
             try {
-                sendProgramArgumentsToExistingApplication(port, jnlpFile.getApplication()
-                        .getArguments());
+                sendProgramArgumentsToExistingApplication(port, args);
                 throw new InstanceExistsException(String.valueOf(port));
             } catch (IOException e) {
                 throw new RuntimeException(e);
diff -r a63733958565 -r 956ca57557a0 tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTest.jnlp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTest.jnlp	Wed Sep 05 17:54:22 2012 -0400
@@ -0,0 +1,60 @@
+<!--
+
+This file is part of IcedTea.
+
+IcedTea is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+IcedTea is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with IcedTea; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version.
+
+ -->
+<?xml version="1.0" encoding="utf-8"?>
+<jnlp spec="1.0" href="SingleInstanceTest.jnlp" codebase=".">
+    <information>
+        <title>SingleInstanceApplet</title>
+        <vendor>IcedTea</vendor>
+        <homepage href="http://icedtea.classpath.org/wiki/IcedTea-Web#Testing_IcedTea-Web"/>
+        <description>SingleInstanceApplet</description>
+        <offline/>
+    </information>
+    <resources>
+        <j2se version="1.4+"/>
+        <jar href="SingleInstanceServiceTest.jar"/>
+    </resources>
+    <applet-desc
+      documentBase="."
+      name="SingleInstanceChecker"
+      main-class="SingleInstanceChecker"
+      width="100"
+      height="100">
+           <param name="p1" value="v1"/>
+           <param name="p2" value="v2"/>
+    </applet-desc>
+</jnlp>
\ No newline at end of file
diff -r a63733958565 -r 956ca57557a0 tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTestWS.jnlp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTestWS.jnlp	Wed Sep 05 17:54:22 2012 -0400
@@ -0,0 +1,55 @@
+<!--
+
+This file is part of IcedTea.
+
+IcedTea is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+IcedTea is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with IcedTea; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version.
+
+ -->
+<?xml version="1.0" encoding="utf-8"?>
+<jnlp spec="1.0" href="SingleInstanceTest.jnlp" codebase=".">
+    <information>
+        <title>SingleInstanceAppletWS</title>
+        <vendor>IcedTea</vendor>
+        <homepage href="http://icedtea.classpath.org/wiki/IcedTea-Web#Testing_IcedTea-Web"/>
+        <description>SingleInstanceAppletWS</description>
+        <offline/>
+    </information>
+    <resources>
+        <j2se version="1.4+"/>
+        <jar href="SingleInstanceServiceTest.jar"/>
+    </resources>
+    <application-desc main-class="SingleInstanceChecker">
+           <argument>v7</argument>
+           <argument>v8</argument>
+    </application-desc>
+</jnlp>
\ No newline at end of file
diff -r a63733958565 -r 956ca57557a0 tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTest_clasical.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTest_clasical.html	Wed Sep 05 17:54:22 2012 -0400
@@ -0,0 +1,50 @@
+<!--
+
+This file is part of IcedTea.
+
+IcedTea is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+IcedTea is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with IcedTea; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version.
+
+-->
+<html>
+    <head></head>
+    <body>
+        <applet codebase="."
+                archive="SingleInstanceServiceTest.jar"
+                code="SingleInstanceChecker.class"
+                width="100"
+                height="100">
+            <param name="p5" value="v5"/>
+            <param name="p6" value="v6"/>
+        </applet>
+    </body>
+</html>
diff -r a63733958565 -r 956ca57557a0 tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTest_jnlpHref.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTest_jnlpHref.html	Wed Sep 05 17:54:22 2012 -0400
@@ -0,0 +1,47 @@
+<!--
+
+This file is part of IcedTea.
+
+IcedTea is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+IcedTea is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with IcedTea; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version.
+
+-->
+<html>
+    <head></head>
+    <body>
+        <applet code="SingleInstanceChecker.class" width="800" height="600">
+            <param name="jnlp_href" value="SingleInstanceTest.jnlp">
+            <param name="p3" value="v3"/>
+            <param name="p4" value="v4"/>
+        </applet>
+    </body>
+</html>
diff -r a63733958565 -r 956ca57557a0 tests/reproducers/simple/SingleInstanceServiceTest/srcs/SingleInstanceChecker.java
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/reproducers/simple/SingleInstanceServiceTest/srcs/SingleInstanceChecker.java	Wed Sep 05 17:54:22 2012 -0400
@@ -0,0 +1,158 @@
+/* SingleInstanceChecker.java
+Copyright (C) 2012 Red Hat, Inc.
+
+This file is part of IcedTea.
+
+IcedTea is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License as published by
+the Free Software Foundation, version 2.
+
+IcedTea is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with IcedTea; see the file COPYING.  If not, write to
+the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version.
+ */
+



More information about the distro-pkg-dev mailing list