-
Bug
-
Resolution: Done
-
Major
-
4.0.0.Final
-
None
0) In workspace, ensure workspace has 1.7 jre, then add a 1.6 jre
1) Create a web app with simple servlet, doGet() has logic: System.out.println(System.getProperty("java.version"));
2) Create server and runtime, keep vm at default for exec env
3) Start server, deploy web app, verify 1.6
4) Shutdown server
5) Switch runtime to use 1.7 jre, finish, then save server editor
6) Start server, verify webapp prints to console 1.7
7) Stop server
8) Edit runtime to use default for 1.6 again
9) finish wizard, save server editor
10) start server, run webapp, verify text says 1.6
FAIL
Step 10 fails, the 1.7 server is still chosen. This is a bug in the UI which is not properly clearing the vm flag, and is only setting it when one is chosen.