skrcode opened a new pull request, #731: URL: https://github.com/apache/karaf-decanter/pull/731
Companion fix for #729. OSHI 7 removed `OSProcess#getResidentSetSize`; this switches the collector to `getResidentMemory` while preserving Decanter’s existing `residentSetSize` event key. It also aligns the direct JNA dependencies with the `-jpms` artifacts brought by OSHI 7, avoiding duplicate JNA variants in the bundle. Verification on JDK 17: - `mvn -B -T 1C -pl collector/oshi -am verify -Prat` - 2 tests passed; bundle generation and RAT passed with 0 unapproved files - `mvn -B -T 1C -pl collector/oshi -am dependency:tree -Dincludes=net.java.dev.jna:* -DskipTests` shows only `jna-jpms` and `jna-platform-jpms` 5.19.1 - `git diff --check` The same verification was repeated on disposable JAIPilot Remote hardware at the exact Dependabot revision; the workspace and uploaded source were deleted after completion. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
