jaxb
  1. jaxb
  2. JAXB-945

Disable annotation processing warning in JDK8

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2.7
    • Fix Version/s: None
    • Component/s: xjc
    • Labels:
      None

      Description

      Fix this code according to JDK8:

      @Override
      public SourceVersion getSupportedSourceVersion() {
      if (SourceVersion.latest().compareTo(SourceVersion.RELEASE_6) > 0)

      { return SourceVersion.valueOf("RELEASE_7"); }

      else

      { return SourceVersion.RELEASE_6; }

      }

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Iaroslav Savytskyi
            Reporter:
            Iaroslav Savytskyi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: