Details
Details
Assignee
Unassigned
UnassignedReporter
Brad Wood
Brad WoodLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Priority
Created 15 October 2018 at 23:44
Updated 19 May 2021 at 12:00
Lucee's JSR-223 doesn't support javax.script.Compilable interface
https://docs.oracle.com/javase/7/docs/api/javax/script/Compilable.html
The java docs say that the javax.script.Compilable interface is optional but I've run into Java libraries made to work with JSR-223 libraries that appear to assume that the Compilable interface will be supported and this means Lucee won't work with those libraries.
One such Java library is:
https://github.com/fiber-space/jupyter-kernel-jsr223
You can see how it tries to use the scripting engine here:
https://github.com/fiber-space/jupyter-kernel-jsr223/blob/master/src/main/java/org/jupyterkernel/console/InteractiveConsole.java#L119
Even though CFML is JIT, perhaps just provide an empty implementation that does nothing but store the CFML to execute.