The package program can not import which is not Java class libraly.

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P2
    • None
    • Affects Version/s: 1.4.0
    • Component/s: tools
    • generic
    • generic


      The package program can not import which does not belong to java class libraly.

      Tested with merlin build 1.4beta-B52 on Solaris sparc/x86, RedHatLinux6.2J
      and WindowsNT4.0.
      The phenomenon occur from 1.4beta-B51.

      ---Execution and result.
      %javac TestA.java
      TestA.java:1: '.' expected
      import TestB;
                  ^
      1 error

      ------------------------


      ======Executed program======

      TestA.java ----------------------
      import TestB;

      public class TestA extends TestB

      {
      };
      ---------------------------------

      TestB.java ---------------------

      import java.awt.*;

      public class TestB extends java.awt.Frame
      {
      };
      ---------------------------------

            Assignee:
            Neal Gafter (Inactive)
            Reporter:
            Kichi Kichi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: