Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8074071

Sjavac reports a deprecation error where javac doesn't

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 9
    • 9
    • 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.

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

              Created:
              Updated:
              Resolved: