d/t/build-lib-java: add --enable-native-access=ALL-UNNAMED to suppress Java 25 native access warning.
This MR resolves #1128374.
Changes:
- suppress native access warning when running autopkgtest.
Testing:
- Ran autopkgtests with Java 25 default:
$ autopkgtest --apt-pocket=proposed=src:java-common -U -B libssw/ -- lxd ubuntu-daily:resolute
...
autopkgtest [11:09:29]: test run-example: -----------------------]
autopkgtest [11:09:29]: test run-example: - - - - - - - - - - results - - - - - - - - - -
run-example PASS
autopkgtest [11:09:30]: @@@@@@@@@@@@@@@@@@@@ summary
build-lib PASS
build-lib-java PASS
run-example PASS