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 2019/02/11 14:53:20 UTC
[commons-bcel] branch master updated: Fix build on Travis CI.
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
The following commit(s) were added to refs/heads/master by this push:
new 3ad7450 Fix build on Travis CI.
3ad7450 is described below
commit 3ad7450857297ed609c5b568fb55f77dd469d8b9
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Feb 11 09:53:18 2019 -0500
Fix build on Travis CI.
---
src/test/java/org/apache/bcel/util/BCELifierTestCase.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/bcel/util/BCELifierTestCase.java b/src/test/java/org/apache/bcel/util/BCELifierTestCase.java
index 7ec313d..ceb7213 100644
--- a/src/test/java/org/apache/bcel/util/BCELifierTestCase.java
+++ b/src/test/java/org/apache/bcel/util/BCELifierTestCase.java
@@ -63,7 +63,7 @@ public class BCELifierTestCase {
final BCELifier bcelifier = new BCELifier(java_class, fos);
bcelifier.start();
}
- exec(workDir, "javac", "-cp", "classes", outfile.getName());
+ exec(workDir, "javac", "-cp", "classes", outfile.getName(), "-source", "1.8", "-target", "1.8");
exec(workDir, "java", "-cp", "." + File.pathSeparator + "classes", outfile.getName().replace(".java", ""));
final String output = exec(workDir, "javap", "-p", "-c", infile.getName());
assertEquals(canonHashRef(initial), canonHashRef(output));