Skip to content

Commit 5849af9

Browse files
committed
Move Parfait report suppression comment
1 parent 32f88e1 commit 5849af9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/src/jdk.graal.compiler.libgraal/src/jdk/graal/compiler/libgraal/LibGraalFeature.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,12 @@ public boolean getAsBoolean() {
126126
* See javadoc for {@code jdk.graal.compiler.libgraal.loader.HostedLibGraalClassLoader}.
127127
*/
128128
private static Path readLibgraalJavaHome(ClassLoader cl) {
129-
// Parfait_ALLOW impossible-redundant-condition (Parfait bug PARSEC-7191)
130129
try (InputStream in = cl.getResourceAsStream("META-INF/libgraal.java.home")) {
131130
if (in == null) {
132131
throw new GraalError(cl.getClass().getName() + " does not support META-INF/libgraal.java.home protocol (see javadoc of HostedLibGraalClassLoader)");
133132
}
134133
return Path.of(new String(in.readAllBytes()));
135-
} catch (IOException e) {
134+
} catch (IOException e) { // Parfait_ALLOW impossible-redundant-condition (PARSEC-7191)
136135
throw new GraalError(e);
137136
}
138137
}

0 commit comments

Comments
 (0)