Skip to content

Commit 8f5317e

Browse files
committed
Ignore another old Java JVM test error
1 parent 163dc8d commit 8f5317e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/interceptors/jvm.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ function testJavaBin(possibleJavaBin: string) {
127127

128128
const hasUnsupportedJvmError = (testOutput: string) =>
129129
testOutput.includes('com/sun/tools/attach/AgentLoadException') || // Old Java missing Attach classes
130+
testOutput.includes('com.sun.tools.attach.AgentLoadException') || // Old Java missing Attach classes
130131
testOutput.includes('java.lang.UnsatisfiedLinkError: no attach in java.library.path') || // Similar
131132
testOutput.includes('Are we running in a JRE instead of a JDK') || // JREs aren't sufficient
132133
testOutput.includes('Unsupported major.minor version 52.0'); // Pre Java 8(!)

0 commit comments

Comments
 (0)