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 252261 - wrong source format
Summary: wrong source format
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-06 08:23 UTC by muellermi
Modified: 2015-06-18 02:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (112.54 KB, text/plain)
2015-05-06 08:23 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2015-05-06 08:23:02 UTC
Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.20-b23


- use NetBeans with Java 8 SDK as default
- create a new (Maven) project
NB creates a new project using the JDK 8, but sets seource to 1.7
--> should be 1.8

and should be 1.7 when using JDK 7

--> always set default source format to JDK version (user may change if needed)
Comment 1 muellermi 2015-05-06 08:23:06 UTC
Created attachment 153535 [details]
IDE log
Comment 2 Tomas Stupka 2015-06-16 16:22:22 UTC
fixed in jet-main #e58a45364043
Comment 3 Quality Engineering 2015-06-18 02:41:58 UTC
Integrated into 'main-silver', will be available in build *201506180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e58a45364043
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #252261 - wrong source format