3 ms·
Very nice, thank you for taking this on! A few questions; the implication here is that ecj does not export the Java compiler api, is that correct? How do j2ee c
by le-mark 3y ago
Very nice, thank you for taking this on! A few questions; the implication here is that ecj does not export the Java compiler api, is that correct? How do j2ee components that require compilation (jsp )handle the “—add-open” requirement?
- kohlschuetter 3y agoThere's actually a public Java SDK module, javax.compiler, which Java compiler implementations (including ECJ) are supposed to use, so users can call them via Service Provider Interface. In Java 8, Oracle called javac's AST parser code the "Compiler Tree API", but that's now degraded to mere implementaton-specifics of the internal "jdk.compiler" module.