Re: java.net.URLConnection.getContent()

2025-06-15 Thread Alan Bateman
On 15/06/2025 17:33, Philip Race wrote: Perhaps these APIs should be deprecated (for removal) ? Maybe but would require a lot of analysis to understand impact as there are several ways to configure content handlers and there are stream handlers that exist outside of the JDK that might interac

Re: java.net.URLConnection.getContent()

2025-06-15 Thread Philip Race
Perhaps these APIs should be deprecated (for removal) ? For 30 years, AudioClip has been the only public type that this API returned for audio data. Clearly that won't be possible after it is removed. SoundClip is the replacement for public uses of AudioClip so it is the obvious replacement.