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

getTrafficClass() of DatagramSocket failed on Win 95 with merlin build 55

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • core-libs
    • beta
    • x86
    • windows_95
    • Verified

      getTrafficClass() 0f DatagramSocket failed on Win 95 with merlin build 55 . Its throwing the following exception.


      ERROR: UCSudpServer.UCSudpServer(): caught exception
      java.net.SocketException: Option unsupported by protocol: JVM_GetSockOpt() IP_TOS
      java.net.SocketException: Option unsupported by protocol: JVM_GetSockOpt() IP_TOS
              at java.net.PlainDatagramSocketImpl.socketGetOption(Native Method)
              at java.net.PlainDatagramSocketImpl.getOption(PlainDatagramSocketImpl.java:263)
              at java.net.DatagramSocket.getTrafficClass(DatagramSocket.java:857)
              at UCSudpServer.<init>(UCSudpServer.java:103)
              at UCSudpServer.main(UCSudpServer.java:59)
      DTI_Error

      How to reproduce it:
      --------------------

      1. Take Networking test suite from
      /net/sqesvr/export/vsn/NET/merlin_jdk_net/TestSuite/tests

      2. Do a make with 'make KIT=global all'

      3. Execute the Unconnected sockets UDP tests located in the testsuite at /tests/UCSudp/ as follows
       

      4. Execute udp server from from teh above folder as follows on a Win 95 machine..
        run_udp_server

            alanb Alan Bateman
            vakellasunw Venkata Akella (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: