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 228918

Summary: Source code conversion
Product: java Reporter: MCEmperor
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal CC: MCEmperor
Priority: P3    
Version: 7.2.1   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description MCEmperor 2013-04-23 23:02:23 UTC
I've made some utilities which I can use in several applications I'm making. The most of the applications support source 1.7, but some of them don't (for example, Android applications).
For example, diamond operators, try-with-resources and switching over strings are not supported in a Java version below 1.7.

Suppose I have a project 'Artis' with source code 1.7, and a project 'Brick' with source code below 1.7, say, 1.6. Now these projects refer to a project called, let's say, 'Lemon', with source code 1.7, which contains some library files.

When I build project 'Brick', I want the source code of 'Lemon' to be converted to 1.6 code.

It should be not that hard to make, I guess, and that enhancement would be very nice.