RFR: 8307732: build-test-lib is broken

Johannes Bechberger jbechberger at openjdk.org
Tue May 9 11:55:22 UTC 2023


On Tue, 9 May 2023 10:38:54 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:

> Fixes the issue by adding `--add-exports` for the required modules and making the `HttpHeaderParser` final (fixing an issue with calling overridable methods in a constructor).

Well, I wanted to use the WhiteBox testing API for my ASGST related tests (see https://github.com/parttimenerd/trace_tester) and found in the wiki https://wiki.openjdk.org/display/HotSpot/The+WhiteBox+testing+API, but the build instructions didn't work for me, so I fixed them.

I need the WhiteBox API methods to ensure that a specific method is compiled, inlined, ..., when testing whether my API implementation gets it correct.

The tests will later be partially included in the JTREG tests, but the external project makes prototyping easier.

> Should we remove this make target instead?

No, this would make writing extensive tests harder.

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

PR Comment: https://git.openjdk.org/jdk/pull/13885#issuecomment-1540010987



More information about the build-dev mailing list