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 - Wrong handling of FQN in transformation
Summary: Wrong handling of FQN in transformation
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Jackpot (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: _ tball
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-25 11:53 UTC by _ rkubacki
Modified: 2006-07-10 22:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.