-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: EAP_EWP 5.1.0
-
Fix Version/s: EAP_EWP 5.1.1
-
Component/s: Hibernate
-
Labels:None
-
Affects:Release Notes
-
Release Notes Text:
-
Release Notes Docs Status:Documented as Resolved Issue
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5453
----------------------------------------------
Although it is unlikely that a class will have more than 409600 bytes, ByteCodeHelper.readByteCode() will fail in this case.
The programmer's intention was clear: handle any file size; but he or she forgot to add a call to inputStream.read() at the end of the loop
...
r = inputStream.read( buffer );
while ( r >= buffer.length )
- cloned to
-
JBPAPP-5694 CLONE - HHH-5453 ByteCodeHelper.readByteCode won't load classes bigger than a constant size
-
- Closed
-