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

Reduce duplication in test code

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • repo-panama
    • core-libs

      When tested for nested structs and by-value unions were added, a new method for generating test values for an arbitrary MemoryLayout was added as well as a method for easily creating an upcall stub that saves it's arguments into an AtmoicReference<Object[]>.

      To reduce duplication, we could refactor existing test to use the new value generation mechanism as well.

            jvernee Jorn Vernee
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: