diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/findbugs/files/0001-Support-bcel-6.0-RC3-instead-of-a-random-snapshot.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/findbugs/files/0001-Support-bcel-6.0-RC3-instead-of-a-random-snapshot.patch')
-rw-r--r-- | dev-util/findbugs/files/0001-Support-bcel-6.0-RC3-instead-of-a-random-snapshot.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/findbugs/files/0001-Support-bcel-6.0-RC3-instead-of-a-random-snapshot.patch b/dev-util/findbugs/files/0001-Support-bcel-6.0-RC3-instead-of-a-random-snapshot.patch new file mode 100644 index 000000000000..c92e18741ae1 --- /dev/null +++ b/dev-util/findbugs/files/0001-Support-bcel-6.0-RC3-instead-of-a-random-snapshot.patch @@ -0,0 +1,48 @@ +From d4ef7a75e6d0e50f6417825d851ad9e5ed757985 Mon Sep 17 00:00:00 2001 +From: James Le Cuirot <chewi@gentoo.org> +Date: Tue, 10 Mar 2015 23:47:00 +0000 +Subject: [PATCH 1/2] Support bcel 6.0 RC3 instead of a random snapshot + +--- + .../src/java/edu/umd/cs/findbugs/ba/AbstractFrameModelingVisitor.java | 2 +- + findbugs/src/java/edu/umd/cs/findbugs/visitclass/BetterVisitor.java | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/findbugs/src/java/edu/umd/cs/findbugs/ba/AbstractFrameModelingVisitor.java b/findbugs/src/java/edu/umd/cs/findbugs/ba/AbstractFrameModelingVisitor.java +index 52468c9..d7cbd0e 100644 +--- a/findbugs/src/java/edu/umd/cs/findbugs/ba/AbstractFrameModelingVisitor.java ++++ b/findbugs/src/java/edu/umd/cs/findbugs/ba/AbstractFrameModelingVisitor.java +@@ -50,7 +50,7 @@ import edu.umd.cs.findbugs.bcel.generic.NULL2Z; + * @see Frame + * @see DataflowAnalysis + */ +-public abstract class AbstractFrameModelingVisitor<Value, FrameType extends Frame<Value>> implements VisitorSupportsInvokeDynamic { ++public abstract class AbstractFrameModelingVisitor<Value, FrameType extends Frame<Value>> extends EmptyVisitor { + private FrameType frame; + + private Location location; +diff --git a/findbugs/src/java/edu/umd/cs/findbugs/visitclass/BetterVisitor.java b/findbugs/src/java/edu/umd/cs/findbugs/visitclass/BetterVisitor.java +index 5d62092..a36abac 100644 +--- a/findbugs/src/java/edu/umd/cs/findbugs/visitclass/BetterVisitor.java ++++ b/findbugs/src/java/edu/umd/cs/findbugs/visitclass/BetterVisitor.java +@@ -56,7 +56,7 @@ import org.apache.bcel.classfile.StackMap; + import org.apache.bcel.classfile.StackMapEntry; + import org.apache.bcel.classfile.Synthetic; + import org.apache.bcel.classfile.Unknown; +-import org.apache.bcel.classfile.Visitor; ++import org.apache.bcel.classfile.EmptyVisitor; + + /** + * Fixedup of from org.apache.bcel.classfile.Visitor +@@ -64,7 +64,7 @@ import org.apache.bcel.classfile.Visitor; + * @author <A HREF="http://www.cs.umd.edu/~pugh">William Pugh</A> + * @version 980818 + */ +-public abstract class BetterVisitor implements Visitor { ++public abstract class BetterVisitor extends EmptyVisitor { + + /** + * clone() is overridden to change access control from protected to public. +-- +2.0.4 + |