Bck2Brwsr 0.19

From APIDesign

(Difference between revisions)
Jump to: navigation, search
m (Bck2Brwsr 0.18 moved to Bck2Brwsr 0.19: Looks like I have forgotten to announce version 0.18, merge it with 0.19)
Current revision (04:44, 1 October 2021) (edit) (undo)
 
(6 intermediate revisions not shown.)
Line 1: Line 1:
-
Better support for {{JDK|java/lang/|Annotation}} - so [[good]] that [[bck2brwsr]] can now execute [[JUnit]] tests. Support for all classes from ''java.util.concurrent'' package, so [[JUnit]] runs without problems. Switching to version ''2.1.0'' for ''retrolamda''. More robust generated [[JavaScript]] file - doesn't override already defined classes. Uses version 1.3 of [[netbeans:Html4Java]] API.
+
[[Bck2Brwsr 0.19]] comes with many little improvements and one new feature: it can execute [[JUnit]] in the browser!
-
* Introducing '''vmtest.precompiled'''=<regexp> to verify that bck2brwsr generated resources are really used
+
* Better support for {{JDK|java/lang/|Annotation}} - so [[good]] that [[bck2brwsr]] can now execute [[JUnit]] tests
-
* Record name of an OSGi bundle to be used when Maven coordinates are missing
+
* Support for all classes from ''java.util.concurrent'' package, so [[JUnit]] runs without problems
-
* Don't convert Date objects to current time millis
+
* Switching to version ''2.1.0'' for [[RetroLambda]]
 +
* More robust generated [[JavaScript]] file - doesn't override already defined classes
 +
* Uses version 1.3 of [[Html4Java]] API.
 +
* Record name of an [[OSGi]] bundle to be used when [[Maven]] coordinates are missing like in [[JUnit]] case
 +
* Don't convert {{JDK|java/util|Date}} objects to current time millis
* Use '''boolean'''.valueOf() to simplify mixing of boxed and unboxed booleans
* Use '''boolean'''.valueOf() to simplify mixing of boxed and unboxed booleans
* Perform more conversions before returning [[Java]] value to [[JavaScript]] from a Java callback
* Perform more conversions before returning [[Java]] value to [[JavaScript]] from a Java callback
* '''Launcher.createBrowser''' can specify its own page
* '''Launcher.createBrowser''' can specify its own page
-
* Make sure class cast exception contains the same message as produced by JDK
+
* Make sure class cast exception contains the same message as produced by [[JDK]]
-
* Convert undefined value read from arrays into null
+
* Convert undefined value read from arrays into '''null'''
-
* Convert content of array properly before entering JavaScript
+
* Convert content of array properly before entering [[JavaScript]]
-
* Turning the VM into an OSGi bundle
+
* Turning the [[bck2brwsr]] [[VM]] into an [[OSGi]] bundle
-
* Don't include VM in '''VMTest''' initialization, let it be loaded on demand.
+
* Introducing '''vmtest.precompiled'''=<regexp> property to verify that [[bck2brwsr]] generated resources are really used
 +
* Don't include [[VM]] in '''VMTest''' initialization, let it be loaded on demand
* '''System.exit''' terminates associated launcher
* '''System.exit''' terminates associated launcher
-
* eval(@JavaScriptResource) as string to prevent double obfuscation
+
* eval({{HTML4J|net/java/html/js|JavaScriptResource}}) as string to prevent double obfuscation
* Don't report warnings when generating minified version of bck2brwsr libraries
* Don't report warnings when generating minified version of bck2brwsr libraries
 +
 +
Get the bits from the [http://repo1.maven.org/maven2/org/apidesign/bck2brwsr/rt/0.19/ Maven central repository]!

Current revision

Bck2Brwsr 0.19 comes with many little improvements and one new feature: it can execute JUnit in the browser!

  • Better support for Annotation - so good that bck2brwsr can now execute JUnit tests
  • Support for all classes from java.util.concurrent package, so JUnit runs without problems
  • Switching to version 2.1.0 for RetroLambda
  • More robust generated JavaScript file - doesn't override already defined classes
  • Uses version 1.3 of Html4Java API.
  • Record name of an OSGi bundle to be used when Maven coordinates are missing like in JUnit case
  • Don't convert Date objects to current time millis
  • Use boolean.valueOf() to simplify mixing of boxed and unboxed booleans
  • Perform more conversions before returning Java value to JavaScript from a Java callback
  • Launcher.createBrowser can specify its own page
  • Make sure class cast exception contains the same message as produced by JDK
  • Convert undefined value read from arrays into null
  • Convert content of array properly before entering JavaScript
  • Turning the bck2brwsr VM into an OSGi bundle
  • Introducing vmtest.precompiled=<regexp> property to verify that bck2brwsr generated resources are really used
  • Don't include VM in VMTest initialization, let it be loaded on demand
  • System.exit terminates associated launcher
  • eval(JavaScriptResource) as string to prevent double obfuscation
  • Don't report warnings when generating minified version of bck2brwsr libraries

Get the bits from the Maven central repository!

Personal tools
buy