Bck2Brwsr 0.50
From APIDesign
(Difference between revisions)
JaroslavTulach (Talk | contribs)
(New page: The Bck2Brwsr project has been updated to work with 2021 technologies: * Gradle task had to be updated to be compatible with 7.0 * [https://github.com/jtulach/bck2brwsr/issues/19 I...)
Next diff →
Revision as of 04:08, 18 July 2021
The Bck2Brwsr project has been updated to work with 2021 technologies:
- Gradle task had to be updated to be compatible with 7.0
- Issue 19 - support for based access control has been implemented
No more RetroLambda. Instead of RetroLambda there is now an abstract IndyHandler interface with two implementations:
- MetafactoryHandler - generates special JavaScript for recognized Java Closures
- StringConcatHandler - converts the indy based string concatenation into simple + of JavaScript strings
The removal of RetroLambda is a good thing - the system was fragile. It relied on reflection and internal behavior of JDKs. However, replacing it with homemade implementation, is a request for regressions - finding and supporting all the corner cases, is going to take some time. Please give the most recent version from the github repository some testing.
The easiest way to report an error is to enhance one of existing test-cases:
- [1] for JDK8 closure support
- NetMatesTest.java for JDK11 related functionality
Thanks in advance for helping Bck2Brwsr to get better!