Introduction to Amber - Baby Steps

Remi Forax forax at univ-mlv.fr
Thu Oct 10 13:33:17 UTC 2019


Hi Morgan,
welcome on board :)

----- Mail original -----
> De: "Morgan Davies" <Morgan.Davies at ibm.com>
> À: "amber-dev" <amber-dev at openjdk.java.net>
> Envoyé: Jeudi 10 Octobre 2019 14:43:36
> Objet: Introduction to Amber - Baby Steps

> I recently subscribed to this mailing list after researching project amber
> and its aim and was wondering how I can contribute to this project
> considering I'm new to the codebase.
> 
> If someone could point me towards a soft bug or enhancement to get me
> started, I would be very grateful.

so as you know, Amber is mostly about patching/enhancing the compiler, javac,
the current JEPs we are working are JEP 305 (pattern matching instanceof), JEP 359 (record) and JEP 360 (sealed type). 

as usual with a compiler, the main issue is not to fix bugs but to find them, so if you can take a spec, take a real source code like Maven, gradle, whatever applications you want, and covert the source code to use the new feature, i'm sure you will find bug to fix.

By example, the JEP 305 will land soon in the JDK and Java has a lot of way to express the control flow, switch/expression switch/while/do...while/for/for(:)/break/continue/return/try...catch so i'm pretty sure we don't have JTreg tests that cover all of the combinations.

> 
> Kind Regards,
> 
> Morgan Davies

best regards,
Rémi


> ------------
> Slack: @morgan.davies
> Email: morgan.davies at ibm.com
> Working hours: Monday - Friday (9am-5pm)
> Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with number
> 741598.
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


More information about the amber-dev mailing list