Could someone possibly look into this bug and see about fixing it, or getting jX4 up and running with Japhar/Classpath?
On 12 Mar 1999, Paul Fisher wrote: > Ross Mellgren <[EMAIL PROTECTED]> writes: > > > I cvs checkout'd classpath, and pulled out the collections stuff, > > because that's the major part of what I use from JDK1.2. It > > compiles, but throws a ConcurrentModificationException. > > Could you possibly track down this bug for us or send in a small > snippet of code that shows off the bug to <[EMAIL PROTECTED]>? > > Does jX4 rely on any of the AWT classes, or other portions of > Classpath that are still unfinished, such as RMI? Uh sure. I'm only using the Collections stuff from classpath (java.lang.Comparable, java.lang.UnsupportedOperationException and alot >from java.util). But the problem stack trace is: java.util.ConcurrentModificationException at java.util.LinkedList$1.checkMod(LinkedList.java:106) at java.util.LinkedList$Iter.hasNext(LinkedList.java:185) at java.util.AbstractCollection.contains(AbstractCollection.java:128) at jx4.JX4.addLogBackend(JX4.java:108) at jx4.Bootstrapper.run(Bootstrapper.java:125) at jx4.JX4.main(JX4.java:80) BTW, my copy of the Collections stuff that I use, I disabled the serialization stuff in java.util.HashMap, and also changed the r.nextInt(i.nextIndex()) thing in Collections.shuffle to r.nextInt() % i.nextIndex() The break occurs on: public void checkMod(int known) { if (known < modCount) { throw new ConcurrentModificationException(); } } There are no changes to my code that fails that are pertinent to this. I can't send you a snippet of the code, because it involves a good portion of the bootstrap code for jX4. You can download the source for jX4 yourself from ftp://x4.dridus.com/pub/jx4/latest-engine-src.tar.gz if you want and check it out. Thanks, ========================================================================= Ross Mellgren, a.k.a. Dridus (/Dry-duhs/) [EMAIL PROTECTED], [EMAIL PROTECTED], ICQ 413389, http://www.dridus.com/~rmm =========================================================================

