JDK-4884673 : Can't find class which is in the classpath problem using javac
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 1.4.0_02
  • Priority: P3
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: solaris_8
  • CPU: sparc
  • Submitted: 2003-06-26
  • Updated: 2003-10-23
  • Resolved: 2003-10-23
Related Reports
Relates :  
Relates :  
Relates :  
Description
I'm not actually getting a NPE, but I am able to reproduce the problem reported in bug 4401373.  I'm using jdk 1.4.0_02 on Solaris with ant 1.4.1.  I was told to file a new bug if it was reproducible in 1.4.  Here's my output:
    [javac] <mypath>/MyJavaFile.java:286: cannot access org.openide.util.Task
    [javac] file org/openide/util/Task.class not found
    [javac]             public ActionLoaderFolder (final DataFolder folder)
    [javac]                                                  ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 1 error

Comments
PUBLIC COMMENTS ...
10-06-2004

EVALUATION Crashes are very bad. ###@###.### 2003-09-05 Please attach a test case. ###@###.### 2003-09-29 The submitter reports that the synopsis is incorrect - there is no exception from the compiler. ###@###.### 2003-10-08 The submitter reports that the problem appears to be resolved in 1.4.2. Since 1.4.0 is no longer supported, and 1.4.1 is about to produce its last patch, I recommend they move to 1.4.2. I'm closing as "could not reproduce" (its the closest status to the situation of not being reproducible in recent products). ###@###.### 2003-10-22 This looks like a symptom of 4491755. I suspect the problem can occur in 1.4.1 as well but will require a different test case. Because the attached test case contains dependencies on external jar files, it is unlikely we can depend on using it at some possibly distant future time. 4491755 was the first of a string of problems that I'm now fixing the last of (4929871). ###@###.### 2003-10-23
23-10-2003