Skip to content

Commit caf5a03

Browse files
committed
Update to Opal 6.0.0
1 parent e351cda commit caf5a03

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575

7676
<soot.version>4.6.0</soot.version>
7777
<sootup.version>2.0.0</sootup.version>
78-
<opal.version>5.0.0</opal.version>
78+
<opal.version>6.0.0</opal.version>
7979
<junit.version>5.13.4</junit.version>
8080
<guava.version>33.5.0-jre</guava.version>
8181
<jspecify.version>1.0.0</jspecify.version>

testCore/src/main/java/test/setup/OpalTestSetup.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
import org.opalj.br.JVMMethod;
4343
import org.opalj.br.LongType$;
4444
import org.opalj.br.MethodDescriptor$;
45-
import org.opalj.br.ObjectType;
45+
import org.opalj.br.ClassType;
4646
import org.opalj.br.ReturnType;
4747
import org.opalj.br.ShortType$;
4848
import org.opalj.br.Type;
@@ -89,7 +89,7 @@ public void initialize(
8989

9090
// Load the class that contains the test method
9191
Option<ClassFile> testClass =
92-
project.classFile(ObjectType.apply(methodWrapper.getDeclaringClass().replace(".", "/")));
92+
project.classFile(ClassType.apply(methodWrapper.getDeclaringClass().replace(".", "/")));
9393
if (testClass.isEmpty()) {
9494
throw new RuntimeException("Could not find class " + methodWrapper.getDeclaringClass());
9595
}

0 commit comments

Comments
 (0)