https://bz.apache.org/bugzilla/show_bug.cgi?id=58271

--- Comment #2 from [email protected] ---
(In reply to Stefan Bodewig from comment #1)
> Are you experiencing any problem with the current approach?

Hi, I am working on jdk9. The behaviour of ClassLoader.getResource is expected
to change in the modular ("jigsaw") jdk9
(http://openjdk.java.net/projects/jigsaw/). Retrieving .class resource URL from
a named module will not work as expected.

Given that there is cleaner alternative - namely reflection API, it is better
to use java reflection to check javax.script.ScriptEngineManager exists or not
in the JDK configured. Is there any particular reason why this
ClassLoader.getResource is preferred? If so, please let me know.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to