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

The import command doesn't work for some classes

XMLWordPrintable

    • generic
    • generic
    • Not verified

      ADDITIONAL SYSTEM INFORMATION :
      19-loom+5-429

      A DESCRIPTION OF THE PROBLEM :
      For some classes, e.g. java.net.InetAddress, import doesn't work.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      in JShell, type "InetAddress", then Shift+Tab, then i

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      0: Do nothing
      1: import: java.net.InetAddress
      Choice:
      ACTUAL -
      The identifier is resolvable in this context.

      CUSTOMER SUBMITTED WORKAROUND :
      import java.net.InetAddress

      FREQUENCY : always


            adev Anupam Dev
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: