|
|
601ad1 |
# HG changeset patch
|
|
|
601ad1 |
# User Jiri Vanek <jvanek@redhat.com>
|
|
|
601ad1 |
# Date 1526310938 -7200
|
|
|
601ad1 |
# Mon May 14 17:15:38 2018 +0200
|
|
|
601ad1 |
# Node ID bcbef8d7bbd6369b3c8d545469e1c56e47075d9d
|
|
|
601ad1 |
# Parent 4abd0f0897738289a19ef9238f02c6e9dafee6a4
|
|
|
601ad1 |
AppletEnvironment.java: getDocumentBase no returns codeBase as fallback when documentBase is null.
|
|
|
601ad1 |
Oracle Applications R12, Oracle Forms Java Webstart application is requesting getDocumentBase where it shouldn't, however they refuse to modify their code and add ITW to supported platforms
|
|
|
601ad1 |
|
|
|
601ad1 |
diff -r 4abd0f089773 -r bcbef8d7bbd6 ChangeLog
|
|
|
601ad1 |
--- a/ChangeLog Fri Mar 02 10:41:29 2018 +0100
|
|
|
601ad1 |
+++ b/ChangeLog Mon May 14 17:15:38 2018 +0200
|
|
|
601ad1 |
@@ -1,3 +1,9 @@
|
|
|
601ad1 |
+2018-05-14 Jiri Vanek <jvanek@redhat.com>
|
|
|
601ad1 |
+
|
|
|
601ad1 |
+ * netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java: getDocumentBase now returns codeBase as fallback when
|
|
|
601ad1 |
+ documentBase is null. Oracle Applications R12, Oracle Forms Java Webstart application is requesting getDocumentBase
|
|
|
601ad1 |
+ where it shouldn't, however they refuse to modify their code and add ITW to supported platforms
|
|
|
601ad1 |
+
|
|
|
601ad1 |
2018-02-06 Jiri Vanek <jvanek@redhat.com>
|
|
|
601ad1 |
|
|
|
601ad1 |
Added test for javafx-desc
|
|
|
601ad1 |
diff -r 4abd0f089773 -r bcbef8d7bbd6 netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java
|
|
|
601ad1 |
--- a/netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java Fri Mar 02 10:41:29 2018 +0100
|
|
|
601ad1 |
+++ b/netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java Mon May 14 17:15:38 2018 +0200
|
|
|
601ad1 |
@@ -375,8 +375,12 @@
|
|
|
601ad1 |
@Override
|
|
|
601ad1 |
public URL getDocumentBase() {
|
|
|
601ad1 |
checkDestroyed();
|
|
|
601ad1 |
-
|
|
|
601ad1 |
- return file.getApplet().getDocumentBase();
|
|
|
601ad1 |
+ URL db = file.getApplet().getDocumentBase();
|
|
|
601ad1 |
+ if (db == null) {
|
|
|
601ad1 |
+ return getCodeBase();
|
|
|
601ad1 |
+ } else {
|
|
|
601ad1 |
+ return db;
|
|
|
601ad1 |
+ }
|
|
|
601ad1 |
}
|
|
|
601ad1 |
|
|
|
601ad1 |
// FIXME: Sun's applet code forces all parameters to lower case.
|