What is OpenJDK? - Inside Java Newscast #28#videoWhat's "OpenJDK" (or "the OpenJDK"?), how does it work, and what does it do? Here's the answer to these questions as well as explorations of JDK Enhancement Proposals, the Java Community Process, why there are so many JDK providers, and how long-term support works.
Type Pattern Matching withType patters with
instanceofare Java's first step towards pattern matching. Motivation, syntax, details, and future applications - here's all you need to know.
Pattern Matching in Java#postJava takes its first steps towards pattern matching but the topic is much larger than
instanceof. Goals, terminology, flow scoping - these apply to all kinds of patterns.
Java Generics I - The Basics#videoFirst part of a short series on Java generics - this one explains the basics
Definitive Guide To Switch Expressions In Java 13#postJava 13 finalized switch expressions. Together with a new lambda-style arrow syntax, this makes switch more expressive and less error-prone.
Definitive Guide To Text Blocks In Java 13#postJava 13 introduces text blocks: string literals that span multiple lines. Learn about syntax, indentation, escape sequences, and formatting.
Java 11 HTTP/2 API Tutorial#postTutorial for Java 11's new HTTP/2 API with HttpClient, HttpRequest, and HttpResponse at its center. Shows synchronous and asynchronous request handling.
JUnit 5 Basics:The Basics of JUnit 5: How to use
@Test, Lifecycle, Assertions, Assumptions, And More#post
@AfterAll, assertions, and assumptions. How to disable, name, and tag tests.
First Contact With 'var' In Java 10#postJava 10 introduces the
varkeyword, which lets the compiler infer local variable types. Here's how var works, why it exists, how it impacts readability.
Code-First Java Module System Tutorial#postTutorial of Java 9 module system basics: declare modules with module-info.java, compile, package, launch them, learn of module path and readability graph.
Unified Logging Of JVM Messages With TheJava 9 introduces unified logging, a central mechanism configurable with
-Xlogto observe class loading, threading, garbage collector, module system, etc.
A JDeps Tutorial - Analyze Your Project's Dependencies#postJDeps is a dependency analysis tool for Java bytecode (class files and JARs). Learn how to use filters, aggregate results, and create diagrams.
How To Implement hashCode Correctly#postSo you wrote a nice
equalsimplementation? Great! But now you have to implement
hashCodeas well. Let’s see how to do it correctly.
How To Implement equals Correctly#postA fundamental aspect of any Java class is its definition of equality. It is determined by a class's
equalsmethod. Let's see how to implement it correctly.
JAR Hell#postA list of the problems that make up JAR hell (classpath hell, dependency hell) and how they relate to development tools like Maven and OSGi.
Everything You Need To Know About Default Methods#postCovering literally everything there is to know about Java 8's default methods.
Multiple Return Statements#postAn argument for using multiple return statements in a method (as opposed to adhering to the single return myth).