Bug 49876

Summary: correcting generics related compile warning in org/apache/tomcat/util/bcel/classfile files
Product: Tomcat 7 Reporter: Gábor <gliptak>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: P2    
Version: trunk   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Attachments: Diff attached

Description Gábor 2010-09-03 08:17:45 UTC
Explanation:

Several files have compile time generics related warnings displayed for org/apache/tomcat/util/bcel/classfile. This patch cleans up several of those warnings.
Comment 1 Gábor 2010-09-03 08:18:20 UTC
Created attachment 25980 [details]
Diff attached
Comment 2 Mark Thomas 2010-09-03 14:52:26 UTC
Thanks. Patch applied. I was originally avoiding changing the BCEL code but there have already been quite a few changes to remove unused code the the diffs from Jakarta aren't that tricky to apply (and there aren't that many of them).

I fixed the remaining issues the patch didn't address as well as a couple of cast warnings created by applying the patch.

The fix is in 7.0.x and will be in 7.0.3 onwards.

Thanks.