Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
What's new in Java (Android N)
Search
Eugenio Marletti
March 30, 2016
Programming
0
140
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
Tweet
Share
More Decks by Eugenio Marletti
See All by Eugenio Marletti
Confessions of a Serial K–otlin Multiplatform–er [v2]
takhion
0
130
Confessions of a Serial K–otlin Multiplatform–er
takhion
0
480
Exploiting Kotlin Metadata + Annotation Processing
takhion
1
1.2k
And Google said, Let there be Flutter: and there was Flutter
takhion
2
320
Kotlin’s Mind Blowers
takhion
6
890
Sharing [Kotlin code across platforms] is caring!
takhion
1
210
Flutter: A New Hope [EXTENDED VERSION]
takhion
1
570
Unleash the secret power of Kotlin Metadata
takhion
3
2.1k
Kotlin > 🏝 (Kotlin: more than an island)
takhion
4
380
Other Decks in Programming
See All in Programming
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
460
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
180
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
230
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
260
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
160
Oxlintはいいぞ
yug1224
5
1.3k
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
2.5k
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
120
Grafana:建立系統全知視角的捷徑
blueswen
0
330
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
CSC307 Lecture 07
javiergs
PRO
0
550
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
6k
Chasing Engaging Ingredients in Design
codingconduct
0
110
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Designing for Performance
lara
610
70k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
450
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
56
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
200
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
940
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Are puppies a ranking factor?
jonoalderson
1
2.7k
KATA
mclloyd
PRO
34
15k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
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