openjdk-7 SSL "illegal parameter"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-7 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Compiling to following code (simple access to an https site using URL) results in SSLException in openjdk-7, whereas it works perfectly with openjdk-6.
(Please note that latest ubuntu's wget returns a core dumps on this same site and openssl returns the same error. However, exact same configuration with different java versions have different behaviours!).
import java.net.*;
public class CheckSSL3 {
public static void main(String args[]) throws Exception {
String urlString = "https:/
URL url = new URL(urlString);
url.
}
}
root@plop:/root# update-
plip@plop:CheckSSL$ java -cp classes/ CheckSSL3
plip@plop:CheckSSL$
root@plop:/root# update-
plip@plop:CheckSSL$ java -cp classes/ CheckSSL3
plip@plop:CheckSSL$ java -cp classes/ CheckSSL3
Exception in thread "main" javax.net.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at sun.security.
at sun.net.
at sun.net.
at sun.net.
at sun.net.
at java.net.
at CheckSSL3.
plip@plop:CheckSSL$
Sorry just FYI: 12.3-0ubuntu1~ 12.10.1 3.7-0ubuntu1~ 12.10.1
openjdk6: 6b27-1.
openjdk7: 7u15-2.