-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default to old console if user has not set it #44796
Conversation
This is done because the new JLine console which is the default from JDK 23 (maybe even 22?) causes a large regression in startup time due to it loading a very large number of classes. If users really want to use the new console, they have to start the application with `-Djdk.console=jdk.internal.le` Fixes: quarkusio#44471 Fixes: quarkusio#44653
Is it something that we should consider pushing to 3.15 at some point? Given it's a LTS, I'm pretty sure Java 23 or 24 will be used with this version. |
Yeah, we probably should
…On Thu, Nov 28, 2024, 12:58 Guillaume Smet ***@***.***> wrote:
Is it something that we should consider pushing to 3.15 at some point?
Given it's a LTS, I'm pretty sure Java 23 or 24 will be used with this
version.
—
Reply to this email directly, view it on GitHub
<#44796 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBMDP7MJWSXGA6LPTLXITT2C3ZOTAVCNFSM6AAAAABSUZC6BGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBVHAZTOMRQHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Status for workflow
|
This is done because the new JLine console
which is the default from JDK 23 (maybe even 22?)
causes a large regression in startup time due to
it loading a very large number of classes.
If users really want to use the new console,
they have to start the application with
-Djdk.console=jdk.internal.le
Note on testing
I tried to create a proper test for this but it's not easy because we don't have an attached console to check against (if we did, we could open up Java IO using:
--add-opens=java.base/java.io=ALL-UNNAMED
and do something like: