Sjavac reports a deprecation error where javac doesn't

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: tools

      Sjavac outputs errors such as the following:

      warning: [deprecation] XYZ in some.package has been deprecated
      import static some.package.SomeEnum.INVALID_PERIOD;

      while invoking javac directly doesn't. The strange part is that this error comes from javac, so there seems to be some difference between invoking javac through the API and through the command line.

            Assignee:
            Andreas Lundblad (Inactive)
            Reporter:
            Andreas Lundblad (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: