JVM_SocketAvailable uses long*. Should be 32bit pointer

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.4.0
    • Component/s: hotspot
    • None
    • sparc
    • solaris_8

      Not sure if this is really a bug, but I just noticed it and it
      seems not right.

      According to the STREAMS programming guide the FIONREAD ioctl
      should be given the address of a 32 bit quantity regardless
      of the kernel mode.
      The call in hpi::available() uses a long *
      which would compile to a 64 bit pointer on
      a 64 bit system.

            Assignee:
            Paul Hohensee
            Reporter:
            Michael McMahon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: