Please review new regression test for java.net.* API
Andrew John Hughes
ahughes at redhat.com
Thu Mar 18 07:24:42 PDT 2010
On 18 March 2010 13:56, Alan Bateman <Alan.Bateman at sun.com> wrote:
> Pavel Tisnovsky wrote:
>>
>> Hi,
>>
>> please review new regression test for java.net.* API. This test check if
>> the cacerts keytool database is configured properly and SSL is really
>> working. The test should not fail if SSL is working (in other case it simply
>> throws IOException). Webrev si available at
>> http://cr.openjdk.java.net/~ptisnovs/TestHttps/
>>
>> Thanks in advance
>> Pavel Tisnovsky
>
> I suspect the dependency on verisign.com will be problematic. Isn't SSL
> already covered by the javax.net and https tests?
>
> -Alan.
>
None of them actually test a HTTPS server with a certificate AFAICS.
Pavel's run on the JTreg tests on a build and it didn't pick up an
empty cacerts file, whereas this test does. A different https server
could be used; the URL of the JAXP tarballs would work.
Pavel,
+ * Copyright 2001-2003 Sun Microsystems, Inc. All Rights Reserved.
is wrong. It should be Copyright 2010 Red Hat, Inc.
--
Andrew :-)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the net-dev
mailing list