Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-core
Commit: 3c11500618acbf5a7f2e06fa35b4f482f7154976
https://github.com/hibernate/hibernate-core/commit/3c11500618acbf5a7f2e06...
Author: Alessandro Lazarotti <alessandrolt2(a)gmail.com>
Date: 2011-11-23 (Wed, 23 Nov 2011)
Changed paths:
M
hibernate-entitymanager/src/main/java/org/hibernate/ejb/packaging/JarVisitorFactory.java
M
hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/packaging/JarVisitorTest.java
Log Message:
-----------
JBPAPP-7491 , JBPAPP-7488 , HHH-6806 Add support for vfsfile and vfszip in JarVisitor
The method getVisitor(URL jarUrl, Filter[] filters, String entry) does not have
conditionals for protocols vfs based,
like vfszip or vfsfile. It returns an InputStreamZippedJarVisitor implementation for both
protocols. If it is a vfszip,
it will work, but will not not for vfsfile. The fix includes vfszip and vfsfile to
JarVisitorFactory, so it can return
FileZippedJarVisitor (more efficient than InputStreamZippedJarVisitor) for vfszip and
ExplodedJarVisitor for vfsfile