Skip to content

Commit aa15682

Browse files
authored
Merge pull request #169 from ponder-lab/dependabot/maven/wala.version-1.6.12
Bump wala.version from 1.6.11 to 1.6.12
2 parents 2bdc3ad + 9a64c69 commit aa15682

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

com.ibm.wala.cast.python/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@
4444
<groupId>com.google.guava</groupId>
4545
<artifactId>guava</artifactId>
4646
</dependency>
47+
<dependency>
48+
<groupId>org.jetbrains</groupId>
49+
<artifactId>annotations</artifactId>
50+
</dependency>
4751
</dependencies>
4852
<build>
4953
<resources>

com.ibm.wala.cast.python/source/com/ibm/wala/cast/python/ipa/callgraph/PythonScopeMappingInstanceKeys.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,15 @@ protected Collection<CGNode> getConstructorCallers(
5353
ScopeMappingInstanceKey smik, Pair<String, String> name) {
5454
return Collections.singleton(smik.getCreator());
5555
}
56+
57+
@Override
58+
protected boolean isTrueConstructorCall(Pair<String, String> name, CGNode callerOfConstructor) {
59+
return callerOfConstructor
60+
.getMethod()
61+
.getReference()
62+
.getDeclaringClass()
63+
.getName()
64+
.toString()
65+
.equals(name.snd);
66+
}
5667
}

pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<maven.compiler.version>3.14.1</maven.compiler.version>
2929
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3030
<build-alias>b000</build-alias>
31-
<wala.version>1.6.11</wala.version>
31+
<wala.version>1.6.12</wala.version>
3232
<spotless.version>3.0.0</spotless.version>
3333
<maven.surefire.version>3.5.4</maven.surefire.version>
3434
<parallel>both</parallel>
@@ -123,6 +123,11 @@
123123
<artifactId>guava</artifactId>
124124
<version>33.5.0-jre</version>
125125
</dependency>
126+
<dependency>
127+
<groupId>org.jetbrains</groupId>
128+
<artifactId>annotations</artifactId>
129+
<version>24.0.1</version>
130+
</dependency>
126131
</dependencies>
127132
</dependencyManagement>
128133
<build>

0 commit comments

Comments
 (0)