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;
}
}
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;
}
}