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

javac incorrectly flags deprecated for removal imports

XMLWordPrintable

    • b43
    • generic
    • generic
    • Verified

        After applying the attached patch, while compiling with the Intelij IDE or by using ant to build, javac emits errors for imports referencing Deprecated/forRemoval classes, however build the jdk images using make does not exhibit the problem. The bug here is that error at import sites cannot be
        suppressed.

        The theory is that it could be the ordering of files from returned by the filesystem, although the issue seems to be reproducible on both Windows and Linux (OEL).

              jlahoda Jan Lahoda
              ksrini Kumar Srinivasan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: