-
Core Java
Faster Repeated Access to Java Class Names Coming to Java?
Claes Redestad has posted the message “RRF: 8187123: (reflect) Class#getCanonicalName and Class#getSimpleName is a part of performance issue” on the…
Read More » -
Core Java
New Methods on Java String with JDK 11
It appears likely that Java’s String class will be gaining some new methods with JDK 11, expected to be released…
Read More » -
Core Java
Recent Java Developments – Late April 2018
There have been several recent developments in the Java-sphere this week and I summarize some of them in this post.…
Read More » -
Core Java
Enhancing Java switch Statement with Introduction of switch Expression
In late December of last year, I posted “Switch Expressions Coming to Java?” Since then, there has been significant discussion,…
Read More » -
Core Java
Optional.isEmpty() Coming to Java?
JDK-8184693 requests that the method isEmpty() be added to the Optional class introduced with JDK 8. Invoking Optional.isEmpty() would be…
Read More » -
Core Java
Forward-Looking with Java’s @Deprecated
I have occasionally run into a situation in which I have needed to introduce a new API or construct for…
Read More » -
Core Java
Raw String Literals Coming to Java
It appears likely that “raw string literals” are coming to Java. JEP 326 (“Raw String Literals”) started as Issue JDK-8196004…
Read More » -
Core Java
Java May Use UTF-8 as Its Default Charset
Because Java-based applications are often used in a wide variety of operating systems and environments, it is not uncommon for…
Read More » -
Core Java
Prefer System.lineSeparator() for Writing System-Dependent Line Separator Strings in Java
JDK 7 introduced a new method on the java.lang.System class called lineSeparator(). This method does not expect any arguments and…
Read More »