One of the recurrent themes from my other compiler workshops is “can you debug it ?” , so in an attempt at getting that sorted I simply ended up running and writing tests , therefore closing the loop on that OpenJDK compiler dev-loop.
So in my series of hacking on the Java compiler, we will focus this session on adding simple syntax updates and explore Jtreg the unit/regression test harness for OpenJDK.
Steps
Necessary Tools
So in my series of hacking on the Java compiler, we will focus this session on adding simple syntax updates and explore Jtreg the unit/regression test harness for OpenJDK.
Steps
- Task 0 : setup environment and IDE for
- JTreg
- OpenJDK
- Task 1 : run an existing test suite
- Task 2 : syntax sugar support and testing it
Map capitals = { "norway" : "oslo", "sweden": "stockholm", "morocco": "rabat", "australia": "canberra, }
- Task 3 : run the tests inside the IDE
- Task 4 : run the tests with a debugger attached
Necessary Tools
- GitHub account
- Java 20 / Java 21
- Docker (which would provide the required Java and Maven environment dependencies)
- Get some exposure to OpenJDK development loop
- Learn to navigate around OpenJDK project
Hasnae Rehioui
SafetyCulture
Hasnae brings in a precious engineering experience from her years at Atlassian working on Confluence.
A Java architect by trade, after 16 years of Java, and in the spirit of keeping her tech life interesting , Hasnae decided to embrace yet another tech stack (Golang) explore a new product and learn both from the best in Sydney aka. SafetyCulture.
A Java architect by trade, after 16 years of Java, and in the spirit of keeping her tech life interesting , Hasnae decided to embrace yet another tech stack (Golang) explore a new product and learn both from the best in Sydney aka. SafetyCulture.