勘误表Java语言规范第3版 [英] Errata for Java Language Specification 3rd Edition

查看:128
本文介绍了勘误表Java语言规范第3版的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我广泛使用JLS作为学习和教学资源,但我注意到它有一些错误。

I use JLS extensively both as a learning and teaching resource, but I've noticed that there are some errors in it.

这是一个简单的错别字(例如< a href =http://java.sun.com/docs/books/jls/third_edition/html/conversions.html#5.1.4 =nofollow noreferrer> JLS 5.1.4 convesions ),但也有一些我认为非常严重的错误。

There's the simple typos (e.g. JLS 5.1.4 "convesions"), but there's also some that I consider quite serious errors.

例如, JLS 18.1 Java编程语言的语法应该是Java语言语法的权威参考,但它包含永远不会被使用的生产规则! (例如 MoreStatementExpressions )。当然这是给定语法其他部分出现更严重错误的迹象,对吗?

For example, JLS 18.1 The Grammar of the Java Programming Language is supposed to be the authoritative reference for the grammar of the Java language, but it contains a production rule that never gets used! (e.g. MoreStatementExpressions). Surely this is a sign of more serious errors in other parts of the given grammar, right?

那么第3版是否有勘误?会有吗?我们应该向Sun / Oracle发送错误吗?会不会有第4版?

So is there an errata for the 3rd edition? Will there ever be? Should we send errors we've found to Sun/Oracle? Will there ever be a 4th edition?

推荐答案

我也被JLS第18章中的语法问题烧毁了,
由于JLS中的其他问题。尽管许多Java程序员可能不会受到它们的影响,但是当您构建
编译器或程序分析工具时,这些并非易事。

I have also been burned by problems with the grammar in JLS chapter 18, and by problems elsewhere in the JLS. Although many Java programmers may not be affected by them, these are not trivial problems when you are building a compiler or program analysis tool.

JLS的许多问题已在最新版本的
JLS(JLS,Java SE版或非正式的JLS第4版)中得到修复。
特别是,第18章(Java语法)已完全修改和重组了

Many of the problems with the JLS have been fixed in the latest version of the JLS ("JLS, Java SE edition" or, informally, "JLS 4th edition"). In particular, chapter 18 (the Java grammar) has been completely revised and reorganized.

你可以在 Java SE规范下载页面(直接链接到JLS
PDF
)。

更新2012年2月18日:
https:// blogs所述。 oracle.com/abuckley/en_US/entry/jls7_and_jvms7_online ,现在可以在
http://docs.oracle.com/javase/specs/

UPDATE Feb 18, 2012: As described at https://blogs.oracle.com/abuckley/en_US/entry/jls7_and_jvms7_online, the Java SE 7 Editions of the Java Language Specification and the JVM Specification are now available at http://docs.oracle.com/javase/specs/ in both PDF and HTML form.

这篇关于勘误表Java语言规范第3版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆