
airhacks.fm podcast with adam bien How PowerMock Happened
Dec 20, 2025
Johan Haleby, a seasoned software engineer and open-source author, shares his journey from programming on a Commodore 64 to creating PowerMock. He discusses his early gaming experiments, reverse engineering techniques, and pivotal moments studying Java. Johan reflects on his early career, comparing Spring's lightweight framework to old EJB systems. He delves into the creation of PowerMock, bytecode manipulation, and integration challenges. The conversation wraps up with insights on modern testing philosophies and his ongoing work with the Occurrent event sourcing library.
AI Snips
Chapters
Transcript
Episode notes
Hacking Games With Disassemblers
- Johan recounted early reverse-engineering of games using disassemblers to bypass license checks and change behavior.
- He explained editing assembly or memory to grant more lives or skip registration dialogs.
IKEA Project Sparked Testing Focus
- Johan described his first job at Jayway working on an IKEA project where Spring and automated testing were heavily used.
- That exposure shaped his testing focus and later open-source work like PowerMock.
Java's Stability Eases Long-Term Maintenance
- Johan values Java's long-term stability: old projects still build and run after a decade.
- He contrasted this with node projects that often break due to rapid ecosystem churn.

