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

Compiler is Broken: rejects single-type-import declaration using a simple name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.0
    • tools
    • x86
    • windows_2000



      Name: bsC130419 Date: 06/21/2001


      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
      Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)

      Compiler does not accept single-type-import declaration using a simple name
      A very simple example as follows:


      import java.lang.Object; // acccepted no-problem
      import Other; // rejected by 1.4 compiler


      public class Fred
      {

      }
      (Review ID: 127076)
      ======================================================================

            gafter Neal Gafter (Inactive)
            bstrathesunw Bill Strathearn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: