-
Bug
-
Resolution: Fixed
-
P2
-
1.3.1, 1.4.0
-
ladybird
-
generic, sparc
-
generic, solaris_7, solaris_8
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2038581 | 1.4.0 | Alan Bateman | P2 | Resolved | Fixed | beta |
Tested with ladybird build 1.3.1ea-b07 on Japanese Solaris Sparc7 or 8 and WinNT.
java.exe throws NoClassDefFoundError when user.dir includes Japanese name.
Source for reproducing the problem:
______________________________________________________________________________
public class test {
static void main(String args[]) {
System.out.println("test");
}
}
______________________________________________________________________________
To reproduce,
1. Create a enviroment which user.dir includes Japanese directory.
2. Create "test.java" including the source above.
Put test.java under the enviroment created by step 1.
3. Compile test.java.
4. Excute test.
Then, "Exception in thread "main" java.lang.NoClassDefFoundError: test" is displayed in terminal.
On the other hand, if you excute Step2~4 when user.dir does not includes Japnese directory, the proper result is got.
For example, if you excute "Dir" under the direcoty /home/tokunaga/dirtest/, the result is as follows;
Cwd from property:/home/tokunaga/dirtest
Cwd by canonicalization:/home/tokunaga/dirtest
- backported by
-
JDK-2038581 java throws NoClassDefFoundError when the user.dir includes Japanese.
- Resolved
- relates to
-
JDK-4379298 java.exe throws java.lang.NoClassDefFoundError[merlin B36 on windows platform]
- Closed