~/talk

To JAR Hell And Back - A Live Migration to the Java 9 Module System

Talkat Jfokus 2018 · 2018-02-05..02-07· [java, software-architecture]
slides:none on file

Live migration of a Maven multi-module app to Java 9 reveals concrete breakage and fixes: use jdeps to find missing JDK modules, swap Sun internal APIs to java.util.Base64, and replace Java EE libs or add them with --add-modules; Mockito/ByteBuddy triggers illegal reflective access fixed with --add-opens or by updating libraries; split packages (jsr305 vs JDK) force using --patch-module or renaming/merging jars; application class loader stops being URLClassLoader so classloader casting breaks. Most fixes are runtime JVM flags or dependency upgrades; jlink creates slim images.

AI-written summary · about

  1. 0:00Start
  2. 0:24Public Service Announcement
  3. 3:11Module Declaration
  4. 3:53Reliable Configuration
  5. 6:56Other Features
  6. 9:57The Unnamed Module
  7. 33:15Split Packages
  8. 44:54Run-Time Images
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.