Babylon building document correction

Juan Jose Fumero Alfonso juan.fumero at oracle.com
Fri Nov 28 08:16:55 UTC 2025


Thank you, Nadeesh, for spotting this.

The problem is that the $JTREG is reserved for this Makefile to pass arguments for the JTREG testing framework:

https://github.com/openjdk/babylon/blob/code-reflection/doc/testing.md#options

Thus,  following this documentation, we’re using the same env variable for different purposes.

If you rename the $JTREG to something else (e.g., JTREG_BUILD_HOME), everything passes. We will fix the documentation.

Juan





Confidential- Oracle Internal

From: babylon-dev <babylon-dev-retn at openjdk.org> on behalf of nadeesh t v <nadeeshtv at gmail.com>
Date: Friday, 28 November 2025 at 07:46
To: babylon-dev at openjdk.org <babylon-dev at openjdk.org>
Subject: Babylon building document correction

Hello,
I  was trying to build the babylon project by reading the following doc<https://github.com/openjdk/babylon/blob/code-reflection/hat/docs/hat-01-02-building-babylon.md> and noticed a minor correction and attached a patch for it.
For the 2nd change related to clearing JTREG, without that I was running into the below error.
```

treg/build/images/jtreg/ is not a valid keyword for JTREG.

Valid keywords: JOBS TIMEOUT_FACTOR FAILURE_HANDLER_TIMEOUT TEST_MODE ASSERT VERBOSE RETAIN TEST_THREAD_FACTORY JVMTI_STRESS_AGENT MAX_MEM RUN_PROBLEM_LISTS RETRY_COUNT REPEAT_COUNT MAX_OUTPUT REPORT AOT_JDK MANUAL OPTIONS JAVA_OPTIONS VM_OPTIONS KEYWORDS EXTRA_PROBLEM_LISTS LAUNCHER_OPTIONS.

RunTests.gmk:205: *** Cannot continue.  Stop.

make[2]: *** [test] Error 2

```

Not sure it is a my issue , rather than a generic issue. Let me know whether it's worth  making a PR for this.

--
Thanks and Regards,
Nadeesh


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/babylon-dev/attachments/20251128/ded5c8d2/attachment-0001.htm>


More information about the babylon-dev mailing list