Java
How Atracode compiles Java, what it is verified against, and what it refuses.
- Style
- Managed
- Verified against
- JDK 21 (javac / java)
- Published results
- SHA-256, CRC-32, quicksort, n-queens verified
What is supported
True 32-bit int wrapping, >>>, arrays of any rank, nested classes, classic/arrow/expression switch, reference write-back.
JVM and .NET semantics reproduced exactly.
How it is verified
Every Java program is compiled twice, once by Atracode and once by JDK 21 (javac / java). Both builds run over the same large set of inputs and must agree bit for bit in output and memory before the compile succeeds. See verification for how the sweep works.
$ atracode compile main.src
verified raven:3f1c… (illustrative)What gets refused
Anything that depends on the world outside the program, such as the clock, the network, environment variables or unseeded randomness, is refused at its exact line and column instead of being approximated. Pass those values in as inputs and compile again. Refusals lists the common causes and fixes.