jakartaee / jakartaee/rest

Support for JAXB helper classes in Link should be made optional by the spec for environments that support JAXB

Open
#402 3 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.