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

Suppress removal warnings for Security Manager methods in iOS sources

XMLWordPrintable

    • b08

      Follow-up of JDK-8264139, but for the iOS sources in the javafx.web module.

      Currently the warnings are considered as errors (-Werror is specified), and compilation fails:

      > Task :web:compileJava FAILED
      .../modules/javafx.web/src/ios/java/javafx/scene/web/HTMLEditorSkin.java:826: warning: [removal] AccessController in java.security has been deprecated and marked for removal
              Image icon = AccessController.doPrivileged(new PrivilegedAction<Image>() {
                           ^
      error: warnings found and -Werror specified
      ...
      1 error
      9 warnings
      ...

      The current workaround to avoid the error is using -PdisableJavacWerror=false.

            jpereda Jose Pereda
            jpereda Jose Pereda
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: