On Sun, Oct 17, 2010 at 4:01 PM, Jörg Schaible <joerg.schai...@gmx.de> wrote: > Hi Niall, > > Niall Pemberton wrote: > >> I have prepared Commons IO 2.0 RC5. The main changes since RC4 was to >> rename the FilesystemObserver/Monitor to >> FileAlterationObserver/Monitor and improvements to the test coverage. >> >> The RC3 changes were improvements to some tests which were causing >> intermittent failures in Gump & Continuum and JavaDoc improvements. >> For details about Continuum builds/failures, see: >> http://people.apache.org/~niallp/io-2.0/IOFailures.html >> >> The distro is here: >> http://people.apache.org/~niallp/io-2.0-rc5/ >> >> Release Notes: >> http://people.apache.org/~niallp/io-2.0-rc5/RELEASE-NOTES.txt >> >> Site: >> http://people.apache.org/~niallp/io-2.0-rc5/site/ >> >> Maven Stuff: >> http://people.apache.org/~niallp/io-2.0-rc5/maven/ >> >> Some Notes: >> >> * There is one error on the clirr report - which is a false positive >> (a generic method that is erased) >> http://people.apache.org/~niallp/io-2.0-rc4/site/clirr-report.html >> * Links to the JavaDoc versions on the site don't work (they will when >> its deployed to the right location) > > > The Sun JDKs and OpenJDK are fine, however the IMB JDKs make problems. IBM > JDK 1.5 does not like the OOME handling in the FileCleanerTestCase and > FileCleanerTrackingTestCase, while IBM JDK 1.6 has problems with the > WriterOutputStream handling UTF16.
Hi Jörg, Thanks for testing - I logged a JIRA issue for this and put the details in that ticket: https://issues.apache.org/jira/browse/IO-253 The short summary is that I believe the WriterOutputStream failure is a bug in IBM's JDK 1.6 and the memory problems with FileCleanerTrackingTestCase I can't investigate because I don't have access to IBM JDK 1.5 - but I believe this is an issue in the test rather than in FileCleanerTracking. It would be nice for these tests to pass on IBM's JDKs - but I don't think it should block the release of Commons IO 2.0. Niall > - Jörg > > > java version "1.5.0" > Java(TM) 2 Runtime Environment, Standard Edition (build pxa64dev-20100813 > (SR12 FP1 )) > IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux amd64-64 > j9vmxa6423-20100808 (JIT enabled) > J9VM - 20100629_60535_LHdSMr > JIT - 20100623_16197_r8 > GC - 20100211_AA) > JCL - 20100813 > ------------------------- > Running org.apache.commons.io.FileCleanerTestCase > JVMDUMP006I Processing dump event "systhrow", detail > "java/lang/OutOfMemoryError" - please wait. > JVMDUMP032I JVM requested Snap dump using > '/home/joehni/tmp/download/commons-io-2.0- > src/Snap.20101017.162310.29777.0001.trc' in response to an event > JVMDUMP010I Snap dump written to /home/joehni/tmp/download/commons-io-2.0- > src/Snap.20101017.162310.29777.0001.trc > JVMDUMP032I JVM requested Heap dump using > '/home/joehni/tmp/download/commons-io-2.0- > src/heapdump.20101017.162310.29777.0002.phd' in response to an event > JVMDUMP010I Heap dump written to /home/joehni/tmp/download/commons-io-2.0- > src/heapdump.20101017.162310.29777.0002.phd > JVMDUMP032I JVM requested Java dump using > '/home/joehni/tmp/download/commons-io-2.0- > src/javacore.20101017.162310.29777.0003.txt' in response to an event > JVMDUMP010I Java dump written to /home/joehni/tmp/download/commons-io-2.0- > src/javacore.20101017.162310.29777.0003.txt > JVMDUMP013I Processed dump event "systhrow", detail > "java/lang/OutOfMemoryError". > JVMDUMP006I Processing dump event "systhrow", detail > "java/lang/OutOfMemoryError" - please wait. > JVMDUMP032I JVM requested Snap dump using > '/home/joehni/tmp/download/commons-io-2.0- > src/Snap.20101017.162311.29777.0004.trc' in response to an event > JVMDUMP010I Snap dump written to /home/joehni/tmp/download/commons-io-2.0- > src/Snap.20101017.162311.29777.0004.trc > JVMDUMP032I JVM requested Heap dump using > '/home/joehni/tmp/download/commons-io-2.0- > src/heapdump.20101017.162311.29777.0005.phd' in response to an event > JVMDUMP010I Heap dump written to /home/joehni/tmp/download/commons-io-2.0- > src/heapdump.20101017.162311.29777.0005.phd > JVMDUMP032I JVM requested Java dump using > '/home/joehni/tmp/download/commons-io-2.0- > src/javacore.20101017.162311.29777.0006.txt' in response to an event > JVMDUMP010I Java dump written to /home/joehni/tmp/download/commons-io-2.0- > src/javacore.20101017.162311.29777.0006.txt > JVMDUMP013I Processed dump event "systhrow", detail > "java/lang/OutOfMemoryError". > Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.364 sec > <<< FAILURE! > > > java version "1.6.0" > Java(TM) SE Runtime Environment (build pxa6460sr8fp1-20100624_01(SR8 FP1)) > IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 > jvmxa6460sr8ifx-20100609_59383 (JIT enabled, AOT enabled) > J9VM - 20100609_059383 > JIT - r9_20100401_15339ifx2 > GC - 20100308_AA) > JCL - 20100624_01 > ------------------------------------------------------------------------------- > Test set: org.apache.commons.io.output.WriterOutputStreamTest > ------------------------------------------------------------------------------- > Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec > <<< FAILURE! > testUTF16WithSingleByteWrite(org.apache.commons.io.output.WriterOutputStreamTest) > Time elapsed: 0.005 sec <<< FAILURE! > junit.framework.ComparisonFailure: null expected:<[à peine arrivés nous > entrâmes dans sa chambre]> but was:<[]> > at junit.framework.Assert.assertEquals(Assert.java:81) > at junit.framework.Assert.assertEquals(Assert.java:87) > at > org.apache.commons.io.output.WriterOutputStreamTest.testWithSingleByteWrite(WriterOutputStreamTest.java:47) > at > org.apache.commons.io.output.WriterOutputStreamTest.testUTF16WithSingleByteWrite(WriterOutputStreamTest.java:81) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:600) > at junit.framework.TestCase.runTest(TestCase.java:168) > at junit.framework.TestCase.runBare(TestCase.java:134) > at junit.framework.TestResult$1.protect(TestResult.java:110) > at junit.framework.TestResult.runProtected(TestResult.java:128) > at junit.framework.TestResult.run(TestResult.java:113) > at junit.framework.TestCase.run(TestCase.java:124) > at junit.framework.TestSuite.runTest(TestSuite.java:243) > at junit.framework.TestSuite.run(TestSuite.java:238) > at > org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) > at > org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:140) > at org.apache.maven.surefire.Surefire.run(Surefire.java:109) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:600) > at > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) > at > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1017) > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org