Re: JCommander(java.lang.Object,java.lang.String...) has been deprecated
Yes, my nightly build script looks for deprecation warnings. (It’s only active on JDK 9 and higher, because the “suppress” annotation doesn’t work on JDK 8, and we have some uses of deprecated APIs — such as implementing interfaces — that we cannot remove.)
> On Sep 22, 2018, at 5:22 PM, Kevin Risden <krisden@xxxxxxxxxx> wrote:
> I can take a look.
> How did you find the warning other than reading the build output?
> Not sure if there is a flag we can set during compiling that would fail the
> build for issues like these.
> Kevin Risden
> On Sat, Sep 22, 2018, 19:54 Julian Hyde <jhyde@xxxxxxxxxx> wrote:
>> There is a new deprecation warning in Avatica. We try to keep these to
>> Kevin, It was probably your CALCITE-2486 change. Can you fix please?
>>> [INFO] Compiling 2 source files to
>> JCommander(java.lang.Object,java.lang.String...) in
>> com.beust.jcommander.JCommander has been deprecated