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 270647

Summary: missing error tooltip on module-info.java when jdk9 but source level 1.8
Product: java Reporter: Tomas Stupka <tstupka>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Tomas Stupka 2017-05-15 12:05:23 UTC
Product Version = NetBeans IDE Dev (Build 20170511-8c9abee530fb)
Operating System = Mac OS X version 10.11.2 running on x86_64
Java; VM; Vendor = 1.8.0_102
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.102-b07

Reproducibility: Happens every time

- have a simple java project (maven/j2se)
- jdk9 and module-info.java
- but source level is set to 1.8 (incorrectly)

module-info in projects view is annotated with an error badge, but there is no mention regarding the wrong source level in the error tooltip 
on the other hand - action items lists the proper error description - "modules are not supported in -source 1.8 ... "
Comment 1 Dusan Balek 2017-05-16 07:52:42 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/af1b72e3d967
Comment 2 Quality Engineering 2017-05-18 01:53:12 UTC
Integrated into 'main-silver', will be available in build *201705180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/af1b72e3d967
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #270647 - missing error tooltip on module-info.java when jdk9 but source level 1.8 - fixed.