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.
I has tried to make unit test for Connection support. No ConnectionCookie.Type was found after registering registering new ConnectionCookie.Type. For details look to the : openide/test/qa-functional/DataLoaderTests/DataObjectTest/SomeTest.testDataConnection test The test can be simply runned: ant -Dxtest.testtype=qa-functional -Dxtest.attribs =new
As I said in issue 45647 the whole ConnectionCookie & support are going to die. This bug is nice example that it was never used for non-persistent connections. Fixed in: src/org/openide/loaders/ConnectionSupport.java new revision: 1.3; previous revision: 1.2
v