Compact profiles broken?
Uwe Schindler
uschindler at apache.org
Mon May 23 17:33:50 UTC 2016
Hi,
> I think it would be reasonable to relax the restrictions on -source
> -target if they match the value for -release. The main goal here is to
> avoid having to resolve conflicts, but if there's no conflict, there's
> no problem.
>
> I think that allowing the older form of numbers (1.8, 1.7, etc) for
> older releases is OK too, in which case the check between -source and
> -release should (probably) be on the normalized numbers, i.e. although
> perverse, the intent of -source 1.7 -release 7 is clear.
That's exactly how I had this in mind!
One other thing: The current warning about bootstrap classpath when you only have "-source -target" could maybe extended to notify the user that it might be better to use "-release" instead:
warning: [options] bootstrap class path not set in conjunction with -source 1.8
Maybe change to something like:
warning: [options] bootstrap class path not set in conjunction with -source 1.8; consider using -target 1.8
Uwe
-----
Uwe Schindler
uschindler at apache.org
ASF Member, Apache Lucene PMC / Committer
Bremen, Germany
http://lucene.apache.org/
More information about the jigsaw-dev
mailing list