< prev index next > test/hotspot/jtreg/runtime/execstack/TestCheckJDK.java
Print this page
private static final WhiteBox WB = WhiteBox.getWhiteBox();
static void checkExecStack(Path file) {
String filename = file.toString();
Path parent = file.getParent();
- if ((parent.endsWith("bin") && !filename.endsWith(".diz")) || filename.endsWith(".so")) {
+ if ((parent.endsWith("bin") && !filename.endsWith(".diz") && !filename.equals("jfrconv")) || filename.endsWith(".so")) {
if (!WB.checkLibSpecifiesNoexecstack(filename)) {
System.out.println("Library does not have the noexecstack bit set: " + filename);
testPassed = false;
}
}
< prev index next >