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

Use socklen_t instead of int and jint

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Fix
    • P4
    • None
    • 8u192, 12
    • core-libs
    • generic
    • generic

    Description

      Quite a lot of code in the libraries and a bit in Hotspot use 'int' or 'jint' as a synonym for socklen_t. socklen_t is an unsigned value on Unixen, and Hotspot typedef's it to int on Windows in JDK8 and #include's winsock2.h in tip. It would be nice to clean up the whole thing. I've attached Hotspot and library diffs for JDK8 and marked this as core-libs, even though there's a bit of Hotspot in JDK8.

      Attachments

        Activity

          People

            phh Paul Hohensee
            phh Paul Hohensee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: