langtools/test/tools/javac/modules/InheritRuntimeEnvironmentTest.java
changeset 43874 d49715456f51
parent 43772 4e5350b7be75
--- a/langtools/test/tools/javac/modules/InheritRuntimeEnvironmentTest.java	Wed Feb 15 16:18:18 2017 -0800
+++ b/langtools/test/tools/javac/modules/InheritRuntimeEnvironmentTest.java	Wed Feb 15 18:07:28 2017 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -238,7 +238,7 @@
                 Arrays.asList("--add-exports", "jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED");
         List<Path> files = Arrays.asList(findJavaFiles(src));
 
-        String envName = "_JAVAC_OPTIONS";
+        String envName = "JDK_JAVAC_OPTIONS";
         String envValue = String.join(" ", testOpts);
 
         out.println("  javac:");