Re: RFR: 8235960: Zero should not trigger the deprecation warning for ports

2019-12-17 Thread Mikael Vidstedt


Looks good.

Cheers,
Mikael

> On Dec 17, 2019, at 4:24 AM, John Paul Adrian Glaubitz 
>  wrote:
> 
> Hi!
> 
> On 12/16/19 10:08 PM, John Paul Adrian Glaubitz wrote:
>> On 12/16/19 10:08 PM, Mikael Vidstedt wrote:
>>> 
>>> I’m not actually sure, but just to be on the safe side I’d prefer to add 
>>> the grouping.
>> 
>> Okay, will do.
> 
> Updated revision here:
> 
>> http://cr.openjdk.java.net/~glaubitz/8235960/webrev.01/
> 
> Adrian
> 
> -- 
> .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaub...@debian.org
> `. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
>  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: RFR: 8235960: Zero should not trigger the deprecation warning for ports

2019-12-17 Thread John Paul Adrian Glaubitz
Hi!

On 12/16/19 10:08 PM, John Paul Adrian Glaubitz wrote:
> On 12/16/19 10:08 PM, Mikael Vidstedt wrote:
>>
>> I’m not actually sure, but just to be on the safe side I’d prefer to add the 
>> grouping.
> 
> Okay, will do.

Updated revision here:

> http://cr.openjdk.java.net/~glaubitz/8235960/webrev.01/

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Re: RFR: 8235960: Zero should not trigger the deprecation warning for ports

2019-12-16 Thread John Paul Adrian Glaubitz
On 12/16/19 10:08 PM, Mikael Vidstedt wrote:
> 
> I’m not actually sure, but just to be on the safe side I’d prefer to add the 
> grouping.

Okay, will do.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Re: RFR: 8235960: Zero should not trigger the deprecation warning for ports

2019-12-16 Thread Mikael Vidstedt


I’m not actually sure, but just to be on the safe side I’d prefer to add the 
grouping.

Cheers,
Mikael

> On Dec 16, 2019, at 11:45 AM, John Paul Adrian Glaubitz 
>  wrote:
> 
> On 12/16/19 8:40 PM, John Paul Adrian Glaubitz wrote:
>> Hi Mikael!
>> 
>> On 12/16/19 8:38 PM, Mikael Vidstedt wrote:
>>> You need to group the OPENJDK_TARGET_CPU_ARCH and with_jvm_variants checks. 
>>> The suggested change will incorrectly *not* produce a warning for 
>>> solaris/*/zero.
>>> 
>>> Something like this should do the trick:
>>> 
>>>if test "x$OPENJDK_TARGET_OS" = xsolaris || (test 
>>> "x$OPENJDK_TARGET_CPU_ARCH" = xsparc && test "x$with_jvm_variants" != 
>>> xzero); then
>> 
>> 
>> Thanks for the review. As far as I remember correctly, Zero is not 
>> supported, is it?
> "Zero is not supported on Solaris", I meant. Sorry.
> 
> -- 
> .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaub...@debian.org 
> `. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de 
> 
>  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: RFR: 8235960: Zero should not trigger the deprecation warning for ports

2019-12-16 Thread John Paul Adrian Glaubitz
On 12/16/19 8:40 PM, John Paul Adrian Glaubitz wrote:
> Hi Mikael!
> 
> On 12/16/19 8:38 PM, Mikael Vidstedt wrote:
>> You need to group the OPENJDK_TARGET_CPU_ARCH and with_jvm_variants checks. 
>> The suggested change will incorrectly *not* produce a warning for 
>> solaris/*/zero.
>>
>> Something like this should do the trick:
>>
>> if test "x$OPENJDK_TARGET_OS" = xsolaris || (test 
>> "x$OPENJDK_TARGET_CPU_ARCH" = xsparc && test "x$with_jvm_variants" != 
>> xzero); then
> 
> 
> Thanks for the review. As far as I remember correctly, Zero is not supported, 
> is it?
"Zero is not supported on Solaris", I meant. Sorry.

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Re: RFR: 8235960: Zero should not trigger the deprecation warning for ports

2019-12-16 Thread John Paul Adrian Glaubitz
Hi Mikael!

On 12/16/19 8:38 PM, Mikael Vidstedt wrote:
> You need to group the OPENJDK_TARGET_CPU_ARCH and with_jvm_variants checks. 
> The suggested change will incorrectly *not* produce a warning for 
> solaris/*/zero.
> 
> Something like this should do the trick:
> 
> if test "x$OPENJDK_TARGET_OS" = xsolaris || (test 
> "x$OPENJDK_TARGET_CPU_ARCH" = xsparc && test "x$with_jvm_variants" != xzero); 
> then


Thanks for the review. As far as I remember correctly, Zero is not supported, 
is it?

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Re: RFR: 8235960: Zero should not trigger the deprecation warning for ports

2019-12-16 Thread Mikael Vidstedt


You need to group the OPENJDK_TARGET_CPU_ARCH and with_jvm_variants checks. The 
suggested change will incorrectly *not* produce a warning for solaris/*/zero.

Something like this should do the trick:

if test "x$OPENJDK_TARGET_OS" = xsolaris || (test 
"x$OPENJDK_TARGET_CPU_ARCH" = xsparc && test "x$with_jvm_variants" != xzero); 
then

Cheers,
Mikael

> On Dec 15, 2019, at 3:20 AM, John Paul Adrian Glaubitz 
>  wrote:
> 
> Hi!
> 
> JDK-8234370 introduced a deprecation warning for ports that are going to be 
> removed
> in the future. The change in question checks for the target architecture and 
> operating
> system but does however does not account for the Zero variant which doesn't 
> need support
> for a specific target besides a few autonconf definitions and some #ifdef 
> magic.
> 
> This change extends the change from JDK-8234370 to additionally test whether 
> we're building
> the Zero variant. With this change, I can configure OpenJDK Zero on a 
> Linux/SPARC target
> again without getting a deprecation message.
> 
> Please review.
> 
> Thanks,
> Adrian
> 
>> [1] http://cr.openjdk.java.net/~glaubitz/8235960/webrev.00/
> 
> -- 
> .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaub...@debian.org
> `. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
>  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



RFR: 8235960: Zero should not trigger the deprecation warning for ports

2019-12-15 Thread John Paul Adrian Glaubitz
Hi!

JDK-8234370 introduced a deprecation warning for ports that are going to be 
removed
in the future. The change in question checks for the target architecture and 
operating
system but does however does not account for the Zero variant which doesn't 
need support
for a specific target besides a few autonconf definitions and some #ifdef magic.

This change extends the change from JDK-8234370 to additionally test whether 
we're building
the Zero variant. With this change, I can configure OpenJDK Zero on a 
Linux/SPARC target
again without getting a deprecation message.

Please review.

Thanks,
Adrian

> [1] http://cr.openjdk.java.net/~glaubitz/8235960/webrev.00/

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913