You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/06/17 11:01:21 UTC
[commons-bcel] branch master updated (373b3bf7 -> a946274f)
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
from 373b3bf7 [BCEL-367] java.lang.IndexOutOfBoundsException thrown for an ATHROW instruction on empty stack
new 1a33d070 Enable org.apache.bcel.verifier.JiraBcel369TestCase.testCompiledClass()
new 77c12c14 Enable org.apache.bcel.verifier.JiraBcel369TestCase.testCompiledClass()
new a946274f Use diamonds
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/test/java/org/apache/bcel/LocalVariableTypeTableTestCase.java | 6 +++---
src/test/java/org/apache/bcel/verifier/JiraBcel369TestCase.java | 1 -
2 files changed, 3 insertions(+), 4 deletions(-)
[commons-bcel] 02/03: Enable org.apache.bcel.verifier.JiraBcel369TestCase.testCompiledClass()
Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
commit 77c12c146a98c6ed9b0281cc136263dfabfe6db0
Author: Gary David Gregory (Code signing key) <gg...@apache.org>
AuthorDate: Sat Jun 17 06:59:15 2023 -0400
Enable org.apache.bcel.verifier.JiraBcel369TestCase.testCompiledClass()
[commons-bcel] 03/03: Use diamonds
Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
commit a946274f8f767a9d40142a50e44e2d41e1b3d747
Author: Gary David Gregory (Code signing key) <gg...@apache.org>
AuthorDate: Sat Jun 17 07:01:17 2023 -0400
Use diamonds
---
src/test/java/org/apache/bcel/LocalVariableTypeTableTestCase.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/test/java/org/apache/bcel/LocalVariableTypeTableTestCase.java b/src/test/java/org/apache/bcel/LocalVariableTypeTableTestCase.java
index a03b1349..6d5068ef 100644
--- a/src/test/java/org/apache/bcel/LocalVariableTypeTableTestCase.java
+++ b/src/test/java/org/apache/bcel/LocalVariableTypeTableTestCase.java
@@ -135,12 +135,12 @@ public class LocalVariableTypeTableTestCase extends AbstractTestCase {
final Class<?> cls = loader.findClass(targetClass, getBytesFromClass(targetClass));
java.lang.reflect.Method method = cls.getDeclaredMethod("a", String.class, List.class);
- method.invoke(null, "a1", new LinkedList<String>());
+ method.invoke(null, "a1", new LinkedList<>());
method = cls.getDeclaredMethod("b", String.class, List.class);
- method.invoke(null, "b1", new LinkedList<String>());
+ method.invoke(null, "b1", new LinkedList<>());
method = cls.getDeclaredMethod("c", String.class, String.class);
method.invoke(null, "c1", "c2");
method = cls.getDeclaredMethod("d", List.class, String.class);
- method.invoke(null, new LinkedList<String>(), "d2");
+ method.invoke(null, new LinkedList<>(), "d2");
}
}
[commons-bcel] 01/03: Enable org.apache.bcel.verifier.JiraBcel369TestCase.testCompiledClass()
Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
commit 1a33d0700b957cf41c2497d3205fd7203ebc8700
Author: Gary David Gregory (Code signing key) <gg...@apache.org>
AuthorDate: Sat Jun 17 06:59:15 2023 -0400
Enable org.apache.bcel.verifier.JiraBcel369TestCase.testCompiledClass()
---
src/test/java/org/apache/bcel/verifier/JiraBcel369TestCase.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/test/java/org/apache/bcel/verifier/JiraBcel369TestCase.java b/src/test/java/org/apache/bcel/verifier/JiraBcel369TestCase.java
index 57424b91..e6e7cc83 100644
--- a/src/test/java/org/apache/bcel/verifier/JiraBcel369TestCase.java
+++ b/src/test/java/org/apache/bcel/verifier/JiraBcel369TestCase.java
@@ -32,7 +32,6 @@ public class JiraBcel369TestCase extends AbstractTestCase {
}
@Test
- @Disabled
public void testCompiledClass() throws ClassNotFoundException {
Verifier.verifyType("issue369.Test");
}