Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
What's new in Java (Android N)
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Eugenio Marletti
March 30, 2016
Programming
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
What's new in Java (Android N)
Lighting talk about what's new in Java in the Android N preview
Eugenio Marletti
March 30, 2016
More Decks by Eugenio Marletti
See All by Eugenio Marletti
Confessions of a Serial K–otlin Multiplatform–er [v2]
takhion
0
170
Confessions of a Serial K–otlin Multiplatform–er
takhion
0
520
Exploiting Kotlin Metadata + Annotation Processing
takhion
1
1.2k
And Google said, Let there be Flutter: and there was Flutter
takhion
2
350
Kotlin’s Mind Blowers
takhion
6
940
Sharing [Kotlin code across platforms] is caring!
takhion
1
240
Flutter: A New Hope [EXTENDED VERSION]
takhion
1
610
Unleash the secret power of Kotlin Metadata
takhion
3
2.1k
Kotlin > 🏝 (Kotlin: more than an island)
takhion
4
400
Other Decks in Programming
See All in Programming
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
5
4.2k
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
270
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
290
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
160
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
3
1k
Performance Optimization With LLMs
xleitix
0
180
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
600
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2.7k
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
230
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.7k
APNsからLive Activityを開始する話
yumnumm
0
170
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
140
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
55
13k
Being A Developer After 40
akosma
92
590k
Producing Creativity
orderedlist
PRO
348
41k
For a Future-Friendly Web
brad_frost
184
10k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
The browser strikes back
jonoalderson
0
1.8k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
480
Designing for Timeless Needs
cassininazir
1
530
Skip the Path - Find Your Career Trail
mkilby
1
260
What's in a price? How to price your products and services
michaelherold
247
13k
Transcript
What’s new in Java N Eugenio Marletti @workingkills
Language: 7-ish ∞ diamond operator string switch multicatch K try-with-resources
API: 6-ish K Throwable.addSuppressed() L ForkJoinPool JVM: 6 before N
after N “ we’re looking forward to tracking the Java
language more closely while maintaining backward compatibility ”
lambdas method references after N Language: 8-ish ∞ N default
& static methods in interfaces repeatable annotations API: 8-ish N streams functions optionals missing: date/time? (plz support lib!) JVM: 6 (still no invokedynamic)
lambda method reference anonymous class new View.OnClickListener() { @Override public
void onClick(View view) { doSomething(view); } } view -> doSomething(view) this::doSomething
None
Alternatives Keep doing what you’re doing Retrolambda Kotlin
android { ... defaultConfig { ... jackOptions { enabled true
} } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } Getting started: developer.android.com/preview/j8-jack.html TL;DR 1. setup a project for the N preview 2. add this Gradle config:
Slides: bit.ly/new-java-n Eugenio Marletti @workingkills Questions? ktnxbye