Yes, I see the same problem.

(And besides that it seems PMD and findbugs make problems for Java8, too.)

bernd

> Am 02.05.2014 um 13:27 schrieb Schalk Cronjé <ysb...@gmail.com>:
> 
> Does anyone else have failures building VFS 2.1 with JDK8 (SVN rev 1591869)?
> 
> I am seeing this test failure building on Mac.
> 
> -------------------------------------------------------------------------------
> Test set: org.apache.commons.vfs2.provider.ram.test.CustomRamProviderTest
> -------------------------------------------------------------------------------
> Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.012 sec <<< 
> FAILURE! - in org.apache.commons.vfs2.provider.ram.test.CustomRamProviderTest
> testSmallFS(org.apache.commons.vfs2.provider.ram.test.CustomRamProviderTest)  
> Time elapsed: 0.007 sec  <<< ERROR!
> java.lang.IllegalArgumentException: Self-suppression not permitted
>    at 
> org.apache.commons.vfs2.provider.ram.RamFileObject.resize(RamFileObject.java:277)
>    at 
> org.apache.commons.vfs2.provider.ram.RamFileOutputStream.write(RamFileOutputStream.java:68)
>    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
>    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
>    at 
> org.apache.commons.vfs2.util.MonitorOutputStream.flush(MonitorOutputStream.java:114)
>    at java.io.FilterOutputStream.close(FilterOutputStream.java:158)
>    at 
> org.apache.commons.vfs2.util.MonitorOutputStream.close(MonitorOutputStream.java:54)
>    at 
> org.apache.commons.vfs2.provider.DefaultFileContent$FileContentOutputStream.close(DefaultFileContent.java:711)
>    at 
> org.apache.commons.vfs2.provider.ram.test.CustomRamProviderTest.testSmallFS(CustomRamProviderTest.java:264)
> 
> 
> -- 
> Schalk W. Cronjé
> @ysb33r
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to