Issue Details (XML | Word | Printable)

Key: EJB-299
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Heiko Burchard
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
z - Hibernate Entity Manager

JarVisitor.addElement() fails with a StringIndexOutOfBoundsException if there is a package-info.class in the default package

Created: 26/Jun/07 07:47 AM   Updated: 15/Jan/08 05:09 PM   Resolved: 15/Jan/08 05:09 PM
Component/s: None
Affects Version/s: 3.3.1.GA
Fix Version/s: 3.3.2.Beta2

Time Tracking:
Original Estimate: 5 minutes
Original Estimate - 5 minutes
Remaining Estimate: 5 minutes
Remaining Estimate - 5 minutes
Time Spent: Not Specified
Time Spent - Not Specified

Environment: Windows XP, Eclipse 3.2.2, JDK 1.5.0_11 and 1.6.0_01

Bug Testcase Reminder (view):
REMINDER: Bug reports should generally be accompanied by a test case
Participants: Heiko Burchard


 Description  « Hide

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...



There are no comments yet on this issue.