United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-8007315 : HttpURLConnection.filterHeaderField method returns null where empty string is expected

Details
Type:
Bug
Submit Date:
2013-01-31
Status:
Resolved
Updated Date:
2013-05-11
Project Name:
JDK
Resolved Date:
2013-02-19
Component:
core-libs
OS:
Sub-Component:
java.net
CPU:
Priority:
P2
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:

Related Reports
Backport:

Sub Tasks

Description
SHORT SUMMARY: NPE seen in HttpSOAPConnection.post method
INDICATORS: 
NPE occurring in 
com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post
when run through a plugin/webstart environment.
COUNTER INDICATORS:
TRIGGERS:
Presense of only HttpOnly headers in the Set-Cookie headers value which 
results in a
null value being passed to calling code in plugin environment.
KNOWN WORKAROUND:
N/A
PRESENT SINCE:
7u4 (https://jbs.oracle.com/bugs/browse/JDK-7095980)
HOW TO VERIFY:
Will write a regression testcase.
NOTES FOR SE:
REGRESSION: Y
 

                                    

Comments
URL:   http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/01b6b0dd2006
User:  lana
Date:  2013-03-15 17:04:08 +0000

                                     
2013-03-15
There isn't enough information here to know if this bug should be in core-libs/java.net or xml/jax-ws.
                                     
2013-01-31
Suggested fix is to modify HttpURLConnection.filterHeaderField method so that "" <empty string> instead of null is returned when an empty set of field values is arrived at after filtering out the necessary fields.
                                     
2013-01-31
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/01b6b0dd2006
User:  coffeys
Date:  2013-02-19 14:12:38 +0000

                                     
2013-02-19



Hardware and Software, Engineered to Work Together