<div dir="ltr">Hi,<div><br></div><div>The 'build-test-lib' target seems to be broken:</div><div><br></div><div>- 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.</div><div>- 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</div><div>- ASN1Formatter.annotate has a possible lossy conversion from long to int which can be fixed by adding an explicit cast<br><div><br></div></div><div>Let me know if this is worth fixing and I can create a PR from this branch of fixes:</div><div><br></div><div><a href="https://github.com/openjdk/jdk/compare/master...eirbjo:build-test-libs">https://github.com/openjdk/jdk/compare/master...eirbjo:build-test-libs</a><br></div><div><br></div><div>Thanks,</div><div>Eirik.</div></div>