In particular:
- don't try to compile the Sun's audio interface --
apparently, we never used it and it becomes a problem
with newer JDKs, where the long obsolete sun.audio.*
is finally removed ^
- try harder to find an audio format suitable for the
bundled sounds; this may still not be enough on modern
hardware, which expects sampling rates much higher than 8kHz.
- don't use AWT's getPeer() method -- long obsolete, it
is now removed too.
- constructing Integer from int and the likes are obsolete
too, generally, the primitives can be used directly --
all of these are concentrated in the (large) patch-warnings.
- use standard java.awt.Desktop function to open pages in
the user's web-browser.
PR: 291693