Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8082436 | emb-9 | Fred Gong | P3 | Resolved | Fixed | b45 |
steps to reproduce:
1) get a test jre from http://jre.us.oracle.com/java/re/jdk/9-jigsaw-m2/nightly/b40_2014-11-21-1021_1764/bundles/macosx-amd64/jre-9-ea-macosx-amd64.dmg and install it
2) get a stable JDK (8u20 or above) for launching the java test below
3) get ant 1.9.3 or above
4) get the ws from http://closedjdk.us.oracle.com/jdk9/client/deploy
5) go to directory of this ws: <ws>/test/functional
6) modify "deploy.args" to make sure parameters are correct for JRE/others, but try to intend to have different values for TOMCAT_HOME and TOMCAT_HOME_MANUAL, like we have:
TOMCAT_HOME=/Users/egtc/Desktop/tomcat1
TOMCAT_HOME_MANUAL=/Users/egtc/Desktop/tomcat2
7) export JAVA_HOME to point to that stable JDK
8) export PATH to include "ant" command
9) run the following plugin suite as:
ant -f buildpluginmanual.xml liveconnect
Note before building this target, you have to build "compile-driver" target as this liveconnect does depends on this, but somehow, no this dependency in ws. This needs to be fixed in another bug.
10) java test GUI will be launched
Expectation: at step 10), https port should be opened to be used by this suite in tomcat
Actual results: port 8443 is not available while 8080 is fine
after have the exact same value for TOMCAT_HOME and TOMCAT_HOME_MANUAL in that arg file, no issue then.
But these two parameters are not needed both in this file. This could be improved.
BTW, pls check TEST_FX_HOME is needed in jdk9 as FX is co-bundled already.
1) get a test jre from http://jre.us.oracle.com/java/re/jdk/9-jigsaw-m2/nightly/b40_2014-11-21-1021_1764/bundles/macosx-amd64/jre-9-ea-macosx-amd64.dmg and install it
2) get a stable JDK (8u20 or above) for launching the java test below
3) get ant 1.9.3 or above
4) get the ws from http://closedjdk.us.oracle.com/jdk9/client/deploy
5) go to directory of this ws: <ws>/test/functional
6) modify "deploy.args" to make sure parameters are correct for JRE/others, but try to intend to have different values for TOMCAT_HOME and TOMCAT_HOME_MANUAL, like we have:
TOMCAT_HOME=/Users/egtc/Desktop/tomcat1
TOMCAT_HOME_MANUAL=/Users/egtc/Desktop/tomcat2
7) export JAVA_HOME to point to that stable JDK
8) export PATH to include "ant" command
9) run the following plugin suite as:
ant -f buildpluginmanual.xml liveconnect
Note before building this target, you have to build "compile-driver" target as this liveconnect does depends on this, but somehow, no this dependency in ws. This needs to be fixed in another bug.
10) java test GUI will be launched
Expectation: at step 10), https port should be opened to be used by this suite in tomcat
Actual results: port 8443 is not available while 8080 is fine
after have the exact same value for TOMCAT_HOME and TOMCAT_HOME_MANUAL in that arg file, no issue then.
But these two parameters are not needed both in this file. This could be improved.
BTW, pls check TEST_FX_HOME is needed in jdk9 as FX is co-bundled already.
- backported by
-
JDK-8082436 Simplify parameters in deploy.args
-
- Resolved
-