Revision: 20399
          http://sourceforge.net/p/jmol/code/20399
Author:   hansonr
Date:     2015-03-21 20:51:31 +0000 (Sat, 21 Mar 2015)
Log Message:
-----------


Modified Paths:
--------------
    trunk/Jmol/src/org/jmol/viewer/Jmol.properties
    trunk/Jmol/srcjs/java/net/URL.java

Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties
===================================================================
--- trunk/Jmol/src/org/jmol/viewer/Jmol.properties      2015-03-21 02:23:40 UTC 
(rev 20398)
+++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties      2015-03-21 20:51:31 UTC 
(rev 20399)
@@ -14,8 +14,12 @@
 
 TODO: remove HTML5 dependency on synchronous file loading (check SCRIPT 
command for problems)
 
-Jmol.___JmolVersion="14.3.13_2015.03.20b"
+Jmol.___JmolVersion="14.3.13_2015.03.21"
 
+bug fix: JmolVersion="14.3.13_2015.03.20b" broke JSmol due to error in coding 
URL.js
+
+JmolVersion="14.3.13_2015.03.20b"
+
 bug fix: popup menu Symmetry broken
 bug fix: PDB reader does not save unit cell on simple load
 

Modified: trunk/Jmol/srcjs/java/net/URL.java
===================================================================
--- trunk/Jmol/srcjs/java/net/URL.java  2015-03-21 02:23:40 UTC (rev 20398)
+++ trunk/Jmol/srcjs/java/net/URL.java  2015-03-21 20:51:31 UTC (rev 20399)
@@ -512,7 +512,9 @@
 //    public URL(String protocol, String host, int port, String file, 
URLStreamHandler handler)
 
       /**
-       * key is that we want to have only one constructor 
+       * key is that we want to have only one constructor
+       * 
+       * subtle J2S bug here in that passing (URL)null does not actually pass 
a value that == null 
        *
        * @j2sNative
        * 
@@ -524,13 +526,13 @@
        *   handler = null;
        *   break;
        * case 3:
-       * if (context == null || context && context.getValue() == null || 
Clazz.instanceOf(context, java.net.URL))
+       * if (context == null || Clazz.instanceOf(context, java.net.URL))
        *   break;
        * default:
        *   alert("java.net.URL constructor format not supported");
        *   break;
        * }
-       * if (context && context.getValue() == null)
+       * if (context && context.valueOf() == null)
        *   context = null;
        * 
        */

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Jmol-commits mailing list
Jmol-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to