-
Bug
-
Resolution: Fixed
-
P3
-
8, 9
-
b92
-
generic
-
windows_xp
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8143435 | emb-9 | Andy Herrick | P3 | Resolved | Fixed | team |
JDK-8140833 | 8u91 | Andy Herrick | P3 | Resolved | Fixed | b01 |
JDK-8139926 | 8u72 | Andy Herrick | P3 | Resolved | Fixed | b05 |
JDK-8147123 | emb-8u91 | Andy Herrick | P3 | Resolved | Fixed | b01 |
For code coverage purpose, we need to pass some vars to jvm when launching app.
But I found if there is no deployment.properties file, it will be stuck in
"C:\Program Files\Java\jre8\bin\javaw.exe" -classpath "C:\\Program Files\\Java\\jre8\\lib\\deploy.jar" com.sun.deploy.panel.JreLocator
Steps to reproduce:
1) rdp to leexlee.cn.oracle.com qgong/hello
2) delete the deployment.properties file if it exists
3) cd to dir L:/tmp, then execute
java ProcessBuilderTest
This app launches a jnlp with ProcessBuilder and pass _JAVA_OPTIONS with -javaagent value to it.
4) if the app can't be lauched and
ps -ef | grep java, shows that it gets stuck in
"C:\Program Files\Java\jre8\bin\javaw.exe" -classpath "C:\\Program Files\\Java\\jre8\\lib\\deploy.jar" com.sun.deploy.panel.JreLocator
the issue is reproduced.
if we launch any jnlp application before running ProcessBuilderTest to create a deployment.properties file, the app can be launched successfully.
Source code has been attached,
it uses jcov.jar in http://rehte.cn.oracle.com:8080/wshost/new_framework/new_framework/CodeCoverage/lib/jcov.jar
You can download the jcov.jar file, modify the path in ProcessBuilderTest.java and try it on your machine.
- backported by
-
JDK-8139926 app is stuck when launching with javaagent if there is no jre info in deployment.properties
-
- Resolved
-
-
JDK-8140833 app is stuck when launching with javaagent if there is no jre info in deployment.properties
-
- Resolved
-
-
JDK-8143435 app is stuck when launching with javaagent if there is no jre info in deployment.properties
-
- Resolved
-
-
JDK-8147123 app is stuck when launching with javaagent if there is no jre info in deployment.properties
-
- Resolved
-
- duplicates
-
JDK-7156269 app is stuck when launching with javaagent if there is no jre info in deployment.properties
-
- Closed
-
- relates to
-
JDK-8129223 Avoid invoking older versions of java from javaws launcher.
-
- Resolved
-