<div dir="ltr">Hello.<br><br>I believe there are two small typos in the JEP 339 page (<a href="https://openjdk.org/jeps/339">https://openjdk.org/jeps/339</a>).<br><br><span style="font-family:monospace">// example: use KeyFactory to contruct a public key<br>KeyFactory kf = KeyFactory.getInstance("EdDSA");<br>boolean xOdd = ...<br>BigInteger y = ...<br>NamedParameterSpec paramSpec = new NamedParameterSpec("Ed25519");<br>EdECPublicKeySpec pubSpec = new EdECPublicKeySpec(paramSpec, new <span style="background-color:rgb(255,255,0)">EdPoint</span>(xOdd, y));<br>PublicKey pubKey = kf.generatePublic(pubSpec);<br></span><br><ul><li>In the commend, I believe "<i>contruct</i>" should be "<i>construct</i>", and</li><li>Should the class name <span style="font-family:monospace">EdPoint</span> be <span style="font-family:monospace">EdECPoint</span>?</li></ul><br>Thank you<br><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div><br></div>With kind regards,<br>Albert Attard</div></div></div>