Skip to content

Commit e3fc77c

Browse files
author
Jaroslav Tulach
committed
Merge pull request #32 from jtulach/master
The actual exception thrown when running latest Truffle on GraalVM-0.9 is java.lang.…
2 parents 400fbdf + 39749cf commit e3fc77c

File tree

1 file changed

+1
-1
lines changed
  • truffle/com.oracle.truffle.api.profiles/src/com/oracle/truffle/api/profiles

1 file changed

+1
-1
lines changed

truffle/com.oracle.truffle.api.profiles/src/com/oracle/truffle/api/profiles/Profile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ static boolean isProfilingEnabled() {
9595
boolean enabled;
9696
try {
9797
enabled = Truffle.getRuntime().isProfilingEnabled();
98-
} catch (NoSuchMethodError ex) {
98+
} catch (LinkageError ex) {
9999
// running on old version of Graal
100100
enabled = true;
101101
}

0 commit comments

Comments
 (0)