Theodora Fragkouli

About Theodora Fragkouli

Theodora has graduated from Computer Engineering and Informatics Department in the University of Patras. She also holds a Master degree in Economics from the National and Technical University of Athens. During her studies she has been involved with a large number of projects ranging from programming and software engineering to telecommunications, hardware design and analysis.

Java 8 news

The first release candidates of Java 8, b128 and Java 8 RC2 showed up on February, fixing a serious flaw in the new Comparator API, where its new thenComparing() method had an unnecessary type restriction. The thenComparing() method of java.util.Comparator does not require that type U extend java.lang.Comparable, since keyComparator is used to compare extracted key objects. Java 8 RC2 release also fixed a read permission issue on Mac OS X.

A few thoughs about the new release that is coming on March are presented in Java 8 News: Release Candidates Available, New Atomic Numbers and Stripped Implementations Dropped.

New Atomic Number Implementations

Apart from Java 8′s Lamdas and new Date and Time API, the atomic number implementations are very important. According to Drew Stephens, Principle at Palamino Labs, Java 8′s atomic number implementations are quite faster. The LongAdder and DoubleAdder are proved to be less flashy, but very important to certain classes of multithreaded applications. They are atomic Number implementations that provide superior performance to AtomicInteger and AtomicLong when under contention from multiple threads.

As Drew showed, AtomicLong may be a bit quicker with single threads, but as threads’ number rises LongAdder becomes much quicker.

Stripped Implementations Dropped

Stripped implementations is a proposed feature for Java 8 that allows customized implementations of Java SE to be packaged with applications that run on it. Mark Reinhold has proposed that Stripped Implementations could be dropped from Java SE 8. As he explained the Stripped Implementations feature of Java SE 8 requires some nontrivial changes to the TCK license, that will take a lot of time. So they could drop the Stripped Implementations feature from Java SE 8. This will only require changes to the Specification and to the TCK rules. Though, he believes that Stripped Implementation is important to the future of the Java platform, and that’s why it should be added in a release prior to Java SE 9.

Related Whitepaper:

Bulletproof Java Code: A Practical Strategy for Developing Functional, Reliable, and Secure Java Code

Use Java? If you do, you know that Java software can be used to drive application logic of Web services or Web applications. Perhaps you use it for desktop applications? Or, embedded devices? Whatever your use of Java code, functional errors are the enemy!

To combat this enemy, your team might already perform functional testing. Even so, you're taking significant risks if you have not yet implemented a comprehensive team-wide quality management strategy. Such a strategy alleviates reliability, security, and performance problems to ensure that your code is free of functionality errors.Read this article to learn about this simple four-step strategy that is proven to make Java code more reliable, more secure, and easier to maintain.

Get it Now!  

Leave a Reply


− one = 2



Java Code Geeks and all content copyright © 2010-2014, Exelixis Media Ltd | Terms of Use | Privacy Policy
All trademarks and registered trademarks appearing on Java Code Geeks are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries.
Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.

Sign up for our Newsletter

20,709 insiders are already enjoying weekly updates and complimentary whitepapers! Join them now to gain exclusive access to the latest news in the Java world, as well as insights about Android, Scala, Groovy and other related technologies.

As an extra bonus, by joining you will get our brand new e-books, published by Java Code Geeks and their JCG partners for your reading pleasure! Enter your info and stay on top of things,

  • Fresh trends
  • Cases and examples
  • Research and insights
  • Two complimentary e-books