Java 语言规范第 4 版何时可用?

发布于 2024-10-28 07:19:26 字数 108 浏览 5 评论 0 原文

现在 JDK 7 开发者预览版已经发布,人们可能会认为是时候推出新的 JLS 了。毕竟,语言已经发生了变化,尽管变化很小。

我还没有找到任何东西。新的 JLS 何时上市?从哪里可以买到?

Now that the JDK 7 developer preview is out, one might think that it's time for a new JLS. After all, there have been changes to the language, albeit small ones.

I haven't found anything yet. When will a new JLS will be available, and from whence will one be able to get it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

往昔成烟 2024-11-04 07:19:26

您可能对以下两个内容都感兴趣:

JSR 901:Java 语言规范
JSR 924:Java 虚拟机规范

毫不奇怪,它们都有最近的草案审查...

You might be interested in both of these:

JSR 901: Java Language Specification
JSR 924: Java Virtual Machine Specification

Not surprisingly, both of them have recent draft reviews...

jJeQQOZ5 2024-11-04 07:19:26

2012 年 2 月 18 日更新:
https://blogs.oracle.com/abuckley/en_US/entry/jls7_and_jvms7_online 中所述,Java 语言的 Java SE 7 版本
规范和 JVM 规范现已提供:
PDF 和 HTML 格式的 http://docs.oracle.com/javase/specs/形式。


您可以从 3 个位置下载 Java 语言
规范 (JLS),第四版(更准确地说,不是“第四版”,而是“Java SE 7 版”)。

相对较旧的草案是 JSR 901 的一部分 (http://jcp.org/en/ jsr/detail?id=901)。缺少对某些内容的讨论
新的语言功能,例如 JSR 334、Project Coin (http:// /www.jcp.org/en/jsr/detail?id=334)。

JSR 336 (http://jcp.org/en/jsr/detail?id=336 )包含附件 3 (http://download.oracle.com/otn-pub/jcp/java_se-7-final-spec/java_se-7-final-annex-3.zip)
有四个不同版本的 JLS:完整版本带有 和
没有变更栏,并且仅规范(短 1/3,缺少一些
示例和解释)带有和不带有更改栏的版本。 JSR 336 的
附件 3 还包含 2 个版本的 JVMS(带和不带更改栏)。

最好的来源是从以下位置获取 JLS
Java SE 规范下载
页面(http://download.oracle.com/javase/cmn/spec_index.html< /a>)(直接链接
到 JLS PDF:
http://download.oracle.com/ javase/7/specs/jls/JLS-JavaSE7.pdf)。这
与 JSR 336 版本相比,该版本略有更新。只有一个
品种齐全:完整规格,无需更换。

截至目前(2011 年 8 月 4 日),JLS 第 4 版尚未提供印刷版
形式,也不能从 http://java.sun.com/docs/books/ 获得jls/ 其中
前三个版本可供下载。

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.


There are 3 locations from which you can download the Java Language
Specification (JLS), 4th edition (more precisely, not "4th edition" but "Java SE 7 edition").

A relatively old draft is part of JSR 901 (http://jcp.org/en/jsr/detail?id=901). It is missing discussion of some of
the new language features, such as those of JSR 334, Project Coin (http://www.jcp.org/en/jsr/detail?id=334).

JSR 336 (http://jcp.org/en/jsr/detail?id=336) contains an Annex 3 (http://download.oracle.com/otn-pub/jcp/java_se-7-final-spec/java_se-7-final-annex-3.zip)
that has four different versions of the JLS: a full version with and
without changebars, and a normative-only (1/3 shorter, lacking some
examples and explanations) version with and without changebars. JSR 336's
Annex 3 also has 2 versions of the JVMS (with and without changebars).

The best source is to get the JLS from
the Java SE Specifications download
page (http://download.oracle.com/javase/cmn/spec_index.html) (direct link
to JLS PDF: http://download.oracle.com/javase/7/specs/jls/JLS-JavaSE7.pdf). This
version is slightly updated, compared to the JSR 336 version. Only one
variety is available: the full specification without changebars.

As of now (August 4, 2011), JLS 4th edition is not available in printed
form, nor is it available from http://java.sun.com/docs/books/jls/ where
the first three editions are available for download.

对你再特殊 2024-11-04 07:19:26

我无法回答您关于第四版何时可用的问题 - 实际上,严格来说,这个问题是 被认为是偏离主题的,虽然我对此没有任何问题 - 但我相信您将能够在Oracle 的 JLS 页面

该页面目前免费提供前三个版本的近乎完整*的电子副本。它还链接到 Amazon.com 上的第三版页面,因此我也相信,如果您喜欢这类东西,您将能够在主要书商处购买纸质副本。

* 在线版本与印刷版本略有不同,主要是由于版权问题而没有引用。

I can't answer your question about when the fourth edition will be available — actually, strictly speaking, that question is considered off-topic, though I don't have a problem with it — but I'm confident that you'll be able to get a copy at Oracle's JLS page.

That page currently offers nearly complete* electronic copies of the first three editions for free. It also links to the third edition's page on Amazon.com, so I'm also confident that you'll be able to buy paper copies at major booksellers, if you're into that sort of thing.

* The online version differs from the print version in minor ways, primarily the absence of quotations due to copyright issues.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文