RFR (S) 8223146 [TESTBUG] new test vmTestbase/nsk/share/ExceptionCheckingJniEnv/exceptionjni001/ fails on Windows

Jean Christophe Beyler jcbeyler at google.com
Wed May 1 02:36:27 UTC 2019


Hi David & Serguei,

@Serguei: I know from experience that submit-repo builds on various
platforms but I'm never sure what tests are actually run. Since this is a
testbug for windows, I'm just wondering if we could/should confirm it fixed
that case; I'm fairly confident since my tests with the right options show
the same exact failure on linux before the patch but still...

@David: Thanks for the review, the inclusion path is this actually

 test/hotspot/jtreg/vmTestbase/nsk/share/native/nsk_tools.h ->
 /usr/include/inttypes.h ->
/usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h ->
 /usr/include/stdint.h

I've added an explicit inclusion to the c++ file in my local branch, seemed
cleaner :)

The submit repo passed so if you could check if it did run on windows, that
would be great; or I can just submit and push and we can see, whichever you
prefer.

Thanks both for the review!
Jc

On Tue, Apr 30, 2019 at 5:54 PM David Holmes <david.holmes at oracle.com>
wrote:

> Hi Jc,
>
> On 1/05/2019 10:00 am, Jean Christophe Beyler wrote:
> > Hi all,
> >
> > (second day in a row is a "charm"; my apologies for the double post)
> >
> > I figured out the problem for this test bug, I put additional data in
> > the bug itself for tracking.
>
> Yep - never use "long" as its size will vary. :)
>
> > Webrev: http://cr.openjdk.java.net/~jcbeyler/8223146/webrev.00/
> > Bug: https://bugs.openjdk.java.net/browse/JDK-8223146
>
> Change looks okay to me. Only query is where the INT32_MIN definition is
> coming from? I see it in stdint.h which isn't included.
>
> > Note: If this solution is ok to all, I'll drop the problem list webrev
> > and push this one; if this lingers and I get LGTMs for the problem list,
> > I'll push that one and then we can work out this problem/solution.
>
> Yep that's a good plan. Better to fix the bug than ProblemList.
>
> > (I've tested this as much as I could and have pushed this on the
> > submit-repo but I'm unsure that would test this test on Windows; if
> > someone could test it, that would be perhaps a good idea as well).
>
> I can't test on Windows either. I'll check the jdk-submit job to see
> that it does run the test on Windows as expected.
>
> Thanks,
> David
>
> > Thanks for your help,
> > Jc
>


-- 

Thanks,
Jc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20190430/b75a3174/attachment.html>


More information about the serviceability-dev mailing list