Skip to content

Fixed the wrong toolchain honored log#1062

Merged
venmanyarun merged 4 commits intoOpenLiberty:mainfrom
sajeerzeji:GH1061-Wrong_log_shown_on_DevMode_while_there_is_JAVA_HOME_present_in_the_server_env
Feb 26, 2026
Merged

Fixed the wrong toolchain honored log#1062
venmanyarun merged 4 commits intoOpenLiberty:mainfrom
sajeerzeji:GH1061-Wrong_log_shown_on_DevMode_while_there_is_JAVA_HOME_present_in_the_server_env

Conversation

@sajeerzeji
Copy link
Contributor

Fixes #1061

Added check for JAVA_HOME in server.env while logging the Toolchain honored information in DevTask.goovy:compile()

@venmanyarun
Copy link
Contributor

please add tests for this scenario, making sure no logs has been printed..
also please share before and after videos of manual testing

… and isJavaHomeSetForJvmOptions() are called before loading config from properties
…warnings on scenarios like java home configured in JVM Options and Server Env Test
@sajeerzeji
Copy link
Contributor Author

please add tests for this scenario, making sure no logs has been printed.. also please share before and after videos of manual testing

Added tests

@sajeerzeji
Copy link
Contributor Author

please add tests for this scenario, making sure no logs has been printed.. also please share before and after videos of manual testing

Testing

Before fixing:

Screen.Recording.2026-02-24.at.12.00.11.PM.mov

After fixing:

Screen.Recording.2026-02-24.at.12.02.20.PM.mov

@venmanyarun venmanyarun merged commit 0705f51 into OpenLiberty:main Feb 26, 2026
22 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong log shown on DevMode while there is JAVA_HOME present in the server.env

3 participants