Re: RFR: 8239351: Give more meaningful InternalError messages in Deflater.c

2020-02-19 Thread Thomas Stüfe
+1 Gruß, Thomas On Wed, Feb 19, 2020, 10:35 Baesken, Matthias wrote: > Hello Thomas / Lance / Martin, thanks for the reviews . > > I added a little helper function, new webrev : > > > > http://cr.openjdk.java.net/~mbaesken/webrevs/8239351.1/ > > > > Best regards, Matthias > > > > > > > > I

RE: RFR: 8239351: Give more meaningful InternalError messages in Deflater.c

2020-02-19 Thread Baesken, Matthias
Hello Thomas / Lance / Martin, thanks for the reviews . I added a little helper function, new webrev : http://cr.openjdk.java.net/~mbaesken/webrevs/8239351.1/ Best regards, Matthias I like this too. +1 for factoring out throwing the error. ..Thomas On Tue, Feb 18, 2020 at 6:51 PM Martin

Re: RFR: 8239351: Give more meaningful InternalError messages in Deflater.c

2020-02-18 Thread Thomas Stüfe
I like this too. +1 for factoring out throwing the error. ..Thomas On Tue, Feb 18, 2020 at 6:51 PM Martin Buchholz wrote: > Thanks for doing this. Looks good to me. > I would probably create a tiny helper function to encapsulate the error > throw. > > On Tue, Feb 18, 2020 at 7:03 AM Baesken,

Re: RFR: 8239351: Give more meaningful InternalError messages in Deflater.c

2020-02-18 Thread Lance Andersen
I think this looks OK also > On Feb 18, 2020, at 12:50 PM, Martin Buchholz wrote: > > Thanks for doing this. Looks good to me. > I would probably create a tiny helper function to encapsulate the error > throw. > > On Tue, Feb 18, 2020 at 7:03 AM Baesken, Matthias > wrote: > >> Hello, please

Re: RFR: 8239351: Give more meaningful InternalError messages in Deflater.c

2020-02-18 Thread Martin Buchholz
Thanks for doing this. Looks good to me. I would probably create a tiny helper function to encapsulate the error throw. On Tue, Feb 18, 2020 at 7:03 AM Baesken, Matthias wrote: > Hello, please review this change to Deflater.c . > > When running the jtreg test java/util/zip/DeInflate.java , we

RFR: 8239351: Give more meaningful InternalError messages in Deflater.c

2020-02-18 Thread Baesken, Matthias
Hello, please review this change to Deflater.c . When running the jtreg test java/util/zip/DeInflate.java , we currently have errors on SLES 15.1 s390x when using the system zlib (1.2.11), while the bundled zlib (of OpenJDK) seems to be okay. What's worse, the error messages are not very