~/talk

What’s New in the Java Platform Language and Tooling Area

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

Local-variable type inference (var for locals, enhanced lambdas and for‑loops) lands in JDK 10 with style rules, pitfalls (diamond + var can widen to Object; numeric literals promote to int) and guidance. JDK 12 ships switch expressions as a preview: case -> arrows, expression results, break-with-value and exhaustiveness checks. Text (rostering) literals use backticks for raw multi-line strings and add String.align for trimming. Tooling: java now runs single-source files (java HelloWorld.java), Javadoc gains search/HTML5/module fixes, and Nashorn and Pack200 are deprecated in JDK 11.

AI-written summary · about

  1. 0:00Intro
  2. 0:21Overview
  3. 0:35Language enhancements
  4. 3:06Local-Variable Type Inference - Guidelines
  5. 10:30Preview Language and VM Features
  6. 11:53Switch Expressions - Preview Feature
  7. 13:06Switch Expressions - Advantages
  8. 14:49Switch Expressions - Safer scoping of locals
  9. 15:54Switch Expressions - from stmt to expr
  10. 16:16Switch Expressions - Simpler syntax
  11. 17:55Switch Expressions - break with a value
  12. 18:36Switch Expressions - Using traditional cases
  13. 19:17Switch Expressions - Total coverage of cases
  14. 20:53Raw String Literals - Preview Feature
  15. 26:55Tooling enhancements
  16. 27:14Launch Single-File Source-Code Programs
  17. 30:34Javadoc - Documentation Improvements
  18. 32:07Deprecated and Removed Features
  19. 34:36Major Language and Tooling Projects Project Amber
~/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.