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

Summary: The MethodDescriptor "loadKeyMap" isn't being generated correctly.
Product: java Reporter: Steve Ireland <sireland>
Component: UnsupportedAssignee: Tomas Hurka <thurka>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

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.