RFR: JDK-8224028: loop initial declarations introduced by JDK-8184770 (jdwp)
Jean Christophe Beyler
jcbeyler at google.com
Thu May 16 14:26:10 UTC 2019
>From my experience, some compiler in Solaris/Windows complain about this
(or used to a year ago via the submit repo); Serguei and I had to do this
dance when we were getting the heap monitoring tests in. An alternative is
to move the file to a C++ file. Adding an extern "C" at the top would make
symbols not be mangled and it should "work" without having to go to old-C
requirements.
Thanks,
Jc
On Thu, May 16, 2019 at 5:31 AM David Holmes <david.holmes at oracle.com>
wrote:
> What compiler was used here? We shouldn't be using anything that doesn't
> handle loop variable declarations!
>
> Thanks,
> David
>
> On 16/05/2019 7:41 pm, Daniel Fuchs wrote:
> > Hi Ao Qi,
> >
> > I'm adding serviceability-dev, since this is for jdwp.
> >
> > The proposed changes look good to me - but please get
> > someone from the serviceability team to review this.
> >
> > best regards,
> >
> > -- daniel
> >
> >
> > On 16/05/2019 08:41, Ao Qi wrote:
> >> Hi,
> >>
> >> I found build is failed on CentOS 7.6, because of loop initial
> >> declarations. Could I please get reviews for this?
> >>
> >> Bug:
> >> https://bugs.openjdk.java.net/browse/JDK-8224028
> >>
> >> Webrev:
> >> http://cr.openjdk.java.net/~aoqi/8224028/webrev.00/
> >>
> >> Tested:
> >> linux-x86_64-server-release tier1
> >>
> >> Thanks,
> >> Ao Qi
> >>
> >
>
--
Thanks,
Jc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/net-dev/attachments/20190516/d973c92c/attachment.html>
More information about the net-dev
mailing list