This relates to #59899 and the support of Java9 which is summarized in this Spring Boot issue: https://github.com/spring-projects/spring-boot/issues/9366 Essentially, we are wondering if you would consider stop shipping JavaEE APIs and rather rely on official JAR(s). That way, we (and anyone) could apply regular build exclusion in case we are shipping it ourselves or if we want to provide a more recent version.
Fixed in: - trunk for 9.0.0.M27 onwards - 8.5.x for 8.5.21 onwards - 8.0.x for 8.0.47 onwards - 7.0.x for 7.0.82 onwards
The current solution doesn't quite meet the requirement. My current thinking is to remove the javax.ejb, javax.persistence and javax.xml.ws classes from the distributed JARS entirely. Essentially make the code that references these classes optional based on the presence of those classes - similar to the way we handle javax.mail
FWIW, the new proposal sounds good to me. I think that'll resolve the problem that we've got in Boot with the current solution.
It didn't quite make this weeks's releases. Fixed in: - trunk for 9.0.2 onwards - 8.5.x for 8.5.24 onwards - 8.0.x for 8.0.48 onwards - 7.0.x for 7.0.83 onwards