-
Notifications
You must be signed in to change notification settings - Fork 75
Does there need to be a statement made about the jakarta.* namespace being inapproriate for applications? #457
Description
Based on the platform dev thread "Jakarta TCK package naming convention":
https://www.eclipse.org/lists/jakartaee-platform-dev/msg03072.html
The only statement that exists regarding restrictions around package namespace is from the Servlet specification:
15.2.1. Web Application Class Loader
Servlet containers that are part of a Jakarta EE Platform product should not allow the application to
override Java SE or Jakarta EE platform classes, such as those in java., javax., and jakarta.*
namespaces, that either Java SE or Jakarta EE do not allow to be modified.
Specs also reference the Java Language Specification which has always called out the java.* and javax.* packages as special in the terms of license section:
"... (b) does not modify, subset, superset or otherwise extend the Licensor Name Space, or include
any public or protected packages, classes, Java interfaces, fields or methods within
the Licensor Name Space other than those required/authorized by the Specification
or Specifications being implemented; ..."
The question is, does there need to be a formal statement regarding the use of the jakarta.* package namespece, and associated requirements on TCK deployments?
Related:
jakartaee/rest#1081
https://www.eclipse.org/lists/eclipselink-dev/msg08182.html