Apache NetBeans 11.2 发布,支持 JDK 13 和 PHP 7.4

栏目: 软件资讯 · 发布时间: 7年前

内容简介:Apache NetBeans 11.2 发布了,这是其从 Apache 孵化器毕业后的第二个发布版本。 Apache NetBeans 11 周期的 LTS 版本是 Apache NetBeans 11.0,11.1 和 11.2 版本未经过 LTS 版本的严格测试,因此可能不太稳定。...

Apache NetBeans 11.2 发布了,这是其从 Apache 孵化器毕业后的第二个发布版本。

Apache NetBeans 11 周期的 LTS 版本是 Apache NetBeans 11.0,11.1 和 11.2 版本未经过 LTS 版本的严格测试,因此可能不太稳定。下一个 LTS 版本预计于 2020 年 4 月发布。

此版本主要更新亮点包括:

Java

关于 Java 的重点集中在对 JDK 13 的支持上。

  • JEP 354:Switch Expressions(预览功能)

Apache NetBeans 11.2 发布,支持 JDK 13 和  <a href='https://www.codercto.com/topics/18749.html'>PHP</a>  7.4

  • JEP 355:Text Blocks(预览功能)

Apache NetBeans 11.2 发布,支持 JDK 13 和 PHP 7.4

仅当设置了 Java 编译器的 --enable-preview 标志时,才可以使用预览功能,如下面的 Maven 所示:

<build>
   <plugins>
      <plugin>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>3.8.0</version>
          <configuration>
              <compilerArgs>
                    <arg>--enable-preview</arg>
              </compilerArgs>
         </configuration>
     </plugin>
  </plugins>
</build>

在 Gradle 中添加 --enable-preview 的示例: 

tasks.withType(JavaCompile).each {
    it.options.compilerArgs.add('--enable-preview')
}

run.jvmArgs(['--enable-preview'])

PHP

 支持 PHP 7.4。

Apache NetBeans 11.2 发布,支持 JDK 13 和 PHP 7.4

以下是 PHP 7.4 集成的重点:

  • PHP RFC:类型化属性 2.0
  • PHP RFC:空合并分配运算符
  • PHP RFC:数组表达式中的传播运算符
  • PHP RFC:箭头函数 2.0
  • PHP RFC:数字文字分隔符
  • PHP RFC:新的自定义对象序列化机制

更多详细内容见更新说明:https://netbeans.apache.org/download/nb112/index.html


以上所述就是小编给大家介绍的《Apache NetBeans 11.2 发布,支持 JDK 13 和 PHP 7.4》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。

APIs

APIs

Daniel Jacobson、Greg Brail、Dan Woods / O'Reilly Media / 2011-12-24 / USD 24.99

Many of the highest traffic sites get more than half of their traffic not through the browser but through the APIs they have created. Salesforce.com (more than 50%) and Twitter (more than 75% fall int......一起来看看 《APIs》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

html转js在线工具
html转js在线工具

html转js在线工具