Prepare Your Code Bases For Future Java - Inside Java Newscast #41#videoWhat do the security manager, applet API, finalization, and primitive wrapper constructors have in common? What about CMS, Nashorn, RMI activation, and biased locking? And what does jdeprscan have to do with all of this?
News Grab Bag: Loom Virtual Threads, Lilliput, Pattern Matching, ... - Inside Java Newscast #25#videoProject Loom's virtual threads are merged and ship with JDK 19 - here's to prepare for them. Also, news on Project Lilliput, proposal for record patterns in pattern matching, some astonishing numbers from Sonatype on Maven Central, and the move of OpenJDK to openjdk.org.
All About JDK 18 - Inside Java Newscast #21#videoRefinements in pattern matching and Panama's foreign and vector APIs; a new command
jwebserverand a new IP address resolution SPI; preparing code for UTF-8 becoming the default character set and for the eventual removal of finalization; and a few more bits and pieces.
Configuring Maven For Compiled And Tested Code In Javadoc#postFor JDK 18's / JEP 413's embedded snippets to be compiled and tested by your Maven build, they need to be added to a source set, Surefire needs to pick them up, and Javadoc needs to know their location - here's how to do that.
Random Numbers and JDK Flight Recorder - Inside Java Newscast #9#videoThe new API for random number generation in Java 17 - why it needed to change and how the new API is more usable, extensible, and robust - and how to get started with JDK Flight Recorder, particularly on Java 16.
To Jupiter And Beyond - On An Exploratory Mission With JUnit Pioneer#talkJUnit Pioneer gathers JUnit 5 extensions. This talk discusses the technical aspects, but also the mission, dev practices, automatic releases, and what Twitch has to do with all of this.
Sorting A React App Into Java's Folder Structure#postHow to use react-app-rewired to sort a React app into a Java folder structure with
package.jsonat the root, and sources in
Caliz III: Hashing scripts and background compilation#videoLetting Caliz store native images and only create them for a given Java "script" (single source file) if needed
Caliz II: Wrapping Graal AOT#videoExtending Caliz to create native images of Java "scripts" (single source files) with with Graal
Caliz I: Wrapping JVM 11 and learning about Graal AOT#videoFirst steps toward an acceptable scripting experience with single-source-file execution and Graal native images
Scripting Java 11, Shebang And All#postOn Java 11+, you can run a single source file without compiling it. Beyond experimentation, you can write scripts this way. Even shebang is supported!
Maven 3 / 4 / 5 with Robert Scholte#videoMaven is one of the cornerstones of the Java ecosystem - here I talk with Robert Scholte, Chairman of the Apache Maven projects
JUnit 5 Setup in IntelliJ, Eclipse, Maven, and Gradle#postHow to set up JUnit 5 so tests run in IntelliJ, Eclipse, Maven, Gradle or, if all else fails, via JUnit 4 or on the command line.
How To Use Multi-release JARs To Target Multiple Java Versions#postMulti-release JARs allow you to create a single JAR that contains bytecode for several Java versions with jar --version 9 (or 10, or...). Presented with a multi-release JAR, JVMs version 9 and later will load the code that was included for their version.
Maven on Java 9 and later - Six Things You Need To Know#postHow to use the compiler executable, toolchains, and mavenrc to run Maven on Java 9 and how to use mvn/jvm.config and profiles to configure your build.
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.
Publishing Snapshots With Gradle's maven-publish Plugin#postA step by step tutorial how to use Gradle and the maven-publish plugin to publish snapshots to Sonatype's Maven snapshot repo.
JDeps Maven Plugin 0.2 Released#postWith v0.2 the JDeps Maven Plugin allows the creation of flexible exceptions from build-breaking for a self-paced preparation for Java 9 and Project Jigsaw.
Apache JMeter Tutorial#postWant to load test your web app? Then you should know about Apache JMeter! This tutorial explains the basics and how to create & execute a test plan.
First Release of JDeps Maven Plugin#postThe JDeps Maven Plugin will break a project's build if it contains dependencies on JDK-internal APIs. This helps to prepare for Java 9.
Running Android Emulator With HAXM On Thinkpad T440p#postQuick guide to how to use the Android emulator with HAXM (based on VT-x) on a Thinkpad T440p.
New Javadoc TagsThere are new Javadoc tags used in Java 8:
@implNote. Take a look at their history, meaning and use on command line and with Maven.