HomeFreeBSD

games/jin: refresh, make work with newer Java

Description

games/jin: refresh, make work with newer Java

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

Details

Provenance
Mikhail Teterin <mi@FreeBSD.org>Authored on Tue, Dec 16, 10:58 AM
ronald_klop.wsCommitted on Tue, Dec 16, 10:59 AM
Parents
R11:ad4b417832a4: misc/iso-codes: Fix 4ae07eaae285bbb61cebc9bb287d67f9c3200124
Branches
Unknown
Tags
Unknown