Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 17939 invoked from network); 27 Apr 2007 11:32:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Apr 2007 11:32:43 -0000 Received: (qmail 4703 invoked by uid 500); 27 Apr 2007 11:32:49 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 4682 invoked by uid 500); 27 Apr 2007 11:32:49 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 4673 invoked by uid 99); 27 Apr 2007 11:32:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 04:32:49 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 04:32:42 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D4EC771407F for ; Fri, 27 Apr 2007 04:32:21 -0700 (PDT) Message-ID: <4831222.1177673541869.JavaMail.jira@brutus> Date: Fri, 27 Apr 2007 04:32:21 -0700 (PDT) From: "Paulex Yang (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-3783) [classlib][luni] java cannot find class in a directory started with dot In-Reply-To: <2439352.1177671435683.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on 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.