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 - Source code conversion
Summary: Source code conversion
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.2.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-23 23:02 UTC by MCEmperor
Modified: 2013-09-02 14:24 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.