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 60183

Summary: NSME (JMIUtils.getExactClass(String)) from JavaHintsProvider$CastParamHintCreator.createHint
Product: java Reporter: Jesse Glick <jglick>
Component: EditorAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED FIXED    
Severity: blocker CC: jtulach
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 59972    
Attachments: Stack trace

Description Jesse Glick 2005-06-17 11:53:48 UTC
org.netbeans.modules.java.hints/1 [1.3.0.1.1.3 1 200506082117]
org.netbeans.modules.java.editor/1 [1.1 050616]
org.netbeans.modules.java.editor.lib/1 [1.1 050616]

Looks like Java Hints was using some classes from the editor which were for some
reason public (though they should not be! or only for friends):

            <public-packages>
                <package>org.netbeans.modules.editor.java</package>
            </public-packages>

Thus java/editor just broke its API by deleting a method, so it needs to declare
a new major release version to ensure that old clients are quietly disabled.
Comment 1 Jesse Glick 2005-06-17 11:55:42 UTC
Created attachment 22766 [details]
Stack trace
Comment 2 Tomas Hurka 2005-06-17 13:33:19 UTC
*** Issue 60161 has been marked as a duplicate of this issue. ***
Comment 3 Tomas Hurka 2005-06-17 14:36:55 UTC
It turns out that there should be no change in getExactClass() method. The change in in getExactClass() 
was rolled back.

Checking in JMIUtils.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/JMIUtils.java,v  <--  JMIUtils.java
new revision: 1.32; previous revision: 1.31
done

This fix should go to q-build branch too.
Comment 4 Tomas Hurka 2005-06-20 09:29:30 UTC
Integrated in q-build branch QBE200506142000

Checking in JMIUtils.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/JMIUtils.java,v  <--  JMIUtils.java
new revision: 1.31.2.1; previous revision: 1.31
done
Comment 5 Jiri Prox 2005-07-14 11:10:33 UTC
Jesse, can you, please, verify this issue? Thans.