Integrated: 8229031: Exporting CLASSPATH from shell can result in build failures

Magnus Ihse Bursie ihse at openjdk.java.net
Mon Aug 30 11:41:33 UTC 2021


On Fri, 27 Aug 2021 14:28:07 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> 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`.

This pull request has now been integrated.

Changeset: 9ede41bf
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/9ede41bf894867b6d80982d7dc6ec54229a0ecb1
Stats:     27 lines in 2 files changed: 27 ins; 0 del; 0 mod

8229031: Exporting CLASSPATH from shell can result in build failures

Reviewed-by: erikj

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

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



More information about the build-dev mailing list