JDK-4415048 : (cl) Intermittent inexplicable NoClassDefFoundError thrown
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang:class_loading
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • OS: solaris_7
  • CPU: sparc
  • Submitted: 2001-02-14
  • Updated: 2017-07-20
  • Resolved: 2017-07-20
Related Reports
Relates :  
Description
I noticed this problem running the SwingSet2 demo on Merlin b51 (actually
slightly pre-b51) on Solaris Sparc.  After tooling around all over without 
any problems, I glanced at my shell window and saw:

    java.lang.NoClassDefFoundError: java/util/Collections$SynchronizedList
            at java.util.Collections.synchronizedList(Collections.java:1706)
            at java.util.Vector.subList(Vector.java:971)
            at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(Ba
sicDirectoryModel.java:324)

Unfortunately I don't know where in the demo I was at the time this
was generated, and I wasn't able to reproduce it.

Comments
This issue was likely related to the Solaris-only interruptible I/O. This has been removed for several releases so I think we can close this bug.
20-07-2017

EVALUATION This is very likely to be the problem of interruptible IO on Solaris interacting with the asynchronous nature of class loading and developers running from "classes" instead of rt.jar. (Can't find the classloader bug right now).
03-09-2005

EVALUATION I suspect that this was a build problem or a file system problem. Withou a reproducible test case, threre's nothing we can do. joshua.bloch@Eng 2001-02-21 scott.seligman@Eng 2001-02-28 See "comments" section for additional occurrences of this bug. There were discovered independently, so a file system problem isn't likely the culprit.
28-02-2001