Re: RFR: 8347334: JimageDiffGenerator code clean-ups [v4]

2025-01-15 Thread Severin Gehwolf
On Fri, 10 Jan 2025 14:58:36 GMT, Severin Gehwolf wrote: >> During code review of >> [JDK-8346239](https://bugs.openjdk.org/browse/JDK-8346239) a few comments >> were made after the PR integrated. This follow-up patch cleans this up and >> adds a unit test for the `JimageDiffGenerator` class.

Re: RFR: 8347334: JimageDiffGenerator code clean-ups [v4]

2025-01-15 Thread Matthias Baesken
On Fri, 10 Jan 2025 14:58:36 GMT, Severin Gehwolf wrote: >> During code review of >> [JDK-8346239](https://bugs.openjdk.org/browse/JDK-8346239) a few comments >> were made after the PR integrated. This follow-up patch cleans this up and >> adds a unit test for the `JimageDiffGenerator` class.

Re: RFR: 8347334: JimageDiffGenerator code clean-ups [v4]

2025-01-14 Thread Severin Gehwolf
On Fri, 10 Jan 2025 14:58:36 GMT, Severin Gehwolf wrote: >> During code review of >> [JDK-8346239](https://bugs.openjdk.org/browse/JDK-8346239) a few comments >> were made after the PR integrated. This follow-up patch cleans this up and >> adds a unit test for the `JimageDiffGenerator` class.

Re: RFR: 8347334: JimageDiffGenerator code clean-ups [v4]

2025-01-14 Thread Henry Jen
On Fri, 10 Jan 2025 14:58:36 GMT, Severin Gehwolf wrote: >> During code review of >> [JDK-8346239](https://bugs.openjdk.org/browse/JDK-8346239) a few comments >> were made after the PR integrated. This follow-up patch cleans this up and >> adds a unit test for the `JimageDiffGenerator` class.

Re: RFR: 8347334: JimageDiffGenerator code clean-ups [v4]

2025-01-14 Thread Severin Gehwolf
On Fri, 10 Jan 2025 14:58:36 GMT, Severin Gehwolf wrote: >> During code review of >> [JDK-8346239](https://bugs.openjdk.org/browse/JDK-8346239) a few comments >> were made after the PR integrated. This follow-up patch cleans this up and >> adds a unit test for the `JimageDiffGenerator` class.

Re: RFR: 8347334: JimageDiffGenerator code clean-ups [v2]

2025-01-13 Thread Archie Cobbs
On Mon, 13 Jan 2025 10:47:41 GMT, Severin Gehwolf wrote: >> (Getting into marginal returns on comments here, so my apologies for >> nitpicking) >> >> The loop could be simplified even further... >> >> while (true) { >> int bytesRead1 = is1.readNBytes(buf1, 0, buf1.length); >> int bytes

Re: RFR: 8347334: JimageDiffGenerator code clean-ups [v2]

2025-01-13 Thread Severin Gehwolf
On Thu, 9 Jan 2025 19:39:34 GMT, Archie Cobbs wrote: >> Severin Gehwolf has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Review feedback > > (Getting into marginal returns on comments here, so my apologies for > nitpicking) > > The loop

Re: RFR: 8347334: JimageDiffGenerator code clean-ups [v4]

2025-01-10 Thread Severin Gehwolf
> During code review of > [JDK-8346239](https://bugs.openjdk.org/browse/JDK-8346239) a few comments > were made after the PR integrated. This follow-up patch cleans this up and > adds a unit test for the `JimageDiffGenerator` class. > > Testing: > - [x] GHA > - [x] tools/jlink tests (including

Re: RFR: 8347334: JimageDiffGenerator code clean-ups [v2]

2025-01-10 Thread Severin Gehwolf
On Thu, 9 Jan 2025 18:51:09 GMT, Henry Jen wrote: >> Severin Gehwolf has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Review feedback > > src/jdk.jlink/share/classes/jdk/tools/jlink/internal/runtimelink/JimageDiffGenerator.java > line 13

Re: RFR: 8347334: JimageDiffGenerator code clean-ups [v2]

2025-01-10 Thread Severin Gehwolf
On Thu, 9 Jan 2025 19:39:34 GMT, Archie Cobbs wrote: > The loop could be simplified even further... Done it the latest update. - PR Comment: https://git.openjdk.org/jdk/pull/23014#issuecomment-2582276780

Re: RFR: 8347334: JimageDiffGenerator code clean-ups [v3]

2025-01-10 Thread Severin Gehwolf
> During code review of > [JDK-8346239](https://bugs.openjdk.org/browse/JDK-8346239) a few comments > were made after the PR integrated. This follow-up patch cleans this up and > adds a unit test for the `JimageDiffGenerator` class. > > Testing: > - [x] GHA > - [x] tools/jlink tests (including

Re: RFR: 8347334: JimageDiffGenerator code clean-ups [v2]

2025-01-09 Thread Archie Cobbs
On Thu, 9 Jan 2025 18:25:16 GMT, Severin Gehwolf wrote: >> During code review of >> [JDK-8346239](https://bugs.openjdk.org/browse/JDK-8346239) a few comments >> were made after the PR integrated. This follow-up patch cleans this up and >> adds a unit test for the `JimageDiffGenerator` class. >

Re: RFR: 8347334: JimageDiffGenerator code clean-ups [v2]

2025-01-09 Thread Henry Jen
On Thu, 9 Jan 2025 18:25:16 GMT, Severin Gehwolf wrote: >> During code review of >> [JDK-8346239](https://bugs.openjdk.org/browse/JDK-8346239) a few comments >> were made after the PR integrated. This follow-up patch cleans this up and >> adds a unit test for the `JimageDiffGenerator` class. >

Re: RFR: 8347334: JimageDiffGenerator code clean-ups [v2]

2025-01-09 Thread Severin Gehwolf
On Thu, 9 Jan 2025 17:49:23 GMT, Henry Jen wrote: >> Severin Gehwolf has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Review feedback > > src/jdk.jlink/share/classes/jdk/tools/jlink/internal/runtimelink/JimageDiffGenerator.java > line 13

Re: RFR: 8347334: JimageDiffGenerator code clean-ups [v2]

2025-01-09 Thread Severin Gehwolf
On Thu, 9 Jan 2025 17:44:05 GMT, Archie Cobbs wrote: >> Severin Gehwolf has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Review feedback > > src/jdk.jlink/share/classes/jdk/tools/jlink/internal/runtimelink/JimageDiffGenerator.java > line

Re: RFR: 8347334: JimageDiffGenerator code clean-ups [v2]

2025-01-09 Thread Severin Gehwolf
> During code review of > [JDK-8346239](https://bugs.openjdk.org/browse/JDK-8346239) a few comments > were made after the PR integrated. This follow-up patch cleans this up and > adds a unit test for the `JimageDiffGenerator` class. > > Testing: > - [ ] GHA > - [x] tools/jlink tests (including

Re: RFR: 8347334: JimageDiffGenerator code clean-ups

2025-01-09 Thread Henry Jen
On Thu, 9 Jan 2025 17:32:39 GMT, Severin Gehwolf wrote: > During code review of > [JDK-8346239](https://bugs.openjdk.org/browse/JDK-8346239) a few comments > were made after the PR integrated. This follow-up patch cleans this up and > adds a unit test for the `JimageDiffGenerator` class. > >

Re: RFR: 8347334: JimageDiffGenerator code clean-ups

2025-01-09 Thread Archie Cobbs
On Thu, 9 Jan 2025 17:32:39 GMT, Severin Gehwolf wrote: > During code review of > [JDK-8346239](https://bugs.openjdk.org/browse/JDK-8346239) a few comments > were made after the PR integrated. This follow-up patch cleans this up and > adds a unit test for the `JimageDiffGenerator` class. > >