Core Java
-

JDK 10: Accessing Java Application’s Process ID from Java
A popular question on StackOverflow.com is, “How can a Java program get its own process ID?” There are several answers…
Read More » -

Java code style operator new line formatting
Last week, I discovered what helped me deciding on what I have struggled with for a longer time: whether to…
Read More » -

First JDK 10 (18.3) Release Candidate (Build 43) Demonstrates New Versioning Scheme
Mark Reinhold‘s post “JDK 10: First Release Candidate” announced “no unresolved P1 bugs in build 43” and named that Build…
Read More » -

String#repeat Coming to Java?
JDK-8197594 (“String#repeat”) includes the following it its “Description”: “A String method for repeating sequences of characters has been long requested…
Read More » -

JDK 10’s Summary Javadoc Tag
JDK 10 introduces a Javadoc tag {@summary} via issue JDK-8173425 (“Javadoc needs a new tag to specify the summary.”). This…
Read More » -

Repeatable Annotations in Java 8
With Java 8 you are able to repeat the same annotation to a declaration or type. For example, to register…
Read More » -

APIs To Be Removed from Java 10
In the blog post “JDK 10 Release Candidate Phase“, I looked at the twelve new features that are likely to…
Read More » -

Executing Single Java Source Files with One Command
A draft JDK Enhancement Proposal (JEP) was created in late 2017 called “Launch Single-File Source-Code Programs” (its associated JDK issue…
Read More » -

JDK 9: NotNullOrElse Methods Added to Objects Class
JDK 9 added some new methods to the Objects class including two static methods highlighted in this post: requireNonNullElse(T,T) and…
Read More »
