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

Remove unused imports in java.corba, java.jaxws, jdk.httpserver

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: other-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b53

      Backports

        Description

        diff --git a/src/java.corba/share/classes/javax/rmi/CORBA/GetORBPropertiesFileAction.java b/src/java.corba/share/classes/javax/rmi/CORBA/GetORBPropertiesFileAction.java
        --- a/src/java.corba/share/classes/javax/rmi/CORBA/GetORBPropertiesFileAction.java
        +++ b/src/java.corba/share/classes/javax/rmi/CORBA/GetORBPropertiesFileAction.java
        @@ -43,7 +43,6 @@
         
         import java.security.AccessController;
         import java.security.PrivilegedAction;
        -import sun.security.action.GetPropertyAction;
         import java.util.Properties;
         
         class GetORBPropertiesFileAction implements PrivilegedAction {

        Redundant import sun.net.www.MessageHeader; found in a few files in jdk.httpserver.

        diff --git a/src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpExchange.java b/src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpExchange.java
        --- a/src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpExchange.java
        +++ b/src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpExchange.java
        @@ -31,7 +31,6 @@
         import java.net.*;
         import javax.net.ssl.*;
         import java.util.*;
        -import sun.net.www.MessageHeader;
         
         /**
          * This class encapsulates a HTTP request received and a

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mchung Mandy Chung
                  Reporter:
                  mchung Mandy Chung
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: