~/talk

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

Talkat JavaDay Ukraine 2017 · 2017-11-04..11-05· [java, legacy-modernisation]
links:none on file
slides:none on file

A demo monolithic app is migrated to Java 9 and made to compile test and run by replacing sun misc Base64 with java.util.Base64, using jaidev's to find internal API uses, updating Mockito/byte‑buddy, and adding JVM flags like --add-modules, --patch-module and --add-opens to re-enable Java EE packages and resolve a split packages conflict via patching. A URLClassLoader-based hot‑plug fails because the system class loader is no longer a URLClassLoader, but after fixes the REST endpoint runs successfully on Java 9.

AI-written summary · about

  1. 0:00Introduction to Java 9 migration
  2. 1:10Java module system basics
  3. 8:12Common Java 9 migration issues
  4. 20:41Live demo setup
  5. 21:22Running app on Java 8
  6. 23:14Switching to Java 9 build
  7. 26:03Fixing internal API issues
  8. 29:18Configuring illegal access flags
  9. 34:04Java EE module problems
  10. 38:46Solving split package errors
  11. 44:18Class loader casting failure
  12. 46:25Runtime module configuration
  13. 47:29About the speaker
~/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.