-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.0.2
-
generic
-
generic
Name: krC82822 Date: 04/05/2001
5 Apr 2001, eval1127@eng -- suspect this is a symptom of # 4404738.
------------
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
When I try to get the contents of an https URL, it ends with an OutOfMemory
exception. the URL causing the problem is : "https://sadservant.guj.de/cgi-
object/webdriver?
MIval=zi_redir&DT=20010326.145337.512&URL=36022&WP=484&PLZ=22438&BG=24938&NM=tch
%2Dtuerkei%2DROTA%2D190301&SNM=468x60&MIqry2pass=on"
Other https URL works fine.
the sample code I use to read the contents is :
public class URLReader {
public static void main(String[] args) throws Exception {
java.security.Security.addProvider(new
com.sun.net.ssl.internal.ssl.Provider());
System.setProperty
("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
java.net.URL u;
if ( args.length > 0 ) {
u = new java.net.URL(args[0]);
} else {
u = new java.net.URL("https://www.verisign.com/");
}
java.io.BufferedReader in = new java.io.BufferedReader(
new java.io.InputStreamReader(
u.openStream()));
String inputLine;
while ((inputLine = in.readLine()) != null)
System.out.println(inputLine);
in.close();
}
}
(Review ID: 119572)
======================================================================
- duplicates
-
JDK-4330029 jsse doesn't recognise OID. keywords
-
- Resolved
-