| Summary: | Setting local Javadoc for JDK breaks SSL | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Marc Lehmann <marc.lehmann> |
| Component: | Debug | Assignee: | JDT-Debug-Inbox <jdt-debug-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | codex69, janvik |
| Version: | 3.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | |||
|
Description
Marc Lehmann
Eclipse 3.1M7
Java 1.5.0_02
I am working with a program that accesses secure web pages (https://...). When I
attach the source code for the 1.5 libraries (src.zip that comes with the
standard JDK), it causes the program to throw the following exception:
javax.net.ssl.SSLKeyException: RSA premaster secret error
Steps to reproduce:
1. Create a new project
2. Attach src.zip from the jdk1.5.0_02 to the rt.jar
3. Create and run a class with the following main method:
public static void main(String[] args) {
String url = "https://bugs.eclipse.org/bugs";
try {
new InputStreamReader(new URL(url).openStream());
System.out.print("Connection Succeeded");
} catch (Exception e) {
System.err.print("Connection Failed");
e.printStackTrace();
}
}
Please bring back the JavaDoc URL text entry field in the Edit JRE dialog. We need a convenient way to associate local Javadoc with installed JRE's. The current state of affairs (3.1M7) represents a significant step backward in functionality and needs to be fixed for the 3.1 release! |