Skip to content

fix: preserve native load errors and check Java compatibility - #508

Closed
devopvoid wants to merge 1 commit into
mainfrom
preserve-load-errors-and-check-java-compatibility
Closed

devopvoid wants to merge 1 commit into
mainfrom
preserve-load-errors-and-check-java-compatibility

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

A failed native-library cleanup could replace the original load error and hide details such as a missing shared-library dependency. Preserve the original failure and attach cleanup failures as suppressed exceptions, with regression coverage for both successful and failed cleanup.

Use a version-controlled project.build.outputTimestamp and remove the variable Build-Date manifest entry. Add an opt-in japicmp profile for the core and media APIs against release 0.20.0, and run it in CI alongside independent classpath and modulepath consumers compiled and executed on Java 11. The consumers resolve the core, media and JavaFX APIs and exercise native factory creation and FFmpeg loading without hardware or a display.

Two existing member-level API breaks from #395 and #421 are explicitly excluded until the comparison baseline advances. JavaFX has no previous published version yet. Native build reproducibility requires further work.

The loader suite passed with seven successful cases and one platform-specific skip. Both consumer variants ran successfully on Java 11, the compatibility gate rejected a deliberately removed public class, and two fresh compilations produced identical hashes for all three Java jars and their source jars.

@devopvoid devopvoid changed the title Preserve native load errors and check Java compatibility fix: preserve native load errors and check Java compatibility Nov 1, 2026
@devopvoid devopvoid closed this Nov 1, 2026
@devopvoid
devopvoid deleted the preserve-load-errors-and-check-java-compatibility branch November 1, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant