39 public abstract class MidiDeviceProvider { 40 41 /** 42 * Constructs a {@code MidiDeviceProvider}. 43 */ 44 protected MidiDeviceProvider() {} 45
Why is this not using the same text we settled on elsewhere for constructors of abstract classes ?
"Constructor for subclasses to call" -phil. On 8/4/20, 5:28 PM, Sergey Bylokhov wrote:
Hello. Please review the fix for jdk/client. Bug: https://bugs.openjdk.java.net/browse/JDK-8250858 CSR: https://bugs.openjdk.java.net/browse/JDK-8251024 Fix: http://cr.openjdk.java.net/~serb/8250858/webrev.00 This is part of a larger effort to remove reliance of default constructors in the JDK's exported API in preparation for introduction of a lint warning for this situation. This fix adds default public constructors to the public non-abstract classes and protected constructors to the public abstract classes.