RFR: 8344191: Build code should not have classpath exception
Magnus Ihse Bursie
ihse at openjdk.org
Fri Nov 15 00:10:24 UTC 2024
On Thu, 14 Nov 2024 15:23:35 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
> The policy has long been to use Classpath Exception in the src and make directories, but not in the test directories. If you're changing the policy, you might want to check and update any documentation where the policy might be written down.
I did not know there was such a policy. My understanding is that the classpath exception only makes sense for java files that are distributed as part of the JDK. That `test` was excluded from classpath should therefore be a logical consequence that it is not distributed. And `src` is not generally using CPE; for instance, Hotspot does not have CPE.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22104#issuecomment-2477665315
More information about the core-libs-dev
mailing list