Bug 51565 - [patch] Pass3bVerifier crashes on empty methods
Summary: [patch] Pass3bVerifier crashes on empty methods
Status: RESOLVED FIXED
Alias: None
Product: BCEL - Now in Jira
Classification: Unclassified
Component: Main (show other bugs)
Version: unspecified
Hardware: Macintosh All
: P2 normal
Target Milestone: ---
Assignee: issues@commons.apache.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-27 14:18 UTC by Jonas Maebe
Modified: 2011-07-28 03:17 UTC (History)
1 user (show)



Attachments
Patch to fix crash in Pass3bVerifier when going over empty methods (1.92 KB, patch)
2011-07-27 14:19 UTC, Jonas Maebe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Maebe 2011-07-27 14:18:05 UTC

    
Comment 1 Jonas Maebe 2011-07-27 14:19:59 UTC
Created attachment 27324 [details]
Patch to fix crash in Pass3bVerifier when going over empty methods

Pass3bVerifier crashes at Pass3bVerifier.java:255 when running on empty methods, because ih.getPrev() is null in that case. The attached patch fixes that.
Comment 2 Dave Brosius 2011-07-28 03:17:17 UTC
Thanks for the patch, Committed revision 1151706.