]
Emmanuel Bernard updated EJB-299:
---------------------------------
Summary: JarVisitor.addElement() fails with a StringIndexOutOfBoundsException if there
is a package-info.class in the default package (was: JarVisitor.addElement() fails with a
StringIndexOutOfBoundsException if there is a package-info.class in the default package.)
JarVisitor.addElement() fails with a StringIndexOutOfBoundsException
if there is a package-info.class in the default package
----------------------------------------------------------------------------------------------------------------------------
Key: EJB-299
URL:
http://opensource.atlassian.com/projects/hibernate/browse/EJB-299
Project: Hibernate Entity Manager
Issue Type: Bug
Affects Versions: 3.3.1.GA
Environment: Windows XP, Eclipse 3.2.2, JDK 1.5.0_11 and 1.6.0_01
Reporter: Heiko Burchard
Fix For: 3.3.2.Beta2
Original Estimate: 5 minutes
Remaining Estimate: 5 minutes
Line 252: String name = entryName.substring( 0, entryName.length() -
".package-info.class".length() ).replace( '/', '.' );
tries to substring the String "package-info.class" from 0 to
".package-info.class" - this can not work...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: