icedtea-sound and java9
Fridrich Strba
fridrich.strba at suse.com
Tue Nov 7 15:42:45 UTC 2017
On 07/11/17 16:32, Andrew Hughes wrote:
> I think it may be intended to be appended to sound.properties (if that
> still exists
> in 9), though that would have the effect of enabling the provider as default.
I found in the code just one place where the sound.properties is parsed,
in JDK13Services.java
The experiment shows that icedtea.sound is used as default with empty
sound.properties. It is maybe because of the order the providers are
sorted out in the modules:
jlink --module-path /usr/lib64/jvm/java-9-openjdk-9/jmods
--suggest-providers javax.sound.sampled.spi.MixerProvider
Suggested providers:
icedtea.sound provides javax.sound.sampled.spi.MixerProvider used by
java.desktop
java.desktop provides javax.sound.sampled.spi.MixerProvider used by
java.desktop
Maybe it goes in alphabetical order, since when the module was called
org.icedtea.sound, it was still using the internal one.
Concerning the pulseaudio.properties, it looks like it might have used
some icedtea modification/patch. But I didn't find any place it would be
parsed in jdk9 or in icedtea-3.6.0. Maybe just my eyes, maybe it is not
used.
Cheers
Fridrich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20171107/d16d77ee/signature.asc>
More information about the distro-pkg-dev
mailing list