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 8.0.1 (Build 201408251540) VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12 OS: Windows 7 User Comments: GUEST: Error ao refatorar GUEST: Working on a method that uses reflection, somehow the error shows up in the notification panel. FiruzzZ: I was writing a method when I pressed %% instead of && //in my interface Valorizable { public default boolean equals(Valorizable o1, Valorizable o2) { if (o1 instanceof ChequeTercero && o2 instanceof ChequeTercero) { Stacktrace: java.lang.AssertionError: Unexpected tree: ChequeTercero % o2 with kind: REMAINDER within: ChequeTercero % o2 with kind: REMAINDER at com.sun.tools.javac.util.Assert.error(Assert.java:133) at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.validateAnnotatedType(Attr.java:4891) at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.visitTypeTest(Attr.java:4749) at com.sun.tools.javac.tree.JCTree$JCInstanceOf.accept(JCTree.java:1846) at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) at com.sun.tools.javac.tree.TreeScanner.visitTypeTest(TreeScanner.java:254)
Created attachment 149600 [details] stacktrace
Created attachment 155643 [details] stacktrace pressed ctrl+space for completion
Created attachment 157457 [details] stacktrace .
Created attachment 157765 [details] stacktrace Edit java class: package app; /** * * @author mkhramov */ public class Application { public static void main(String[] args) { Application app = new Application(); if(app instanceof app) { } } } palace caret after instanceof app and type / The exception is thrown
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/015490523391 http://hg.netbeans.org/main/nb-javac/rev/af4a975c352b
Integrated into 'main-silver', will be available in build *201601090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/015490523391 User: Dusan Balek <dbalek@netbeans.org> Log: Issues #247570, #247595, #257005, and #257392 - fixed.