Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v7]

2022-11-16 Thread David Holmes
On Thu, 17 Nov 2022 01:55:44 GMT, David Holmes wrote: >> Lutz Schmidt has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - 8296709: Copyright, descriptive text, @compile directive removed >> - 8296709: Fix test run spec, exclude jdwp agent

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v7]

2022-11-16 Thread David Holmes
On Wed, 16 Nov 2022 12:00:56 GMT, Lutz Schmidt wrote: >> This small change fixes a warning that may pop up during runtime. May I >> please request reviews? Thank you! > > Lutz Schmidt has updated the pull request incrementally with two additional > commits since the last revision: > > - 82967

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v7]

2022-11-16 Thread Kevin Walls
On Wed, 16 Nov 2022 12:00:56 GMT, Lutz Schmidt wrote: >> This small change fixes a warning that may pop up during runtime. May I >> please request reviews? Thank you! > > Lutz Schmidt has updated the pull request incrementally with two additional > commits since the last revision: > > - 82967

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v7]

2022-11-16 Thread Lutz Schmidt
On Wed, 16 Nov 2022 12:00:56 GMT, Lutz Schmidt wrote: >> This small change fixes a warning that may pop up during runtime. May I >> please request reviews? Thank you! > > Lutz Schmidt has updated the pull request incrementally with two additional > commits since the last revision: > > - 82967

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v7]

2022-11-16 Thread Christoph Langer
On Wed, 16 Nov 2022 12:00:56 GMT, Lutz Schmidt wrote: >> This small change fixes a warning that may pop up during runtime. May I >> please request reviews? Thank you! > > Lutz Schmidt has updated the pull request incrementally with two additional > commits since the last revision: > > - 82967

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v7]

2022-11-16 Thread Lutz Schmidt
> This small change fixes a warning that may pop up during runtime. May I > please request reviews? Thank you! Lutz Schmidt has updated the pull request incrementally with two additional commits since the last revision: - 8296709: Copyright, descriptive text, @compile directive removed - 8296

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v6]

2022-11-16 Thread Lutz Schmidt
On Tue, 15 Nov 2022 13:38:51 GMT, Christoph Langer wrote: >> Lutz Schmidt has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 8296709: use multiple test ids > > test/jdk/tools/launcher/TestXcheckJNIWarnings.java line 31: > >> 29: * @test i

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v6]

2022-11-15 Thread Serguei Spitsyn
On Tue, 15 Nov 2022 12:58:12 GMT, Lutz Schmidt wrote: >> This small change fixes a warning that may pop up during runtime. May I >> please request reviews? Thank you! > > Lutz Schmidt has updated the pull request incrementally with one additional > commit since the last revision: > > 8296709

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v6]

2022-11-15 Thread Christoph Langer
On Tue, 15 Nov 2022 12:58:12 GMT, Lutz Schmidt wrote: >> This small change fixes a warning that may pop up during runtime. May I >> please request reviews? Thank you! > > Lutz Schmidt has updated the pull request incrementally with one additional > commit since the last revision: > > 8296709

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v6]

2022-11-15 Thread Lutz Schmidt
> This small change fixes a warning that may pop up during runtime. May I > please request reviews? Thank you! Lutz Schmidt has updated the pull request incrementally with one additional commit since the last revision: 8296709: use multiple test ids - Changes: - all: https://g

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v5]

2022-11-14 Thread Chris Plummer
On Mon, 14 Nov 2022 14:19:48 GMT, Lutz Schmidt wrote: >> This small change fixes a warning that may pop up during runtime. May I >> please request reviews? Thank you! > > Lutz Schmidt has updated the pull request incrementally with one additional > commit since the last revision: > > 8296709

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v5]

2022-11-14 Thread Kevin Walls
On Mon, 14 Nov 2022 14:19:48 GMT, Lutz Schmidt wrote: >> This small change fixes a warning that may pop up during runtime. May I >> please request reviews? Thank you! > > Lutz Schmidt has updated the pull request incrementally with one additional > commit since the last revision: > > 8296709

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v3]

2022-11-14 Thread Lutz Schmidt
On Mon, 14 Nov 2022 11:36:21 GMT, Christoph Langer wrote: > Hm, I also don't like the code duplication... Code duplication is gone. Just one test file with two @run tags. - PR: https://git.openjdk.org/jdk/pull/11083

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v5]

2022-11-14 Thread Lutz Schmidt
> This small change fixes a warning that may pop up during runtime. May I > please request reviews? Thank you! Lutz Schmidt has updated the pull request incrementally with one additional commit since the last revision: 8296709: use multiple @run tags instead of multiple files -

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v3]

2022-11-14 Thread Christoph Langer
On Mon, 14 Nov 2022 11:07:52 GMT, Lutz Schmidt wrote: > > Couldn't you simply add a second `doExec` statement in the existing test > > rather than copy the entire test file? > > Actually, I first did it that way. And I did not like it. It's not just the > doExec, you need to duplicate the chec

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v4]

2022-11-14 Thread Lutz Schmidt
> This small change fixes a warning that may pop up during runtime. May I > please request reviews? Thank you! Lutz Schmidt has updated the pull request incrementally with two additional commits since the last revision: - 8296709: typo - 8296709: Copyright year and more specific summary text

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v3]

2022-11-14 Thread Lutz Schmidt
On Sun, 13 Nov 2022 23:51:28 GMT, David Holmes wrote: > Couldn't you simply add a second `doExec` statement in the existing test > rather than copy the entire test file? Actually, I first did it that way. And I did not like it. It's not just the doExec, you need to duplicate the checks as well

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v3]

2022-11-14 Thread Lutz Schmidt
On Fri, 11 Nov 2022 23:01:12 GMT, Christoph Langer wrote: >> Lutz Schmidt has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 8296709: fix testcase naming > > test/jdk/tools/launcher/TestXcheckJdwpJNIWarnings.java line 2: > >> 1: /* >> 2:

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v3]

2022-11-13 Thread David Holmes
On Fri, 11 Nov 2022 16:26:59 GMT, Lutz Schmidt wrote: >> This small change fixes a warning that may pop up during runtime. May I >> please request reviews? Thank you! > > Lutz Schmidt has updated the pull request incrementally with one additional > commit since the last revision: > > 8296709

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v3]

2022-11-11 Thread Christoph Langer
On Fri, 11 Nov 2022 16:26:59 GMT, Lutz Schmidt wrote: >> This small change fixes a warning that may pop up during runtime. May I >> please request reviews? Thank you! > > Lutz Schmidt has updated the pull request incrementally with one additional > commit since the last revision: > > 8296709

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v3]

2022-11-11 Thread Lutz Schmidt
> This small change fixes a warning that may pop up during runtime. May I > please request reviews? Thank you! Lutz Schmidt has updated the pull request incrementally with one additional commit since the last revision: 8296709: fix testcase naming - Changes: - all: https://git

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v2]

2022-11-11 Thread Lutz Schmidt
On Fri, 11 Nov 2022 15:33:20 GMT, Lutz Schmidt wrote: >> This small change fixes a warning that may pop up during runtime. May I >> please request reviews? Thank you! > > Lutz Schmidt has updated the pull request incrementally with one additional > commit since the last revision: > > 8296709

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions [v2]

2022-11-11 Thread Lutz Schmidt
> This small change fixes a warning that may pop up during runtime. May I > please request reviews? Thank you! Lutz Schmidt has updated the pull request incrementally with one additional commit since the last revision: 8296709: add testcase with active jdwp agent - Changes: -

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions

2022-11-11 Thread Lutz Schmidt
On Fri, 11 Nov 2022 06:26:19 GMT, Christoph Langer wrote: >> This small change fixes a warning that may pop up during runtime. May I >> please request reviews? Thank you! > > Maybe you could also call "bin/java -Xcheck:jni > -agentlib:jdwp=transport=dt_socket,server=y,suspend=n -version" which

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions

2022-11-10 Thread David Holmes
On Fri, 11 Nov 2022 06:26:19 GMT, Christoph Langer wrote: >> This small change fixes a warning that may pop up during runtime. May I >> please request reviews? Thank you! > > Maybe you could also call "bin/java -Xcheck:jni > -agentlib:jdwp=transport=dt_socket,server=y,suspend=n -version" which

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions

2022-11-10 Thread Christoph Langer
On Thu, 10 Nov 2022 09:02:02 GMT, Lutz Schmidt wrote: > This small change fixes a warning that may pop up during runtime. May I > please request reviews? Thank you! Maybe you could also call "bin/java -Xcheck:jni -agentlib:jdwp=transport=dt_socket,server=y,suspend=n -version" which would show

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions

2022-11-10 Thread Lutz Schmidt
On Thu, 10 Nov 2022 12:20:58 GMT, David Holmes wrote: > Can the test be augmented to catch this case too? David, the test already catches both warnings. The warnings are only issued under special circumstances. That's why everything looks fine in most cases. SAP's commercial vm has a feature c

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions

2022-11-10 Thread David Holmes
On Thu, 10 Nov 2022 09:02:02 GMT, Lutz Schmidt wrote: > This small change fixes a warning that may pop up during runtime. May I > please request reviews? Thank you! Can the test be augmented to catch this case too? - PR: https://git.openjdk.org/jdk/pull/11083

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions

2022-11-10 Thread Lutz Schmidt
On Thu, 10 Nov 2022 09:02:02 GMT, Lutz Schmidt wrote: > This small change fixes a warning that may pop up during runtime. May I > please request reviews? Thank you! Thanks for the review, Kevin! I'm looking into the "exceeds capacity" warning separately. Need to find out who is holding so man

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions

2022-11-10 Thread Serguei Spitsyn
On Thu, 10 Nov 2022 09:02:02 GMT, Lutz Schmidt wrote: > This small change fixes a warning that may pop up during runtime. May I > please request reviews? Thank you! Looks good. Thank you for taking care about this. Serguei - Marked as reviewed by sspitsyn (Reviewer). PR: https://

Re: RFR: 8296709: WARNING: JNI call made without checking exceptions

2022-11-10 Thread Kevin Walls
On Thu, 10 Nov 2022 09:02:02 GMT, Lutz Schmidt wrote: > This small change fixes a warning that may pop up during runtime. May I > please request reviews? Thank you! Looks good I think. Got to check for those exceptions! The example invocation also shows the me "exceeds capacity" warning, whic

RFR: 8296709: WARNING: JNI call made without checking exceptions

2022-11-10 Thread Lutz Schmidt
This small change fixes a warning that may pop up during runtime. May I please request reviews? Thank you! - Commit messages: - 8296709: WARNING: JNI call made without checking exceptions Changes: https://git.openjdk.org/jdk/pull/11083/files Webrev: https://webrevs.openjdk.org/?re