Branch: refs/heads/3.6
Home:
https://github.com/hibernate/hibernate-core
Commit: a4b18008244cb571ed9964cc744013119401d414
https://github.com/hibernate/hibernate-core/commit/a4b18008244cb571ed9964...
Author: unknown <TDE@.BSBCORP.BSB.COM>
Date: 2011-12-07 (Wed, 07 Dec 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
Conflicts:
hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/packaging/JarVisitorTest.java