From Daniel.Thibault at drdc-rddc.gc.ca Fri Oct 18 15:11:07 2019 From: Daniel.Thibault at drdc-rddc.gc.ca (Thibault, Daniel) Date: Fri, 18 Oct 2019 15:11:07 +0000 Subject: Java Language Specification JSE13 Edition Message-ID: <48CF5AC71E61DB46B70D0F388054EFFD013634D1C6@VAL-E-02.valcartier.drdc-rddc.gc.ca> Hello, I'm not sure if this is the right mailing list to send my observations to, but here goes. In the Java Language Specification JSE13 Edition, 3.9 Keywords, the paragraph that explains const and goto are "reserved but not currently used" should also mention the underscore (_) keyword. As far as I can tell, it is "not currently used" either, with the intent being to eventually have it indicate an unused lambda, method, or catch formal parameter in a declaration (JEP 302: Lambda Leftovers). In 3.10.2, Floating-Point Literals, hexadecimal floating-point literals are poorly explained. It is not mentioned that the "binary exponent" part is in base 2 instead of the decimal floating-point exponent base 10. An example would be useful. Something like "0xFFp1 = 510.0". It is also somewhat unclear if hexadecimal floating-point literals are double- or single-precision by default. The first text paragraph of page 36 could clear this up if changed from "A floating-point literal is of type float [...]" to "A floating-point literal (decimal or hexadecimal) is of type float [...]". The values for the largest/smallest positive finite non-zero float/double literals should also be given in hexadecimal notation and include mention of the predefined constants MIN_VALUE and MAX_VALUE of the Float and Double classes. Finally, on page 37 the reference to "a non-zero denormalized number" should add "(see 4.2.3)". Cordially, Daniel U. Thibault, M.Sc.? Informaticien scientifique, CME-PSC, Centre de recherches de Valcartier Recherche et d?veloppement pour la d?fense Canada / Gouvernement du Canada daniel.thibault at drdc-rddc.gc.ca / T?l: 418-844-4000x4245 T?l?c: 418-844-4538 daniel.thibault at forces.gc.ca / T?l: 418-844-4000x4245 T?l?c: 418-844-4538 Computer Scientist, MCCS-SPC, Valcartier Research Centre Defence Research and Development Canada / Government of Canada daniel.thibault at drdc-rddc.gc.ca / Tel: 418-844-4000x4245 Fax: 418-844-4538 daniel.thibault at forces.gc.ca / Tel: 418-844-4000x4245 Fax: 418-844-4538 DRDC is an agency of the Department of National Defence / RDDC est une agence du minist?re de la D?fense nationale From Daniel.Thibault at drdc-rddc.gc.ca Fri Oct 18 16:11:51 2019 From: Daniel.Thibault at drdc-rddc.gc.ca (Thibault, Daniel) Date: Fri, 18 Oct 2019 16:11:51 +0000 Subject: Java Language Specification JSE13 Edition - 3.10.4 Message-ID: <48CF5AC71E61DB46B70D0F388054EFFD013634E1EB@VAL-E-02.valcartier.drdc-rddc.gc.ca> Hello, In the Java Language Specification JSE13 Edition, 3.10.4, Character Literals, the next to last paragraph needs an additional sentence: "Finally, it is not possible to write '\u0027' for a character literal containing an apostrophe (').". Cordially, Daniel U. Thibault, M.Sc.? Informaticien scientifique, CME-PSC, Centre de recherches de Valcartier Recherche et d?veloppement pour la d?fense Canada / Gouvernement du Canada daniel.thibault at drdc-rddc.gc.ca / T?l: 418-844-4000x4245 T?l?c: 418-844-4538 daniel.thibault at forces.gc.ca / T?l: 418-844-4000x4245 T?l?c: 418-844-4538 Computer Scientist, MCCS-SPC, Valcartier Research Centre Defence Research and Development Canada / Government of Canada daniel.thibault at drdc-rddc.gc.ca / Tel: 418-844-4000x4245 Fax: 418-844-4538 daniel.thibault at forces.gc.ca / Tel: 418-844-4000x4245 Fax: 418-844-4538 DRDC is an agency of the Department of National Defence / RDDC est une agence du minist?re de la D?fense nationale From alex.buckley at oracle.com Fri Oct 18 18:31:11 2019 From: alex.buckley at oracle.com (Alex Buckley) Date: Fri, 18 Oct 2019 11:31:11 -0700 Subject: Where to raise technical errors in the JLS and JVMS Message-ID: Please see: https://docs.oracle.com/javase/specs/jls/se13/html/jls-1.html#jls-1.6 https://docs.oracle.com/javase/specs/jvms/se13/html/jvms-1.html#jvms-1.5 Alex