-
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
Dev console "crashes" with Java 23 #44653
Comments
Related to #44471 |
Thanks for reporting! |
the "weird" output is shown in zulip as Why that is happening is the good question. I also note you are on windows/mingw which probably could be related to it. |
Same issue when using windows powershell 7.4.6. |
/cc @Sanne (core), @aloubyansky (core), @gsmet (core), @radcortez (core), @stuartwdouglas (core) |
I can confirm that this is not an issue for me on Linux. |
The way we are going to address #44471 for the time being, will also mean that the problem described here won't occur with the default settings (as we are going to default to the |
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 (cherry picked from commit 88a0dce)
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 (cherry picked from commit 88a0dce)
Describe the bug
As discussed with @geoand on Zulip,
the dev console "crashes" when using Java 23.
Basic use case : bootstrap a "code-with-quarkus" app with rest only, launch app in dev mode via
mvn quarkus:dev
.Got this weird output then nothing is displayed anymore (no standard or error output)
See that it fails to display Quarkus ascii art.
No issue when running app with
-Djdk.console=java.base
as advised by Georgios.Therefore, it might by this change introduced in Jdk 22 : JLine As The Default Console Provider (JDK-8308591) ?
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
MINGW64_NT-10.0-22631 CLEM-PC 3.4.10-87d57229.x86_64 2024-02-14 20:17 UTC x86_64 Msys
Output of
java -version
openjdk version "23" 2024-09-17 OpenJDK Runtime Environment (build 23+37-2369) OpenJDK 64-Bit Server VM (build 23+37-2369, mixed mode, sharing)
Quarkus version or git rev
3.16.4
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Additional information
No response
The text was updated successfully, but these errors were encountered: