Jabel – retrofitting Java Compiler by instrumenting it!

Java 8 is 5 years old, yet many projects still use it as a target.
However, this limits the Java language features to the ones available in 8. No "var", no switch expressions, no multi-line strings, no diamond operator with abstract classes...

But is it really necessary to target Java 13 to use multi-line strings? Or "var"? Aren't they a syntactic sugar, or they require some new bytecodes or APIs in Java 9 and higher?

This question was bothering me for too long, so I went to the javac sources and you will not believe what I found there! :D


Sergei Egorov,

Pivotal

@bsideup
Jabel – retrofitting Java Compiler by instrumenting it!
Sergei Egorov,
Pivotal
@bsideup
Java 8 is 5 years old, yet many projects still use it as a target.
However, this limits the Java language features to the ones available in 8. No "var", no switch expressions, no multi-line strings, no diamond operator with abstract classes...

But is it really necessary to target Java 13 to use multi-line strings? Or "var"? Aren't they a syntactic sugar, or they require some new bytecodes or APIs in Java 9 and higher?

This question was bothering me for too long, so I went to the javac sources and you will not believe what I found there! :D
Video presentation
About speaker
About speaker
Sergei works at Pivotal on Project Reactor in Berlin, Germany.

He is an active member of the open source community, member of the Apache Foundation, co-maintainer of the Testcontainers project, and a contributor to various OSS projects (Apache Groovy, Testcontainers, JBoss Modules, Spring Boot, to name a few), likes to share the knowledge and was presenting at different conferences and meetups in Russia, Germany, Ukraine, Norway, Denmark, Spain, and Estonia.

He is passionate about DevOps topics, clouds, and infrastructure.

Before Pivotal, he was working at Vivy, N26, Zalando, ZeroTurnaround, TransferWise, and other startups.
Another speakers
Another speakers
Our partners
Online partners
Click to order
Cart
Total: 
We will send confirmation of payment to the specified e-mail
Firstname
Lastname
Company
Position
E-mail
Оплачивая участие, вы соглашаетесь на обработку персональных данных и с условиями пользования сайтом