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."



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?

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等)在用拼音法输入汉字的时候,在输入确定之前,其会把汉字的拼音放置于输入控件内,当输入确定后,其又会将汉字替换掉控件内的拼音,我觉得这个做法很不好,而且也没有什么必要这么做。

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

Post a Comment:
  • HTML Syntax: NOT allowed

Insider News from the Java Team at Oracle!



« June 2016