Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-1234930

fp.bugs 3242: Win95 only: URL.openStream() causes crash in WSOCK32.DLL

XMLWordPrintable

    • x86
    • windows_nt

      Unverified bug. We have no means of connecting to a dial-up ISP and stay connected
      to our network. Also, a limited number of customers will run into this one because
      it requires that you are connected to two TCP networks, and both have hosts with the
      same name.

      From: Lee Hasiuk <###@###.###>

      We've been experiencing the following problem in both the Beta1 and Beta2
      versions of Java under Windows 95. The problem is that the openStream()
      method of the URL class causes a page fault in WSOCK32.DLL under the
      following conditions:

      1) Running Windows95.
      2) Host name is listed in the hosts file.
      3) Dial up networking is running and connected to an ISP.
      4) (Not sure if this is required or not) Host is also on a local network.

      Here's a simple example of a situation which causes the crash:

      import java.net.URL;

      public class Test {
          public static void main(String args[]) {
      try {
      new URL("http://www.sun.com/foo.bar").openStream();
      }
      catch (Exception e) {
      System.out.println(e);
      }
          }
      }

      in hosts file (typically in c:\\windows):

      192.9.9.100 www.sun.com

      Please call or write if you have any further questions.

      Lee Hasiuk
      Worlds, Inc.
      ###@###.###
      (716) 256-0259 (Voice)
      (716) 473-4985 (FAX)

            djbrown David Brown (Inactive)
            kasmithsunw Kevin Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: