Open bpcrao opened 5 years ago
Piranha uses a custom classloader, so it doesn't work with it either
I added the context attribute org.glassfish.wasp.useMultiJarScanAlgo
which selects the more powerful scanner as of https://github.com/eclipse-ee4j/wasp/commit/566ac7dd0a65d819dc05e5ef3c9d522ec124304b. I tested this with JDK 15 and the latest Piranha, and there it works now.
@bpcrao can you test if this also works for you know, if you're still interested in this after all this time.
Next to the more powerful scanner we could also provide an additional SPI for the scanning.
The system tlds are skipped in few scenarios the only option is the class loader has to be URLClassLoader which is not the case is Java 11 and hence fails
https://stackoverflow.com/questions/55031222/java-11-tldscanner-not-loading-system-tlds