Move compiler to a separate module #1700
Labels
embedding Rhino
Issues related to enbedding Rhino
enhancement
Java Interop
Issues related to the interaction between Java and JavaScript
Potentially Breaking Change
Issues that could break backwards compatibility
It would not be difficult move the compiler -- all the stuff that generates bytecode and executes it -- to a separate Java module. We could use the ServiceLoader pattern to load it, so that there would be no configuration require other than putting it in the classpath.
We could also take this opportunity to clean up the "optimization mode" concept -- perhaps take it out and make it effectively a boolean that defaults to true if the compiler is present.
Advantages:
Disadvantages:
The text was updated successfully, but these errors were encountered: