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.
Summary: | AssertionError at com.sun.tools.javac.util.Assert.error(Assert.java:126) | ||
---|---|---|---|
Product: | java | Reporter: | henri127 <henri127> |
Component: | Compiler | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
henri127
2015-03-27 15:13:30 UTC
The code is invalid, '!' operator cannot be used on int and java does not support arrays of functions. However the internal compiler crashes when compiling the source, so the errors are not highlighted Caused: java.lang.AssertionError at com.sun.tools.javac.util.Assert.error(Assert.java:126) at com.sun.tools.javac.util.Assert.check(Assert.java:45) at com.sun.tools.javac.util.Bits.isMember(Bits.java:245) at com.sun.tools.javac.comp.Flow$AssignAnalyzer.checkInit(Flow.java:2528) at com.sun.tools.javac.comp.Flow$AbstractAssignAnalyzer.checkInit(Flow.java:1607) at com.sun.tools.javac.comp.Flow$AbstractAssignAnalyzer. .... Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/53a2a61a32fc http://hg.netbeans.org/nb-javac/rev/a38317016d97 Integrated into 'main-silver', will be available in build *201504160452* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/53a2a61a32fc User: Dusan Balek <dbalek@netbeans.org> Log: Issues #236354, #251462, #251477, and #251809 - fixed. |