Re: Brainpool curves

2015-10-07 Thread Tomas Gustavsson
Hi, If the JDK devs are interested we have a patch against the latest JDK 7 with Brainpool support through PKCS#11, so we can use Brainpool curves with HSMs (used in production). For SW based crypto we just use BouncyCastle (http://www.bouncycastle.org). Regards, Tomas ** PrimeKey S

RFR [9] 8138978: Examine usages of sun.misc.IOUtils

2015-10-07 Thread Chris Hegarty
This primary motivation behind this bug [1] is the clearing out of sun.misc, in preparation for JEP 260 [2]. sun.misc.IOUtils is a JDK internal convenience utility class that provides a single method that offers bulk blocking InputStream read semantics. In 9, java.io.InputStream has been retrofitt

Re: RFR [9] 8138978: Examine usages of sun.misc.IOUtils

2015-10-07 Thread Roger Riggs
Hi Chris, Looks fine. The change in exception message is more informative than the previous exception message. Roger On 10/7/2015 2:19 PM, Chris Hegarty wrote: This primary motivation behind this bug [1] is the clearing out of sun.misc, in preparation for JEP 260 [2]. sun.misc.IOUtils is

Re: RFR [9] 8138978: Examine usages of sun.misc.IOUtils

2015-10-07 Thread Alan Bateman
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, could that one be fixed? The rest look fi

Re: RFR [9] 8138978: Examine usages of sun.misc.IOUtils

2015-10-07 Thread Chris Hegarty
On 7 Oct 2015, at 20:04, Alan Bateman 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.sec

Re: RFR [9] 8138978: Examine usages of sun.misc.IOUtils

2015-10-07 Thread Chris Hegarty
On 7 Oct 2015, at 20:15, Chris Hegarty wrote: > On 7 Oct 2015, at 20:04, Alan Bateman 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/

Re: RFR [9] 8138978: Examine usages of sun.misc.IOUtils

2015-10-07 Thread Alan Bateman
On 07/10/2015 20:57, Chris Hegarty wrote: : I updated Connection with a readFully that has the same semantics as IOUtils. http://cr.openjdk.java.net/~chegar/8138978/webrev.01/jdk/ I agree with Roger. Couldn't this be changed to use create an array of length seqlen and use readNBytes? -Al