JDK-7065389 : DeployCookieSelectorTest failing on windows
Type:Bug
Component:deploy
Sub-Component:deployment_toolkit
Affected Version:7-client
Priority:P2
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2011-07-11
Updated:2011-11-15
Resolved:2011-08-17
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
Most of test assertions are failing in last few builds.
Comments
EVALUATION
Regressions introduced in the 7052783.
There are 2 problems here:
1) Unicode version of InternetGetCookie seem to expect NULL value for unused parameter 2. Otherwise it does not find any cookies
2) JNI NewString expected Unicode array that should not be zero terminated as zero will be treated as character otherwise