RFR [9] 8138978: Examine usages of sun.misc.IOUtils
Chris Hegarty
chris.hegarty at oracle.com
Wed Oct 7 19:57:16 UTC 2015
On 7 Oct 2015, at 20:15, Chris Hegarty <chris.hegarty at oracle.com> wrote:
> On 7 Oct 2015, at 20:04, Alan Bateman <Alan.Bateman at oracle.com> wrote:
>
>> On 07/10/2015 19:19, Chris Hegarty wrote:
>>> This primary motivation behind this bug [1] is the clearing out of
>>> sun.misc, in preparation for JEP 260 [2].
>>>
>>>
>> It would be nice if com/sun/jndi/ldap/Connection.java didn't have to use sun.security.util.IOUtils,
>
> It certainly would be nice.
>
>> could that one be fixed?
>
> I didn’t look too hard at this because sun.security.util
> is already exported to java.naming, but yes I could
> write a readFully variant that works for this. I’ll take a
> closer look.
I updated Connection with a readFully that has the same
semantics as IOUtils.
http://cr.openjdk.java.net/~chegar/8138978/webrev.01/jdk/
-Chris.
More information about the core-libs-dev
mailing list