commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Eckenfels (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VFS-500) VFSClassLoader.findResources missing
Date Fri, 14 Feb 2014 19:44:19 GMT

    [ https://issues.apache.org/jira/browse/VFS-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13901847#comment-13901847
] 

Bernd Eckenfels commented on VFS-500:
-------------------------------------

Hm, it seems to break on the continuum CI:

https://continuum-ci.apache.org/continuum/buildResult.action?projectId=129&projectName=&buildId=28094&projectGroupId=0

{code}
Running org.apache.commons.vfs2.provider.jar.test.NestedJarTestCase
Tests run: 74, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.834 sec <<< FAILURE!
- in org.apache.commons.vfs2.provider.jar.test.NestedJarTestCase
testGetResourcesJARs(org.apache.commons.vfs2.impl.test.VfsClassLoaderTests)  Time elapsed:
0.019 sec  <<< FAILURE!
junit.framework.AssertionFailedError: First resource must refer to nested.jar but was jar:file:/usr/lib/jvm/java-6-openjdk-common/jre/lib/resources.jar!/META-INF/MANIFEST.MF
	at junit.framework.Assert.fail(Assert.java:57)
	at junit.framework.Assert.assertTrue(Assert.java:22)
	at junit.framework.TestCase.assertTrue(TestCase.java:192)
	at org.apache.commons.vfs2.impl.test.VfsClassLoaderTests.testGetResourcesJARs(VfsClassLoaderTests.java:148)
{code}

Will investigate.

> VFSClassLoader.findResources missing
> ------------------------------------
>
>                 Key: VFS-500
>                 URL: https://issues.apache.org/jira/browse/VFS-500
>             Project: Commons VFS
>          Issue Type: New Feature
>    Affects Versions: 2.0
>            Reporter: Bernd Eckenfels
>            Assignee: Gary Gregory
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: vfs-500-gg.diff
>
>
> the VFSClassLoader.findResources(String) method is a dummy implementation returning an
empty Enumeration.
> I have a working implementation and will support the patch for it, this is the JIRA to
track it.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message