Bug #9878
Java client process hangs when -verbose:class is part of jvmargs
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:
0%
billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:
History
#1 Updated by Hynek Cihlar over 1 year ago
- reviewer deleted (
Alexandru Lungu, Constantin Asofiei, Eric Faulhaber, Eugenie Lyzenko, Galya B, Greg Shah, Ovidiu Maxiniuc, Sergey Ivanovskiy, Stanislav Lomany, Tomasz Domin, Vladimir Tsichevski)
#2 Updated by Hynek Cihlar over 1 year ago
I can replicate this in Java 11, 17, 21.
When -verbose:class is part of the client's java argumens the Java client process spawned by FWD spawner (the native spawner) hangs.
By "hangs" I mean the Java client process is running, but doesn't start executing the main class. Also Java debugger can't be attached to it. The process can be listed using jps command.
When the Java client process is started directly from the shell using the same arguments the client starts OK.
I suspect this is related to standard input/output and how native spawner processes input/output.