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
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:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira