Having the environment variable CLASSPATH set when building can cause 
hard-to-diagnose build errors. We should not silently accept the CLASSPATH 
variable when building. Normally, the classpath should be correctly setup for 
all invocations of java during the build. If the user wants to have a 
hard-coded value for CLASSPATH, they must set it explicitly in `configure`.

-------------

Commit messages:
 - 8229031: Exporting CLASSPATH from shell can result in build failures

Changes: https://git.openjdk.java.net/jdk/pull/5280/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5280&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8229031
  Stats: 27 lines in 2 files changed: 27 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5280.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5280/head:pull/5280

PR: https://git.openjdk.java.net/jdk/pull/5280

Reply via email to