Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
120
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
310
Kotlin’s Mind Blowers
takhion
6
880
Sharing [Kotlin code across platforms] is caring!
takhion
1
210
Flutter: A New Hope [EXTENDED VERSION]
takhion
1
550
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
クラウドに依存しないS3を使った開発術
simesaba80
0
150
Claude Codeの「Compacting Conversation」を体感50%減! CLAUDE.md + 8 Skills で挑むコンテキスト管理術
kmurahama
1
620
新卒エンジニアのプルリクエスト with AI駆動
fukunaga2025
0
230
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
180
AIエージェントを活かすPM術 AI駆動開発の現場から
gyuta
0
460
生成AIを利用するだけでなく、投資できる組織へ
pospome
2
390
Deno Tunnel を使ってみた話
kamekyame
0
220
AI Agent Dojo #4: watsonx Orchestrate ADK体験
oniak3ibm
PRO
0
110
DevFest Android in Korea 2025 - 개발자 커뮤니티를 통해 얻는 가치
wisemuji
0
170
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
270
Flutter On-device AI로 완성하는 오프라인 앱, 박제창 @DevFest INCHEON 2025
itsmedreamwalker
1
140
実は歴史的なアップデートだと思う AWS Interconnect - multicloud
maroon1st
0
250
Featured
See All Featured
From π to Pie charts
rasagy
0
88
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
0
99
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
81
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Applied NLP in the Age of Generative AI
inesmontani
PRO
3
2k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
A better future with KSS
kneath
240
18k
Documentation Writing (for coders)
carmenintech
77
5.2k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
1
860
4 Signs Your Business is Dying
shpigford
186
22k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
160
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