This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 17969 - CookieSetTest.testAddRemove fails
Summary: CookieSetTest.testAddRemove fails
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Nodes (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2001-11-22 11:09 UTC by Jaroslav Tulach
Modified: 2008-12-22 23:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proposed patch to fix the problem (8.64 KB, patch)
2001-11-22 14:42 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2001-11-22 11:09:35 UTC
The test fails when one adds 

cookieSet.add (somethingImplementsI1);
cookieSet.add (somethingImplementsI1andI2);
cookieSet.remove (somethingImplementsI1);

then

cookieSet.getCookie (I1.class) == null
Comment 1 Jaroslav Tulach 2001-11-22 14:42:24 UTC
Created attachment 3538 [details]
Proposed patch to fix the problem
Comment 2 Jaroslav Tulach 2001-11-22 14:43:26 UTC
Petr please review and apply the patch and also consider improving the
documentation, because at least in the add method it does not reflect
reality.
Comment 3 Petr Hrebejk 2001-11-22 17:46:54 UTC
The patch is applyied. I've created P2 task #17997 assigned to me
to improve the documentation and tests.
Comment 4 Quality Engineering 2003-07-01 15:59:34 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified
Comment 5 Quality Engineering 2003-07-01 16:19:16 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.