Bug 49876 - correcting generics related compile warning in org/apache/tomcat/util/bcel/classfile files
Summary: correcting generics related compile warning in org/apache/tomcat/util/bcel/cl...
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Catalina (show other bugs)
Version: trunk
Hardware: PC Windows XP
: P2 trivial (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2010-09-03 08:17 UTC by Gábor
Modified: 2010-09-03 14:52 UTC (History)
0 users

Diff attached (4.78 KB, application/octet-stream)
2010-09-03 08:18 UTC, Gábor

Note You need to log in before you can comment on or make changes to this bug.
Description Gábor 2010-09-03 08:17:45 UTC

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.