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 - NSME (JMIUtils.getExactClass(String)) from JavaHintsProvider$CastParamHintCreator.createHint
Summary: NSME (JMIUtils.getExactClass(String)) from JavaHintsProvider$CastParamHintCre...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
: 60161 (view as bug list)
Depends on:
Blocks: 59972
  Show dependency tree
 
Reported: 2005-06-17 11:53 UTC by Jesse Glick
Modified: 2005-09-05 10:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (651 bytes, text/plain)
2005-06-17 11:55 UTC, Jesse Glick
Details

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