~/talk

JDK 9, 10, and 11: Pitfalls for the Unwary

Talkat Oracle Code One 2018 · 2018-10-22..10-25· [java]
slides:none on file

Module system breaks the JDK into modules and encapsulates internal APIs so code or libraries that use sun.misc.Unsafe or other internals suddenly fail unless reopened with flags such as --illegal-access=permit or selective --add-exports and --add-opens. jdeps reveals module and internal-API dependencies and jlink can build a trimmed runtime. JDK 9 removes six deprecated methods, JDK 10 adds local type inference with var, JDK 11 drops Java Web Start and many tools and changes Oracle JDK licensing, all causing real recompilation, runtime failures, or packaging work.

AI-written summary · about

  1. 0:00Intro
  2. 1:56JDK Compatibility
  3. 5:26JDK 9 Onwards And Compatibility
  4. 6:24Java Platform Module System (JPMS)
  5. 10:03Migrating Applications to JPMS
  6. 12:14Classpath v Modulepath
  7. 13:08Reversing Encapsulation
  8. 16:59Finding Dependencies: jdeps
  9. 21:27Using "Missing" Modules
  10. 22:39Milling Project Coin (JEP 213) • A single underscore is now a keyword in Java
  11. 23:55Deleted Deprecated Methods
  12. 25:36Deleted Deprecated Class
  13. 26:06Finding Deprecated API Use
  14. 26:56JDKIJRE File Structure (JEP 220)
  15. 28:45New Version String Format (JEP 223)
  16. 31:38Non-Programmatic Issues Java Network Launch Protocol NLPSR 52
  17. 33:02Removed GC Options (JEP 214)
  18. 34:53Replaced JVM Flags
  19. 35:33Deprecated JVM Flags
  20. 35:55JVM Flags: Non-Starters
  21. 36:37Local Variable Type Inference
  22. 37:39Deprecated Things Removed
  23. 39:09Command Line Flags
  24. 41:09Major Absent Features
  25. 44:53Command Line-XX Flags
  26. 46:27Zulu Java
~/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.