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

suppress deprecation warnings in sun.rmi

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b103
    • Verification:
      Verified

      Description

      The sun.rmi package has a bunch of deprecation warnings that need to be cleaned up.

        Activity

        Hide
        smarks Stuart Marks added a comment -
        Several RMI interfaces that are essentially internal appear in the public API. They've been deprecated because they're not intended to be used by applications. For example, see java.rmi.server.RemoteCall. So, add warnings suppression to the RMI classes that use these interfaces. This will remove the warnings from most (but not all) uses of these interfaces. However, it will not remove warnings from import lines that mention these interfaces.
        Show
        smarks Stuart Marks added a comment - Several RMI interfaces that are essentially internal appear in the public API. They've been deprecated because they're not intended to be used by applications. For example, see java.rmi.server.RemoteCall. So, add warnings suppression to the RMI classes that use these interfaces. This will remove the warnings from most (but not all) uses of these interfaces. However, it will not remove warnings from import lines that mention these interfaces.
        Hide
        smarks Stuart Marks added a comment -
        Not adding warnings suppression to HttpInputStream because that file uses DataInputStream.readLine, which is deprecated, but which should probably be replaced with a call to BufferedReader.readLine using a specific charset (probably "US-ASCII").
        Show
        smarks Stuart Marks added a comment - Not adding warnings suppression to HttpInputStream because that file uses DataInputStream.readLine, which is deprecated, but which should probably be replaced with a call to BufferedReader.readLine using a specific charset (probably "US-ASCII").
        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/31e923842d49
        User: smarks
        Date: 2013-08-06 21:20:10 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/31e923842d49 User: smarks Date: 2013-08-06 21:20:10 +0000
        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/31e923842d49
        User: lana
        Date: 2013-08-13 18:14:45 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/31e923842d49 User: lana Date: 2013-08-13 18:14:45 +0000

          People

          • Assignee:
            smarks Stuart Marks
            Reporter:
            smarks Stuart Marks
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: