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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
490
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
910
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
受け入れテスト駆動開発(ATDD)×AI駆動開発 AI時代のATDDの取り組み方を考える
kztakasaki
2
550
ご飯食べながらエージェントが開発できる。そう、Agentic Engineeringならね。
yokomachi
1
290
TROCCOで実現するkintone+BigQueryによるオペレーション改善
ssxota
0
150
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
740
Claude Code の Skill で複雑な既存仕様をすっきり整理しよう
yuichirokato
1
320
朝日新聞のデジタル版を支えるGoバックエンド ー価値ある情報をいち早く確実にお届けするために
junkiishida
1
680
NOT A HOTEL - 建築や人と融合し、自由を創り出すソフトウェア
not_a_hokuts
2
870
日本だけで解禁されているアプリ起動の方法
ryunakayama
0
370
15年目のiOSアプリを1から作り直す技術
teakun
1
610
New in Go 1.26 Implementing go fix in product development
sunecosuri
0
380
TipKitTips
ktcryomm
0
160
AIに任せる範囲を安全に広げるためにやっていること
fukucheee
0
120
Featured
See All Featured
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
230
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Mobile First: as difficult as doing things right
swwweet
225
10k
Designing for Timeless Needs
cassininazir
0
150
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
430
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
How to train your dragon (web standard)
notwaldorf
97
6.5k
The Cult of Friendly URLs
andyhume
79
6.8k
Accessibility Awareness
sabderemane
0
74
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
ラッコキーワード サービス紹介資料
rakko
1
2.6M
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
120
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