On Thu, 9 Mar 2023 20:09:46 GMT, Eirik Bjorsnos <d...@openjdk.org> wrote:
> The Make target 'build-test-lib-target' is broken in a few ways: > > - make/test/BuildTestLib.gmk references the directory > $(TEST_LIB_SOURCE_DIR)/sun which does not seem to exist. This can be fixed by > removing the reference. > - Some test-lib sources use preview-features which is not enabled by > make/test/BuildTestLib.gmk. This is fixed by adding a JAVAC_FLAGS with > --enable-preview and also adding 'preview' to DISABLED_WARNINGS > - ASN1Formatter.annotate has a possible lossy conversion from long to int > which can be fixed by adding an explicit cast > > This PR fixes the above issues. This pull request has now been integrated. Changeset: c313e1ac Author: Eirik Bjorsnos <eir...@gmail.com> Committer: Julian Waters <jwat...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/c313e1ac7b3305b1c012755de4e94728b17e2505 Stats: 8 lines in 2 files changed: 2 ins; 0 del; 6 mod 8303922: build-test-lib target is broken Reviewed-by: erikj, jwaters ------------- PR: https://git.openjdk.org/jdk/pull/12960