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.
Pretty self-explanatory. ProjectDataObject's getCookie method (or PSupport.getCompilerCookie) ignores the actual passed-in cookie class, and returns something which only implements CompilerCookie. This violates the contract of getCookie that the returned result if non-null be assignable to the requested class.
Both methods respect the actual passed-in cookie class now.
Verified.
Resolved for 3.4.x or earlier, no new info since then -> closing.