You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ivan Popov (JIRA)" <ji...@apache.org> on 2007/04/27 12:57:15 UTC
[jira] Created: (HARMONY-3783) [classlib][luni] java cannot find
class in a directory started with dot
[classlib][luni] java cannot find class in a directory started with dot
-----------------------------------------------------------------------
Key: HARMONY-3783
URL: https://issues.apache.org/jira/browse/HARMONY-3783
Project: Harmony
Issue Type: Bug
Components: Classlib
Environment: Windows/x86, Harmony-jdk-r532975
Reporter: Ivan Popov
Priority: Critical
If you put HelloWorld.class to a directory started with dot, e.g., .xxx and run java, it will result in NoClassDefFaulndError.
> ls .xxx
HelloWorld.class
> ...\jdk\jre\bin\java.exe -cp .xxx HelloWorld
Uncaught exception in main:
java.lang.NoClassDefFoundError: HelloWorld
Caused by: java.lang.ClassNotFoundException: HelloWorld
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:554)
at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:942)
at java.lang.ClassLoader.loadClass(ClassLoader.java:311)
FAILED to invoke JVM.
If you copy .xxx to xxx, it will be found successfully:
> cp -r .xxx xxx
> ls xxx
HelloWorld.class
> ...\jdk\jre\bin\java.exe -cp .xxx HelloWorld
Hello
It seems causing problems with starting Eclipse on the latest Harmony builds, so I'm marking this bug as critical.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3783) [classlib][luni] java cannot find
class in a directory started with dot
Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Petrenko updated HARMONY-3783:
-------------------------------------
Priority: Blocker (was: Critical)
> [classlib][luni] java cannot find class in a directory started with dot
> -----------------------------------------------------------------------
>
> Key: HARMONY-3783
> URL: https://issues.apache.org/jira/browse/HARMONY-3783
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Windows/x86, Harmony-jdk-r532975
> Reporter: Ivan Popov
> Assigned To: Alexey Petrenko
> Priority: Blocker
>
> If you put HelloWorld.class to a directory started with dot, e.g., .xxx and run java, it will result in NoClassDefFaulndError.
> > ls .xxx
> HelloWorld.class
> > ...\jdk\jre\bin\java.exe -cp .xxx HelloWorld
> Uncaught exception in main:
> java.lang.NoClassDefFoundError: HelloWorld
> Caused by: java.lang.ClassNotFoundException: HelloWorld
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:554)
> at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:942)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:311)
> FAILED to invoke JVM.
> If you copy .xxx to xxx, it will be found successfully:
> > cp -r .xxx xxx
> > ls xxx
> HelloWorld.class
> > ...\jdk\jre\bin\java.exe -cp .xxx HelloWorld
> Hello
> It seems causing problems with starting Eclipse on the latest Harmony builds, so I'm marking this bug as critical.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HARMONY-3783) [classlib][luni] java cannot find
class in a directory started with dot
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paulex Yang reassigned HARMONY-3783:
------------------------------------
Assignee: Paulex Yang (was: Alexey Petrenko)
> [classlib][luni] java cannot find class in a directory started with dot
> -----------------------------------------------------------------------
>
> Key: HARMONY-3783
> URL: https://issues.apache.org/jira/browse/HARMONY-3783
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Windows/x86, Harmony-jdk-r532975
> Reporter: Ivan Popov
> Assigned To: Paulex Yang
> Priority: Blocker
>
> If you put HelloWorld.class to a directory started with dot, e.g., .xxx and run java, it will result in NoClassDefFaulndError.
> > ls .xxx
> HelloWorld.class
> > ...\jdk\jre\bin\java.exe -cp .xxx HelloWorld
> Uncaught exception in main:
> java.lang.NoClassDefFoundError: HelloWorld
> Caused by: java.lang.ClassNotFoundException: HelloWorld
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:554)
> at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:942)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:311)
> FAILED to invoke JVM.
> If you copy .xxx to xxx, it will be found successfully:
> > cp -r .xxx xxx
> > ls xxx
> HelloWorld.class
> > ...\jdk\jre\bin\java.exe -cp .xxx HelloWorld
> Hello
> It seems causing problems with starting Eclipse on the latest Harmony builds, so I'm marking this bug as critical.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HARMONY-3783) [classlib][luni] java cannot find
class in a directory started with dot
Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Petrenko reassigned HARMONY-3783:
----------------------------------------
Assignee: Alexey Petrenko
> [classlib][luni] java cannot find class in a directory started with dot
> -----------------------------------------------------------------------
>
> Key: HARMONY-3783
> URL: https://issues.apache.org/jira/browse/HARMONY-3783
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Windows/x86, Harmony-jdk-r532975
> Reporter: Ivan Popov
> Assigned To: Alexey Petrenko
> Priority: Critical
>
> If you put HelloWorld.class to a directory started with dot, e.g., .xxx and run java, it will result in NoClassDefFaulndError.
> > ls .xxx
> HelloWorld.class
> > ...\jdk\jre\bin\java.exe -cp .xxx HelloWorld
> Uncaught exception in main:
> java.lang.NoClassDefFoundError: HelloWorld
> Caused by: java.lang.ClassNotFoundException: HelloWorld
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:554)
> at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:942)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:311)
> FAILED to invoke JVM.
> If you copy .xxx to xxx, it will be found successfully:
> > cp -r .xxx xxx
> > ls xxx
> HelloWorld.class
> > ...\jdk\jre\bin\java.exe -cp .xxx HelloWorld
> Hello
> It seems causing problems with starting Eclipse on the latest Harmony builds, so I'm marking this bug as critical.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HARMONY-3783) [classlib][luni] java cannot find
class in a directory started with dot
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paulex Yang resolved HARMONY-3783.
----------------------------------
Resolution: Fixed
Patch for Harmony-3656 reverted at r533069, please verify if the issue still exists, thanks.
> [classlib][luni] java cannot find class in a directory started with dot
> -----------------------------------------------------------------------
>
> Key: HARMONY-3783
> URL: https://issues.apache.org/jira/browse/HARMONY-3783
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Windows/x86, Harmony-jdk-r532975
> Reporter: Ivan Popov
> Assigned To: Paulex Yang
> Priority: Blocker
>
> If you put HelloWorld.class to a directory started with dot, e.g., .xxx and run java, it will result in NoClassDefFaulndError.
> > ls .xxx
> HelloWorld.class
> > ...\jdk\jre\bin\java.exe -cp .xxx HelloWorld
> Uncaught exception in main:
> java.lang.NoClassDefFoundError: HelloWorld
> Caused by: java.lang.ClassNotFoundException: HelloWorld
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:554)
> at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:942)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:311)
> FAILED to invoke JVM.
> If you copy .xxx to xxx, it will be found successfully:
> > cp -r .xxx xxx
> > ls xxx
> HelloWorld.class
> > ...\jdk\jre\bin\java.exe -cp .xxx HelloWorld
> Hello
> It seems causing problems with starting Eclipse on the latest Harmony builds, so I'm marking this bug as critical.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-3783) [classlib][luni] java cannot find
class in a directory started with dot
Posted by "Ivan Popov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Popov closed HARMONY-3783.
-------------------------------
This bug was fixed, closing this issue.
> [classlib][luni] java cannot find class in a directory started with dot
> -----------------------------------------------------------------------
>
> Key: HARMONY-3783
> URL: https://issues.apache.org/jira/browse/HARMONY-3783
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Windows/x86, Harmony-jdk-r532975
> Reporter: Ivan Popov
> Assignee: Paulex Yang
> Priority: Blocker
>
> If you put HelloWorld.class to a directory started with dot, e.g., .xxx and run java, it will result in NoClassDefFaulndError.
> > ls .xxx
> HelloWorld.class
> > ...\jdk\jre\bin\java.exe -cp .xxx HelloWorld
> Uncaught exception in main:
> java.lang.NoClassDefFoundError: HelloWorld
> Caused by: java.lang.ClassNotFoundException: HelloWorld
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:554)
> at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:942)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:311)
> FAILED to invoke JVM.
> If you copy .xxx to xxx, it will be found successfully:
> > cp -r .xxx xxx
> > ls xxx
> HelloWorld.class
> > ...\jdk\jre\bin\java.exe -cp .xxx HelloWorld
> Hello
> It seems causing problems with starting Eclipse on the latest Harmony builds, so I'm marking this bug as critical.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.