Friday, 8 May 2015
Tuesday, 10 June 2014
How to switch between oracle java 7 and 8 on ubuntu
sudo update-java-alternatives -s java-7-oracle sudo update-java-alternatives -s java-7-oracle
Read more here: http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
Thursday, 5 June 2014
Secure Random Generation in Java 8
So far selection of the Random Number Generation algorithms has been left to the developer. The problem is that where implementations depend on specific hardware / OS / JVM, the desired algorithm may not be available. In such cases applications have a tendency to default to weaker generators, which can put them at greater risk of attack.
Java 8 has added a new method called SecureRandom.getInstanceStrong() whose aim is to have the JVM choose a secure provider for you. If you’re writing code without complete control of the OS / hardware / JVM on which it would run (which is very common when deploying to the cloud or PaaS), my suggestion is to give this approach some serious consideration.
See more here: http://www.infoq.com/articles/Java-8-Quiet-Features
Saturday, 26 April 2014
Tuesday, 24 December 2013
StampedLock
Great article about it is here: http://www.javaspecialists.eu/archive/Issue215.html
Sunday, 27 October 2013
Optional in guava
Same concept Optional class is going to be added to the core java.util library in jdk8
More detalails here: https://code.google.com/p/guava-libraries/wiki/UsingAndAvoidingNullExplained
Wednesday, 11 September 2013
JDK 8 Developer Preview released
Friday, 26 April 2013
The target release date for Java 8 is now 2014/3/18
Read more on: http://openjdk.java.net/projects/jdk8/
Thursday, 18 April 2013
Java 8 delayed
Mark Reinhold has posted a blog with a proposal to delay the release of Java 8 to the first quarter in 2014. http://mreinhold.org/blog/secure-the-train
Friday, 22 March 2013
JDK8 will be released at 9th September 2013
You can see examples here: https://github.com/awislowski/jdk8
Thursday, 14 February 2013
StampedLock - new implementation for a lock
More to be read here: http://cr.openjdk.java.net/~chegar/8005697/ver.00/javadoc/StampedLock.html
Wednesday, 23 January 2013
Saturday, 28 July 2012
Project Jigsaw deferred until Java 9
The goal is: A standard module system for the Java Platform will ease the construction, maintenance, and distribution of large applications, at last allowing developers to escape the “JAR hell” of the brittle and error-prone class-path mechanism.
Chief Java architect on his blog describes the situation: http://mreinhold.org/blog/late-for-the-train.
Project Jigsaw home page: http://openjdk.java.net/projects/jigsaw/