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

typedefs without type names

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      generic
    • OS:
      generic

      Description

      There are some typedefs without associated typenames in jdk/src/java.base/windows/native/libnio/ch/Net.c.

      They are of the form

        typedef struct <tag> { <member>... };

      These are equivalent to

        struct <tag> { <member>... };

      However, some compilers (including VS2015: C4091) may warn about the useless typedef keyword.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kbarrett Kim Barrett
              Reporter:
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: