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.
Build: NetBeans IDE 6.9 Beta (Build 201004200117) VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Windows 2003 User Comments: GUEST: Viewing java.util.StreamTokenizer class. FrantaM: Open class com.sun.org.apache.xerces.internal.impl.dv.xs.DecimalDV Stacktrace: java.lang.IllegalStateException: left=class java.lang.Short, right=class java.lang.Short at org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.visitBinary(ArithmeticUtilities.java:173) at org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.visitBinary(ArithmeticUtilities.java:64) at com.sun.tools.javac.tree.JCTree$JCBinary.accept(JCTree.java:1562) at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:67) at org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.visitBinary(ArithmeticUtilities.java:115) at org.netbeans.modules.java.hints.ArithmeticUtilities$VisitorImpl.visitBinary(ArithmeticUtilities.java:64)
Created attachment 99180 [details] stacktrace
Created attachment 99335 [details] stacktrace Opening a Java class to edit it
http://hg.netbeans.org/jet-main/rev/d7f5369e419d
Integrated into 'main-golden', will be available in build *201005250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d7f5369e419d User: Jan Lahoda <jlahoda@netbeans.org> Log: #186347: handle short and byte constants correctly.
verified
main #d7f5369e419d transplanted to release691 #ba784fb1065f
Verified in NetBeans IDE 6.9.1 Dev (Build 201007062301).