[freenet-dev] Classpath vs. Sun-Java diffs

Michael Rogers m.rogers at cs.ucl.ac.uk
Sun Apr 13 09:47:27 UTC 2008


I'm used to Iterators rather than Enumerations, but doesn't modifying a 
collection invalidate any associated enumerations?

Cheers,
Michael

Sven-Ola Tücke wrote:
> Hi,
> 
> found some time to investigate the "NPE while running freenet 
> under gcj/gij/classpath" issue. The attached java snippet's output is
> different:
> 
> root at pcacer:/media/hdd/PVR/src/test# update-java-alternatives -s java-gcj > /dev/null 2>&1
> root at pcacer:/media/hdd/PVR/src/test# java Hashme
> next(-5625102382211955399)
> remove(-5625102382211955399)
> remove(-5625102382211955398)
> next(-8661044121393429580)
> next(null)
> root at pcacer:/media/hdd/PVR/src/test# update-java-alternatives -s java-6-sun > /dev/null 2>&1
> root at pcacer:/media/hdd/PVR/src/test# java Hashme
> next(-5625102382211955399)
> remove(-5625102382211955399)
> remove(-5625102382211955398)
> next(-8661044121393429580)
> 
> As a temporaray fix, the 007*.patch works.
> 
> // Sven-Ola
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl




More information about the Devl mailing list