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 202945 - Project Properties support for JavaSE 1.7
Summary: Project Properties support for JavaSE 1.7
Status: RESOLVED DUPLICATE of bug 201215
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-02 12:45 UTC by choces
Modified: 2011-10-25 23:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description choces 2011-10-02 12:45:32 UTC
Steps taken:

1º. I want to compile a module source code for Java 1.7
2º. I open Module Properties, and under Sources I want to select the Source Level: I do not have the 1.7 choice in the ComboBox presented.
3º. I'm forced to select any other source level; let's say I choose 1.6
4º. Code under that Module will not compile correctly for Java 1.7 features, so...
5º. I have to go to Important Files for the Module, open project.properties file and manually make this change:
        from: javac.source=1.6
          to: javac.source=1.7
6º. Now I can compile code for java 1.7

Any time I have to open Module Properties again, for doing any other change to them, once exiting from the properties editor, the modified line above javac.source=1.7 will be lost.
Properties will default to Source Level 1.4 and that project.properties line will disappear, or since I know what will happen, and manually change the source level to 1.6, before exiting, I will have to modify again the project.properties back to 1.7, as done above.
Comment 1 Jesse Glick 2011-10-25 21:44:34 UTC
I guess you are talking about Ant-based NBM projects? Please do not file project-type-specific issues in the generic category. Also it is a good idea to check in a newer version of the IDE (e.g. 7.1 beta or a dev build) before filing a bug report, in case your issue is already obsolete.

*** This bug has been marked as a duplicate of bug 201215 ***
Comment 2 choces 2011-10-25 23:38:32 UTC
I'm sorry, but it is not always so obvious to know in advance which category a bug should be filled in.
I do not have so deep knowledge of NetBeans project structure, to exhibit such an apparently required precision.

I see a bug, and I do my best to notify it.

On the other hand, I have notified a bug for a GA release. I don't know, and I believe I do not have to, whether this issue has been addressed in dev builds or beta releases, or not.