Closed afloarea closed 3 months ago
@kwwall see https://github.com/OWASP/owasp-java-encoder/pull/77 - does ESAPI have a java 9 module name we need to add a requires for?
@kwwall see #77 - does ESAPI have a java 9 module name we need to add a requires for?
@jeremylong - Sorry for the late reply. I was AFKB over the weekend to attend a funeral. ESAPI supports JDK 8 as the minimal JDK, so we didn't think it made sense to specify a module-info.java and a module name. So, no; there is nothing you need to add for ESAPI.
Hello,
I have tried using the core encoder in a project with java9+ modules but the automatic module name is missing from the jar manifest, version 1.2.3, (even though I saw some configuration in the pom.xml for the automatic module name manifest entry):
Extra: Have you considered using multi-release jars to include module-info.java file for java9+? It seems straightforward (for the core subproject at least) since it only has 1 package and no dependencies (and requires using a jdk9+). I might be missing something regarding OSGi though. Diff
In any case, thank you for maintaning this project.