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

Suppress deprecation warnings for Applet classes in java.desktop

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Resolved In Build:
      b147

      Description

      It is my intention to fix
      https://bugs.openjdk.java.net/browse/JDK-8155874

      which will resolve suppressed warnings about Class.newInstance()

      We currently are suppressing all deprecation warnings for
      the java.desktop module and my reward for not getting around
      to this quickly is to find that when Applet, AppletContext,
      AudioClip and JApplet were all deprecated this existing
      suppression hid a lot of warnings about these.
      The intention with newInstance is to fix the code .. but
      in the case of these Applet classes suppressing is the right
      answer. So first I need to fix all those before getting to newInstance

        Attachments

          Activity

            People

            Assignee:
            prr Philip Race
            Reporter:
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: