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 76849

Summary: Wrong handling of FQN in transformation
Product: contrib Reporter: _ rkubacki <rkubacki>
Component: JackpotAssignee: _ tball <tball>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description _ rkubacki 2006-05-25 11:53:00 UTC
IDE dev build from May 22, jackpot modules from AU
        org.netbeans.jackpot [1.4.4 4 060514]
        org.netbeans.modules.jackpot/1 [1.4.4 4 060514]
        org.netbeans.modules.jackpot.rules [1.2.3.3 3 060509]

I tried 'unneceseary cast' rule and get uncompilable result when running on
core/src/org/netbeans/core/DataSystem.java because 

(RepositoryListener)org.openide.util.WeakListeners.create (...)

is changed to 

WeakListeners.create(...)

but no import is added.
Comment 1 _ tball 2006-05-25 15:44:25 UTC
I'll fix this today -- thanks for the report!
Comment 2 _ tball 2006-07-10 22:28:11 UTC
Fixed.  The problem was that the import analyzer was checking the star threshold
(how many classes to explicitly import before using a starred package instead)
with a file that had several imports from the same package as the FQN.