--- a/test/jtreg-ext/requires/VMProps.java Tue Jul 24 11:37:43 2018 -0700
+++ b/test/jtreg-ext/requires/VMProps.java Tue Jul 24 08:58:32 2018 -0700
@@ -432,7 +432,8 @@
System.getProperty("java.home") + "/release"))) {
Properties properties = new Properties();
properties.load(in);
- return properties.getProperty("IMPLEMENTOR").replace("\"", "");
+ String implementorProperty = properties.getProperty("IMPLEMENTOR");
+ return (implementorProperty == null) ? "null" : implementorProperty.replace("\"", "");
} catch (IOException e) {
e.printStackTrace();
}