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 12618 - The MethodDescriptor "loadKeyMap" isn't being generated correctly.
Summary: The MethodDescriptor "loadKeyMap" isn't being generated correctly.
Status: CLOSED DUPLICATE of bug 14926
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-06-06 14:41 UTC by Steve Ireland
Modified: 2003-06-30 16:43 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 Steve Ireland 2001-06-06 14:41:21 UTC
The MethodDescriptor "loadKeyMap" isn't being generated correctly. The 
following generated code causes an exception to take place when trying to drop 
the bean onto a pallet.  Note the  "[L" being generated as part of the class 
name.

methods[METHOD_loadKeymap10] = new MethodDescriptor ( 
com.mgroupsys.util.LimitedTextField.class.getMethod("loadKeymap", new Class[] 
{javax.swing.text.Keymap.class, Class.forName
("[Ljavax.swing.text.JTextComponent.KeyBinding;"), Class.forName
("[Ljavax.swing.Action;")}));
      methods[METHOD_loadKeymap10].setDisplayName ( "" );
Comment 1 Petr Suchomel 2001-09-25 14:25:23 UTC
The [L is OK. Bad thing is that inner class KeyBinding has bad 
signature [Ljavax.swing.text.JTextComponent.KeyBinding; instead 
[Ljavax.swing.text.JTextComponent$KeyBinding; ( note $ for inner 
class )
Comment 2 Petr Suchomel 2001-09-26 10:28:45 UTC
org.openide.src.ClassElement.forName(FQN) return null if FQN includes 
innerclass.
Reassigning to clazz
Comment 3 Tomas Hurka 2001-09-26 15:32:20 UTC

*** This issue has been marked as a duplicate of 14926 ***
Comment 4 Quality Engineering 2003-06-30 16:39:53 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 5 Quality Engineering 2003-06-30 16:43:43 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.