jax-rs-spec
  1. jax-rs-spec
  2. JAX_RS_SPEC-397

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

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: hypermedia, spec
    • Labels:
      None

      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

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Marek Potociar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: