X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=swingjs%2FREADME.txt;h=f45850b4951ba4972cac0d04f645f0dc3bc2cfc5;hb=665d2c2f4c1310e6985b93b7c2c8a8eec2fa9086;hp=ae9a58015272c81016c14bd0ee278d9f62c49e42;hpb=0e684f72690bd6532272a39ab6c188a27559fd09;p=jalview.git diff --git a/swingjs/README.txt b/swingjs/README.txt index ae9a580..f45850b 100644 --- a/swingjs/README.txt +++ b/swingjs/README.txt @@ -1,13 +1,8 @@ -see +The swingjs directory contains the current transpiler (net.sf.j2s.core.jar) +and the run-time core site files (SwingJS-site.zip) -https://github.com/BobHanson/java2script/blob/master/sources/net.sf.j2s.core/src/net/sf/j2s/core/astvisitors/Java2ScriptVisitor.java +In addition are version directories -- for example, ver/3.1.1 and ver/3.2.1 -for full list of changes +The second of these, ver/3.2.1, adds Java 8 functionality. -recent changes in June 2018: -// BH 6/25/2018 -- synchronized(a = new Object()) {...} ---> ...; only if an assignment or not a simple function call to Object.getTreeLock() -// BH 6/23/2018 -- synchronized(a = new Object()) {...} ---> if(!(a = new Object()) {throw new NullPointerException()}else{...} -// BH 6/21/2018 -- CharSequence.subSequence() should be defined both subSequence$I$I and subSequence -// BH 6/20/2018 -- fixes for (int var : new int[] {3,4,5}) becoming for var var -// BH 6/19/2018 -- adds .j2s j2s.class.replacements=org.apache.log4j.->jalview.javascript.log4j.;