Want JDK8 to be Great?

Uncle DukeDo you want JDK8 to be great? Duke needs *your* help to find issues and find them now! JDK 8 B116 EA Build is now available for download & test.

As Java 8 gets closer to the endgame we all need to help test and report issues. So please, add it as a JVM to your CI build, try running it at home and have a play with Lambdas!

You can get more details and resources on all of this at http://adoptopenjdk.java.net

As Java Champion Martijn Verburg said, "If you want Lambdas nice and early then testing Java 8 now *really* helps the whole Java community get a great release on day one."

Comments:

:)

Posted by guest on November 27, 2013 at 06:09 AM PST #

Some ways I believe you could improve java:

I believe multiple inheritance makes C++ a more potent language than java. Please add multiple inheritance to java. If you think it's a mistake to use multiple inheritance, then don't, but it's a massive unnecessary restriction on those who see the potential. Making tiered classes just to get the same effect is too constricting (because ultimately you might want to merge behaviors) and results in bloated projects with (perhaps) too many classes. I find myself constantly trying to work around java's insistence that classes can only inherit from one class. Interfaces are great, but multiple inheritance is still necessary to make java a better language.

Please allow subclassing of enums, and allow enums to extend classes.

Posted by guest on January 01, 2014 at 08:47 AM PST #

The java.awt.Stroke interface should have a method for setting line thickness. Although this is convenient in the constructors of Stroke instances, in the abstract each instance should have a setter for line thickness. Therefore a line thickness setter should exist in java.awt.Stroke, which they each implement. The clear advantage would be the capacity to set line thickness for Stroke objects in the abstract, regardless of their specific class.

Posted by Sam Jennings on January 01, 2014 at 09:36 AM PST #

Oracle should get applets back into the mainstream... all these new smartphone devices provide a fresh opportunity. The main problem I see is that browsers treat applets as if they were a leper trying to shake hands... if an applet is sandbox-compatible that shouldn't be necessary. Oracle really ought to shore up the distinction between sandbox and non-sandbox, so applets don't have to be a caste apart from flash or javascript. If Oracle can do that successfully, it could enjoy a massive resurgence of Java, as client side UI leans more heavily to applets. The benefit for web developers would be the ability to develop client-server applications which don't depend on different types of code, because they could pass java-native objects freely between, without an XML parser.

Posted by Sam Jennings on January 07, 2014 at 10:19 AM PST #

Hi All,

First great job with jdk 8!! I do have what I feel is an important question. Is JavaFX fully integrated now? I ask because in order to run swing and javafx on eclipse on the Mac OS X Mavericks I have to add the jfxrt jar from the jdk. Also when using JavaFX ant scripts to create a java bundle (bundling jdk 1.7.0_45) I get an exception that javafx platform class not found yet the jar with it was bundled with it. I also have seen comments you can run swing and javafx separately but not together which meand Mac and Linux (Ubuntu). So is this issue truely fixed with jdk 8?
Thanks!

Posted by tdanecito on March 18, 2014 at 07:31 AM PDT #

Why my Webservice (idcws.war & idcnativews.war) in oracle ECM failed to run at enterprise manager while using JDK 8?? just downgrade my jdk to 7u51 and my webservice run well...

Posted by Rangga on April 07, 2014 at 12:25 AM PDT #

自从JDK1.7开始,Java Swing的输入控件 (如 JTextField等)在用拼音法输入汉字的时候,在输入确定之前,其会把汉字的拼音放置于输入控件内,当输入确定后,其又会将汉字替换掉控件内的拼音,我觉得这个做法很不好,而且也没有什么必要这么做。
我观察了其它多种语言的文本框控件,都不是按这种思路实现的,它们的实现方式都是:用拼音输入汉字时,拼音并不会出现在文本框内,当输入确定时,直接把汉字放入到文本框内。个人觉得这种思路才是对的。
就目前JDK(1.7及1.8)的这种实现思路,如下的功能是无法实现的:有两个文本框,要求实现:用拼音法输入汉字,当在第一个文本框输入时,实时检查该文本框内的字符数量,如果该文本框内字符的数量超过指定的值,那么程序能够自动将多余的字符放入到第二个文本框内,并且同时要求光标跳到当前输入字符或字符串的尾部。
很希望Oracle能在后期发布的jdk版本中能将上述提到的问题改正。

Posted by guest on June 25, 2014 at 07:37 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Insider News from the Java Team at Oracle!

duke
Links


Search

Archives
« July 2015
SunMonTueWedThuFriSat
   
2
3
4
5
6
9
11
12
13
17
18
19
20
22
24
25
26
27
28
29
30
31
 
       
Today