Codebase list findbugs / 91314fc
Fixed the compilation failure with BCEL 6.0 RC3 (Closes: #796430) Emmanuel Bourg 8 years ago
3 changed file(s) with 51 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 findbugs (2.0.3+repack-2) UNRELEASED; urgency=medium
1
2 * Team upload.
3 * Fixed the compilation failure with BCEL 6.0 RC3 (Closes: #796430)
4
5 -- Emmanuel Bourg <ebourg@apache.org> Thu, 10 Dec 2015 15:09:26 +0100
6
07 findbugs (2.0.3+repack-1) unstable; urgency=medium
18
29 * Team upload.
0 --- a/src/java/edu/umd/cs/findbugs/visitclass/BetterVisitor.java
1 +++ b/src/java/edu/umd/cs/findbugs/visitclass/BetterVisitor.java
2 @@ -56,7 +56,7 @@
3 import org.apache.bcel.classfile.StackMapEntry;
4 import org.apache.bcel.classfile.Synthetic;
5 import org.apache.bcel.classfile.Unknown;
6 -import org.apache.bcel.classfile.Visitor;
7 +import org.apache.bcel.classfile.EmptyVisitor;
8
9 /**
10 * Fixedup of from org.apache.bcel.classfile.Visitor
11 @@ -64,7 +64,7 @@
12 * @author <A HREF="http://www.cs.umd.edu/~pugh">William Pugh</A>
13 * @version 980818
14 */
15 -public abstract class BetterVisitor implements Visitor {
16 +public abstract class BetterVisitor extends EmptyVisitor {
17
18 /**
19 * clone() is overridden to change access control from protected to public.
20 --- a/src/java/edu/umd/cs/findbugs/ba/AbstractFrameModelingVisitor.java
21 +++ b/src/java/edu/umd/cs/findbugs/ba/AbstractFrameModelingVisitor.java
22 @@ -265,6 +265,9 @@
23 public void visitStackConsumer(StackConsumer obj) {
24 }
25
26 + public void visitNameSignatureInstruction(NameSignatureInstruction obj) {
27 + }
28 +
29 /*
30 * ----------------------------------------------------------------------
31 * General instruction handlers
32 @@ -1084,6 +1087,10 @@
33 public void visitFADD(FADD obj) {
34 handleNormalInstruction(obj);
35 }
36 +
37 + public void visitINVOKEDYNAMIC(INVOKEDYNAMIC obj) {
38 + handleNormalInstruction(obj);
39 + }
40 }
41
42 // vim:ts=4
55 0006-FixLibraryPathInJavaDoc.patch
66 0007-FixManifest.patch
77 0008-fix-docbook-ref.patch
8 0009-bcel-compatibility.patch