-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b100
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8149208 | 8u101 | Victor Drozdov | P3 | Resolved | Fixed | b01 |
JDK-8144912 | 8u92 | Victor Drozdov | P3 | Resolved | Fixed | b01 |
JDK-8155289 | emb-8u101 | Victor Drozdov | P3 | Resolved | Fixed | b01 |
Testing env: ubuntu 14, jre9 b92
Crystal created a test to cover JDK-8131978. In the test, it sends a request to servlet to set a custom cookie, then use default cookie handler to read all the cookies, then check if the custom cookie and JSESSIONID can be got.
On windows: both the custom cookie and JSESSIONID can be got. But on linux only the custom cookie can be got. See trace files below.
Windows: http://aurora-ds3.us.oracle.com:9502/runs/01138/1138879.ManualSubmit/1138879.ManualSubmit-1/html/javaws/JawsCookies/JawsCookiesTest_testCookieHandlerDefaultApplication.trace, you can see >>>> CookieHandler header value: JSESSIONID=1C9E1384D306AF9A6EB993B86BB8F6DC; MyTest=5
Linux: http://aurora-ds3.us.oracle.com:9502/runs/01163/1163937.ManualSubmit/1163937.ManualSubmit-1/html/javaws/JawsCookies/JawsCookiesTest_testCookieHandlerDefaultApplication.trace, you can only see >>>> CookieHandler header value: MyTest=5
Steps to reproduce:
- Download http://rehte.cn.oracle.com:8080/wshost/reproduce/8143294/apache-tomcat-6.0.26.zip, and unzip it
- Start tomcat
- Add http://127.0.0.1:8080 in ESL
- Launch http://127.0.0.1:8080/JawsCookies/jnlp/testCookieHandlerDefaultApplication.jnlp, check the trace file, if there is only CookieHandler header value: MyTest=5, no JSESSIONID in the same line, bug is reproduced.
Source code location: http://rehte.cn.oracle.com:8080/wshost/deploy_dev_webrev/test/functional/javaws/JawsCookies/src/CookieHandlerDefaultApplet.java
Crystal created a test to cover JDK-8131978. In the test, it sends a request to servlet to set a custom cookie, then use default cookie handler to read all the cookies, then check if the custom cookie and JSESSIONID can be got.
On windows: both the custom cookie and JSESSIONID can be got. But on linux only the custom cookie can be got. See trace files below.
Windows: http://aurora-ds3.us.oracle.com:9502/runs/01138/1138879.ManualSubmit/1138879.ManualSubmit-1/html/javaws/JawsCookies/JawsCookiesTest_testCookieHandlerDefaultApplication.trace, you can see >>>> CookieHandler header value: JSESSIONID=1C9E1384D306AF9A6EB993B86BB8F6DC; MyTest=5
Linux: http://aurora-ds3.us.oracle.com:9502/runs/01163/1163937.ManualSubmit/1163937.ManualSubmit-1/html/javaws/JawsCookies/JawsCookiesTest_testCookieHandlerDefaultApplication.trace, you can only see >>>> CookieHandler header value: MyTest=5
Steps to reproduce:
- Download http://rehte.cn.oracle.com:8080/wshost/reproduce/8143294/apache-tomcat-6.0.26.zip, and unzip it
- Start tomcat
- Add http://127.0.0.1:8080 in ESL
- Launch http://127.0.0.1:8080/JawsCookies/jnlp/testCookieHandlerDefaultApplication.jnlp, check the trace file, if there is only CookieHandler header value: MyTest=5, no JSESSIONID in the same line, bug is reproduced.
Source code location: http://rehte.cn.oracle.com:8080/wshost/deploy_dev_webrev/test/functional/javaws/JawsCookies/src/CookieHandlerDefaultApplet.java
- backported by
-
JDK-8144912 cookie handler can't get JSESSIONID on linux
-
- Resolved
-
-
JDK-8149208 cookie handler can't get JSESSIONID on linux
-
- Resolved
-
-
JDK-8155289 cookie handler can't get JSESSIONID on linux
-
- Resolved
-