Suppress native access warning
This MR resolves 1128174
Changes:
- Add option to suppress native access warning
Note: The option is present starting from Java 17. The warning was added in Java 25. If we want to apply this change upstream, we will have to check java version and add it only for Java 25 and up.
Testing:
- rebuild in sid chroot with java 25 default
- rebuild in sid chroot
Edited by Vladimir Petko