1. 程式人生 > >Kotlin Rising, Java 9 Release Date is Set (Again), and Java 9 Migration Issues!

Kotlin Rising, Java 9 Release Date is Set (Again), and Java 9 Migration Issues!


Visit the developerWorks Java Hub

Kotlin Rising

According to the latest Tiobe index, new language and rising star Kotlin has broken the top 50 programming languages and now sits at number 43.

Other notables in the top 50 are Rust at #37, and Scala at #30.

Kotlin is a statically typed language that runs on multiple platforms, including the JVM, and Android.

In episode 8 of Java News and Code, we told you how Android Studio has announced first class support for Kotlin, indicating the language is gaining a foothold in the mainstream.

To learn more about Kotlin, visit the Kotlinlang.org page, and click on Try Kotlin.

According to the index, Kotlin is “the hot new thing” and has jumped into the top 50 since the index last came out in May.

Java still sits atop the list with almost 14 1/2%, more than double that of its closest rival, C, which sits at about 6.85%.

But how is this Index assembled? On this page, you can see the methodology behind the index.

In essence, it boils down to the number of hits from a query of the programming language in question against the top 25 search engines, as defined by

Alexa.

To qualify as a “programming language” tracked by the index, it must meet the following criteria:

* Its own Wikipedia page that states it is a programming language,
* It must be Turing complete, and
* It must have at least 500 hits in a Google search

Finally, the ratings are compiled as shown by this formula at the bottom of the page.

The Tiobe index is published every month.

Java 9 Release Date Pushed (Again)

If you’re wondering what is happening with Java 9, you’re not alone. On May 30th, Java 9 spec lead Mark Reinhold proposed an 8 week push of the General Availability date for Java 9. In this email to the jdk9-dev mailing list, Reinhold said the extra time was due to “…the additional time required to move through the [Java Community Process]”

After receiving no objections, he recorded the new GA date as September 21st, 2017.

As you probably know, Java 9 has been plagued by delays. The original GA release date for Java 9 was supposed to be in July of this year.

You may recall in May Project Jigsaw was handed a NO vote by the Java Community Process Executive Committee.

An updated spec was resubmitted by the Expert Group for a reconsideration balloe, and on June 26th, the reconsideration ballot for Project Jigsaw (a.k.a., JSR 376) was approved by the JCP Executive Committee.

On June 22nd, build 175 was released as the Initial Release Candidate. At this point only critical bugs will be fixed as the current Java 9 release date nears.

Java 9 Migration Issues

If you’ve attempted to migrate your code to Java 9, and have run into issues, you are not alone.

This article at Jaxenter points out there are known issues with Java 9, and also points to a site put together by CodeFX blogger Nicolai Parlog.

Aside from having an incredibly cool Twitter profile pic, and having an awesome blog at CodeFX.org, Parlog has put together a Github repository as a collector to aggregate code that works fine with Java 8, but breaks with Java 9.

Parlog says in the repo’s README that the purpose of the site is not to judge, but rather just to talk about what breaks in Java 9.

We talk a lot about Java 9, and we’re all excited about it. But the elephant in the room is that there will be issues, and the sooner we can acknowledge them, the sooner we can begin to fix them.

Among the issues currently listed on the site are:

  • XML Transformation,
  • Font scaling, and
  • The Maven JAXB2 plugin

But at the top of the list are Compiler issues. And in today’s code talkthrough, we’ll look at these compiler issues.

I’ll be using my Mac to run the code with Java 8, and I’ll use a Docker container environment to run the Java 9 code.

To follow along with the video, you should have JDK 8 and Docker installed on your computer. To run the Java 9 code, you need a Docker sandbox with JDK 9 installed as well.

Check out episode 4 of Java News and Code, where I show you how to create a Docker sandbox for playing around with Java 9, without having to install JDK 9 natively on your computer.

Credits

Music:

Slay Well by Gunnar Olsen, YouTube Audio Library (Free to use for commercial purposes, no attribution required), see YouTube Terms of Service and this YouTube support article for details.

Pixabay images and videos are free for commercial use, no attribution required. See Pixabay Terms of Service for more information..

Pixabay Image URLs:
Pixabay Video URLs:

相關推薦

Kotlin Rising, Java 9 Release Date is Set (Again), and Java 9 Migration Issues!

Kotlin Rising According to the latest Tiobe index, new language and rising star Kotlin has broken the top 50 programming languages and now sits at numb

Java連結Redis時出現 “ERR Client sent AUTH, but no password is set” 異常的原因及解決辦法

第一種情況: 在redis.conf中設定了密碼,而且redis還啟動了,為什麼說沒有密碼呢? linux下啟動redis有很多種方法, 方式一: ./redis-server &   這種方法啟動,不會帶上你的redis.conf配置檔案啟動 方式二:還有

Java連線Redis時出現 “ERR Client sent AUTH, but no password is set” 異常的原因及解決辦法

給redis設定過auth後發現還是出現這種情況,這是由於啟動redis時自動載入的redis配置檔案並不是我們配置的那個,我在服務中找到redis: 右擊redis選擇屬性 這裡發現redis啟動時使用我們之前配置在環境變數裡的.exe檔案,先將服務停止

Java鏈接Redis時出現 “ERR Client sent AUTH, but no password is set” 異常的原因及解決辦法

edit 解決 apach 重新啟動 cti cau 文本編輯 cto coder Java鏈接Redis時出現 “ERR Client sent AUTH, but no password is set” 異常的原因及解決辦法 【錯誤提

【spring boot】【elasticsearch】spring boot整合elasticsearch,啟動報錯Caused by: java.lang.IllegalStateException: availableProcessors is already set to [8], reje

  spring boot整合elasticsearch, 啟動報錯: Caused by: java.lang.IllegalStateException: availableProcessors is already set to [8], rejecting [8] at

Android鎖屏出現java.lang.RuntimeException: Camera is being used after Camera.release() was called

        java.lang.RuntimeException: Camera is being used after Camera.release() was called         在相機開發中,開啟相機顯示預覽,然後按關機鍵鎖屏,出現上述錯誤,程式崩潰。

What is the difference between Kill and Kill -9 command in Unix?

data esp osi lin mil print ren win sku w difference kill -9 pid and kill pid command - Ask Ubuntu https://askubuntu.com/questions/7918

opencms 安裝出現以下的問題:Your 'max_allowed_packet' variable is set to less than 16777216 Byte (16MB).

var 錯誤 lease -s byte csdn oss mysq nts 一、問題 在安裝opencms是會出現例如以下錯誤: MySQL system variable ‘max_allowed_packet‘ is set to 1048576 Byte (1M

解決eclipse中web項目出現Project facet Java version 1.8 is not supported.的問題

get 可能 efault 安裝 lips index 選擇 data- all 解決eclipse中web項目出現Project facet Java version 1.7 is not supported.的問題 這個錯誤是因為eclipse中沒有jdk1.7,把

暫時解決java.lang.IllegalStateException: It is invalid to call isReady() when the response has not been put into non-blocking mode

服務器 lose img () arguments it is 分享 exc 解決 環境: 本機-apache-tomcat-9.0.0.M21 服務器-apache-tomcat-9.0.0.M9 錯誤復盤: 最初不知道是tomcat版本解決的,實現了

Java日期時間(Date/Time)

一個 ble exception pub oid exc 方法 date對象 except 獲取當前日期和時間 在Java中容易得到當前的日期和時間。可以使用一個簡單的Date對象的toString()方法,如下所示打印當前日期和時間: import java.util

Java String和Date的轉換 轉http://www.cnblogs.com/bmbm/archive/2011/12/06/2342264.html

ref integer public cat 標記 星期 import 轉換 star Java String和Date的轉換 String—>Date方法一: String dateString = "2012-12-06 "; try {

Redis錯誤:jedis.exceptions.JedisDataException: ERR Client sent AUTH, but no password is set

detail protocol 指定 inactive roo max binary load nio 原文鏈接:http://blog.csdn.net/rchm8519/article/details/48347797 redis.clients.util.Pool.

web.xml is missing and <failOnMissingWebXml> is set to true

con 錯誤 eba 錯誤提示 應該 b- XML web rop 參考:http://blog.csdn.net/liuvlun/article/details/50218507 使用maven創建項目時有時在pom.xml的war處出現failOnMissingWebX

報異常:AnnotationAwareAspectJAutoProxyCreator is only available on Java 1.5 and higher

ssi cycle cati stp hierarchy worker nal a star sca 項目啟動時候報異常 1,異常信息 信息: Initializing Spring root WebApplicationContext2017-09-07 17:20:44

Java中SQL DATE和 UTIL DATE 的相互轉換

span clas -m cep sta .get turn try urn public String getStringtime (java.sql.Date sdate ){ java.util.Date date = new j

Ubuntu問題:E45: 'readonly' option is set (add ! to override)錯誤解決

沒有 rec read 問題分析 解決 call pre 修改 dir 問題描述:E45: ‘readonly‘ option is set (add ! to override) 問題分析:該錯誤為當前用戶沒有權限對文件作修改 問題解決: 輸入 :w !sudo te

set mapred.child.java.opts=-Xmx2048M;

set mapred.child.java.opts=-xmx2048m;今天開發跑了hive任務報錯:Query ID = gsadmin_20171113143046_07c2e5ee-c0e3-4624-8947-538e410bbc2bTotal jobs = 1Launching Job 1 out

The data directory was initialized by PostgreSQL version 9.6, which is not compatible with this version 10.0.

data was start pos zed with bre mark star 在PostgreSQL9.6.5 安裝 Postgis2.4.2 出現錯誤 The data directory was initialized by PostgreSQL version

pom.xml報錯:web.xml is missing and <failOnMissingWebXml> is set to true

-i 成了 tro pom inf esc 方法 target targe 出現這個錯誤的原因是Maven不支持缺少web.xml的web項目 解決方法 添加Web模塊,對項目右鍵->Java EE Tools->Generate Deployment