JavaHands-on Lab (3h)180min
Testing and Debugging OpenJDK
This workshop focuses on debugging and testing in the OpenJDK compiler environment. Attendees will learn how to set up an environment for JtregOpenJDK, run test suites, add and test syntax updates, and run tests within an IDE with a debugger attached. The session offers exposure to the OpenJDK development loop and navigation around the OpenJDK project. Necessary tools include a GitHub account, Java 20/21, and Docker. Full documentation is provided.
Hasnae RehiouiSafetyCulture
talkDetail.whenAndWhere
Tuesday, October 8, 09:30-12:30
BOF 2
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.StepsTask 0 : setup environment and IDE forJTregOpenJDKTask 1 : run an existing test suiteTask 2 : syntax sugar support and testing itfor example, enhanced map syntax Map capitals = { "norway" : "oslo", "sweden": "stockholm" }Task 3 : run the tests inside the IDETask 4 : run the tests with a debugger attachedFull documentation will be providedNecessary ToolsGitHub accountJava 20 / Java 21Docker (which would provide the required Java and Maven environment dependencies)Takeaways Get some exposure to OpenJDK development loopLearn to navigate around OpenJDK project
Hasnae Rehioui
Hasnae is known as "viqueen" among her peers in Sydney, she is a Java architect by trade and a Maven connoisseur;
yet with her 16 years of Java experience, Hasnae decided to keep life interesting by spicing things up a bit and switching to
new tech stacks such as Node/TypeScript and Golang.
yet with her 16 years of Java experience, Hasnae decided to keep life interesting by spicing things up a bit and switching to
new tech stacks such as Node/TypeScript and Golang.
comments.speakerNotEnabledComments