[hibernate-issues] [Hibernate-JIRA] Updated: (EJB-299) JarVisitor.addElement() fails with a StringIndexOutOfBoundsException if there is a package-info.class in the default package
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Tue Jan 15 18:10:55 EST 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list