No. String#isEmpty() for example is JDK 7 only. There are subtle API
differences in the JDK between 6 and 7 (and 8) that warrant extreme
caution trying to use a JDK N+1 for a JDK N compatible product.

If this avenue fails, we can opt to use the animalsniffer plugin to
detect wrong API usage, but that is a last resort.

Martijn

On Tue, Jun 9, 2015 at 4:50 PM, Tobias Soloschenko
<[email protected]> wrote:
> Saw that it is already set - isn't this enought - is it?
>
> kind regards
>
> Tobias
>
>> Am 09.06.2015 um 15:24 schrieb Martijn Dashorst <[email protected]>:
>>
>> All,
>>
>> I'm currently trying to build a release with Maven but ran into a snag
>> that Maven 3.3 doesn't support running on java 6 anymore. However I
>> like to ensure our wicket 6.x releases are built with an actual Java 6
>> release, so I am in the process of using toolchains [1] for the
>> release building.
>>
>> Maven toolchains allow you to specify a required Java version in your
>> pom, and in your local maven settings (~/.m2/toolchains.xml) where
>> Maven can find the particular JDK version.
>>
>> This allows us to run Maven with Java 7 and compile using an actual Java 6 
>> JDK.
>>
>> Martijn



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

Reply via email to