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

Win32 only: Javac cannot import class files from the current directory

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.0beta2
    • CPU:
      x86
    • OS:
      windows_nt
    • Verification:
      Verified

      Description

      Win32 only: Javac cannot import class files from the current directory

      see also 1225798
      Steps to reproduce:
      Copy accompanying code into two separate files on Win32 machine,
      run javac on Kevin.java
      // note this should work fine
      run javac on Imple.java
      // Note: this is where Win32 javac has problem, Solaris is okay.

      /* Same directory dependency demo file
       * @(#)Kevin.java 1.1 Last Edited: 24 Oct 1995 17:45:33
       * @author Kevin A. Smith
       */

      public interface Kevin{
      public int getKevin();
      public void setKevin(int i);

      }

      ------------ cut here -----------------------------
      /* Same directory dependency demo file
       * @(#)Imple.java 1.1 Last Edited: 24 Oct 1995 17:45:33
       * @author Kevin A. Smith
       */

      import java.applet.Applet;
      public class Imple extends Applet implements Kevin{
      int i;

      public void setKevin(int i)
      {
      this.i = i;
      }

      public int getKevin()
      {
      return this.i;
      }
      }

        Attachments

          Activity

            People

            Assignee:
            dconnellsunw David Connelly (Inactive)
            Reporter:
            kasmithsunw Kevin Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: