(urgent) RFR: JDK-8171245: Solaris builds fails after JDK-8170663

Naoto Sato naoto.sato at oracle.com
Wed Dec 14 18:24:15 UTC 2016


Looks good.

Naoto

On 12/14/16 10:23 AM, Erik Joelsson wrote:
> Hello,
>
> Please review this small fix for a warning in java_md_solinux.c which
> was introduced with JDK-8170663. The error message is:
>
> "/opt/jprt/jprtadm/erik/jdk9-dev/jdk/src/java.base/unix/native/libjli/java_md_solinux.c",
> line 519: error: declaration can not follow a statement
> (E_DECLARATION_IN_CODE)
>
> My attempted fix just adds a new scope around the new variable
> declaration and it's use. That pattern seems to be used several times
> already in the file.
>
> This bug is currently preventing all Solaris builds at Oracle.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8171245
>
> Webrev: http://cr.openjdk.java.net/~erikj/8171245/webrev.01/
>
> /Erik
>


More information about the core-libs-dev mailing list