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.
I thought 'short' was a valid datatype :-) but when for example, you do File|New|Template|Interface and try to pick a datatype from the combo box, 'short' is not a choice!
*** Bug 8782 has been marked as a duplicate of this bug. ***
I suggest to correct this bug with the pathes bellow. I corrected usage of deprecated API NotifoyDescriptor.Exception. I also searched for list of datatypes in other places and found another two lists, where 'short' and 'byte' was missing. Index: openide/src/org/openide/src/nodes/FieldCustomizer.java =================================================================== RCS file: /cvs/openide/src/org/openide/src/nodes/FieldCustomizer.java,v retrieving revision 1.8 diff -r1.8 FieldCustomizer.java 48a49,50 > "byte", // NOI18N > "short", // NOI18N 228,230c230 < TopManager.getDefault().notify( < new NotifyDescriptor.Exception(e) < ); --- > TopManager.getDefault().notifyException(e); 263,265c263 < TopManager.getDefault().notify( < new NotifyDescriptor.Exception(e) < ); --- > TopManager.getDefault().notifyException(e); 291,293c289 < TopManager.getDefault().notify( < new NotifyDescriptor.Exception(e) < ); --- > TopManager.getDefault().notifyException(e); Index: openide/src/org/openide/src/nodes/MethodCustomizer.java =================================================================== RCS file: /cvs/openide/src/org/openide/src/nodes/MethodCustomizer.java,v retrieving revision 1.8 diff -r1.8 MethodCustomizer.java 48c48,50 < "int", // NOI18N --- > "byte", // NOI18N > "short", // NOI18N > "int", // NOI18N Index: openide/src/org/openide/explorer/propertysheet/editors/MethodParameterPanel.java =================================================================== RCS file: /cvs/openide/src/org/openide/explorer/propertysheet/editors/MethodParameterPanel.java,v retrieving revision 1.7 diff -r1.7 MethodParameterPanel.java 34d33 < "int", // NOI18N 35a35 > "byte", // NOI18N 37c37,39 < "long", // NOI18N --- > "short", // NOI18N > "int", // NOI18N > "long", // NOI18N
[010130_1] Verified
Resolved for 3.4.x or earlier, no new info since then -> closing.
Reorganization of java component