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

Enable -Werror for javac tasks to fail on any warnings

XMLWordPrintable

    • b24

      After we have enabled a default set of lint options, and have no other javac warnings, we should enable -Werror when running javac. Currently we can't do that for all modules, because of the use of sun.misc.Unsafe by Marlin, so enabling this globally is blocked by JDK-8334137.

      We can probably enable it for all other modules, and disable it just for graphics, and then enable it for graphics as part of JDK-8334137.

            kcr Kevin Rushforth
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: