update for support of modern JDKs #113
Reference in New Issue
Block a user
Delete Branch "fabrice-ducos/master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The official luaj repository still relies on very old versions of Java and JDK (<= 1.4). It supports JSE (Java Standard Edition) and JME (Java Micro Edition, for embedded Java).
For personal needs, I have updated it to modern versions of Java (8+) and JDK in this fork. The fork has been tested successfully on several modern operating systems (Windows 10, Linux Ubuntu 21.04, MacOSX Monterey 12.6).
Unfortunately, because of limitations of JME (generics are not, and probably will never be implemented in JME, as well as StringBuilder that is now required for concatenation of strings in modern Java), the support of JME had to be removed from the fork. The code for JME is still there (and it is possible to try to compile it optionally, but it will likely not pass) and is not planned to be removed in the near future.
JME is not actively developed anymore by Oracle and should be considered a legacy technology.
This pull request is provided as is, in the hope it might be useful for the maintainers of the official luaj repo. However, since the support of JME has been dropped in the fork (at least temporarily), they may consider not integrating these changes. This will be at the cost of staying at obsolete versions of Java (< 5).
Updated to Java 25
Pull request closed