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

StdLibTest fails to create an empty VaList on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-panama
    • Fix Version/s: None
    • Component/s: tools

      Description

      On Windows, a VaList is implemented by a pointer to a backing memory segment that holds all the arguments.

      In case of an empty VaList the implementation tries to allocate an empty MemorySegment, which we currently disallow by throwing an exception. This causes several test failures in StdLibTest.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jvernee Jorn Vernee
              Reporter:
              jvernee Jorn Vernee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: