In win95 & win98 compiler gives an error if a class file is
already present. It works fine in Win2000 and WinNT.
Testing was done in JDK1.4.0beta-b10 build.
Steps to reproduce the bug:
--------------------------
1. Set path to Merlin build JDK140-b08.
2. Compile the file A.java.
3. Make sure the class file A.class is present and compile again to get the
error.
Output:
---------
>javac A.java
A.java:18: cannot access B
bad class file: C:\JDK1.4_LATEST\JRE\lib\rt.jar(java/lang/System.class)
unable to acess file: .\B.class (The process cannot access the file because
it is being used by another process)
Please remove or make sure it appears in the correct subdirectory of the
classpath.(source unavailable)
1 error
already present. It works fine in Win2000 and WinNT.
Testing was done in JDK1.4.0beta-b10 build.
Steps to reproduce the bug:
--------------------------
1. Set path to Merlin build JDK140-b08.
2. Compile the file A.java.
3. Make sure the class file A.class is present and compile again to get the
error.
Output:
---------
>javac A.java
A.java:18: cannot access B
bad class file: C:\JDK1.4_LATEST\JRE\lib\rt.jar(java/lang/System.class)
unable to acess file: .\B.class (The process cannot access the file because
it is being used by another process)
Please remove or make sure it appears in the correct subdirectory of the
classpath.(source unavailable)
1 error
- duplicates
-
JDK-4327613 Merlin-F bad class file: C:\JDK1.4F.95\JRE\lib\rt.jar(java/awt/PopupMenu.class
-
- Closed
-