~/talk

JDK 11: Pitfalls for the Unwary

Talkat Riga Dev Days 2019 · 2019-05-29..05-31· [java]
slides:none on file

Covers exact migration changes you must fix: the Java Platform Module System fragments rt jar so you may need jlink to build a reduced runtime, use jdeps to find module/package dependencies, or move jars to the module path as automatic modules. Calls out removed modules (CORBA, Java EE/JAX-WS/JAXB, JavaFX JVM plugin, Java Web Start), six API methods removed in JDK9, keyword changes (single underscore, var), javah replaced by javac -h, and dozens of JVM flags removed or renamed — about 50 flags can prevent startup unless you update startup scripts.

AI-written summary · about

  1. 0:00Start
  2. 0:24JDK 9: Big And Small Changes
  3. 1:53JDK Compatibility
  4. 6:37JDK 9 Onwards And Compatibility
  5. 7:51Java Platform Module System (JPMS)
  6. 12:01Migrating Applications to JPMS
  7. 14:22Classpath v Modulepath
  8. 15:17Reversing Encapsulation
  9. 19:22Finding Dependencies: jdeps
  10. 22:59Using "Missing" Modules
  11. 23:37Milling Project Coin (JEP 213)
  12. 24:47Deleted Deprecated Methods
  13. 26:17Deleted Deprecated Class
  14. 26:45Finding Deprecated API Use
  15. 27:36JDK/JRE File Structure (JEP 220)
  16. 29:48New Version String Format (JEP 223)
  17. 32:36Non-Programmatic Issues
  18. 34:04Removed GC Options (JEP 214)
  19. 34:35JVM Logging
  20. 35:19Removed JVM Flags: Ignored
  21. 36:07Deprecated JVM Flags
  22. 36:26JVM Flags: Non-Starters
  23. 36:58Local Variable Type Inference
  24. 37:45Deprecated Things Removed
  25. 38:59Miscellaneous Things moved
  26. 39:19Command Line Flags
  27. 40:16Oracle JDK & OpenJDK
  28. 41:15Major Absent Features
  29. 42:47Tools Affected
  30. 46:30Command Line-XX Flags
  31. 47:22Migrating To JDK 11 or 12
  32. 48:06Zulu Community Edition • Azuls free binary distribution of Open JDK
~/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.