Support for JAXB helper classes in Link should be made optional by the spec for environments that support JAXB
Open
@glassfishrobot is already working on this.
Since Feb 10, 2018.
Component: hypermedia
Component: spec
- Dominant language
- Java
- Stars
- 400
- Forks
- 143
- PR merge metrics
- No merged PRs in 30d
Description
JDK 8 will introduce profiles, where some of them will not contain JAXB support. It would be good to update spec formulation to require JAXB support only in profiles where JAXB is available. This also impacts the 2 inner clases of Link API class. The new limitation should be reflected in their javadoc. no other changes should be required as JLS 13.5.7 seems to cover this issue by stating that annotations not present are ignored by runtime. See:
http://stackoverflow.com/questions/3567413/why-doesnt-a-missing-annotation-cause-a-classnotfoundexception-at-runtime
Affected Versions
[2.0]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.