Bug 49876 - correcting generics related compile warning in org/apache/tomcat/util/bcel/classfile files
correcting generics related compile warning in org/apache/tomcat/util/bcel/cl...
Status: RESOLVED FIXED
Product: Tomcat 7
Classification: Unclassified
Component: Catalina
trunk
PC Windows XP
: P2 trivial (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2010-09-03 08:17 UTC by Gábor
Modified: 2010-09-03 14:52 UTC (History)
0 users



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

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