<Sound Dev> [15] Review Request: 8236980 Cleanup of toString methods in JavaSound

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Sun Jan 12 20:14:10 UTC 2020

Please review a "weekend cleanup" for JDK 15.

Bug: https://bugs.openjdk.java.net/browse/JDK-8236980
Fix: http://cr.openjdk.java.net/~serb/8236980/webrev.00

I have made these changes:
  - The words in the specs are unified across the different methods
  - All toString() implementations now use getXXX() methods instead
    of direct access to the fields(the getxxx() methods are skipped
    only if the getxxx() method is final)
  - A few tests were added to check some spec, and its implementations

Best regards, Sergey.

More information about the sound-dev mailing list