<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<pre style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"> 39 public abstract class MidiDeviceProvider {
<span class="new" style="color: blue; font-weight: bold;"> 40 </span>
<span class="new" style="color: blue; font-weight: bold;"> 41 /**</span>
<span class="new" style="color: blue; font-weight: bold;"> 42 * Constructs a {@code MidiDeviceProvider}.</span>
<span class="new" style="color: blue; font-weight: bold;"> 43 */</span>
<span class="new" style="color: blue; font-weight: bold;"> 44 protected MidiDeviceProvider() {}</span>
45 </pre>
<br>
Why is this not using the same text we settled on elsewhere for
constructors of abstract classes ?<br>
<br>
"Constructor for subclasses to call" <br>
<br>
<br>
-phil.<br>
<br>
On 8/4/20, 5:28 PM, Sergey Bylokhov wrote:
<blockquote
cite="mid:cb6cfb69-8ba6-fb92-1bf7-e1a6b561dc93@oracle.com"
type="cite">Hello.
<br>
Please review the fix for jdk/client.
<br>
<br>
Bug: <a class="moz-txt-link-freetext" href="https://bugs.openjdk.java.net/browse/JDK-8250858">https://bugs.openjdk.java.net/browse/JDK-8250858</a>
<br>
CSR: <a class="moz-txt-link-freetext" href="https://bugs.openjdk.java.net/browse/JDK-8251024">https://bugs.openjdk.java.net/browse/JDK-8251024</a>
<br>
Fix: <a class="moz-txt-link-freetext" href="http://cr.openjdk.java.net/~serb/8250858/webrev.00">http://cr.openjdk.java.net/~serb/8250858/webrev.00</a>
<br>
<br>
This is part of a larger effort to remove reliance of default
<br>
constructors in the JDK's exported API in preparation for
introduction
<br>
of a lint warning for this situation.
<br>
<br>
This fix adds default public constructors to the public
non-abstract
<br>
classes and protected constructors to the public abstract classes.
<br>
<br>
</blockquote>
</body>
</html>