530 B
530 B
web-classlib
- Write each class fresh from the JDK's documented contract. Never copy JDK or TeaVM source.
- Browser threads are coroutines: block with
wait/notify, never spin. Stay correct on a real JVM. - Signatures must match the JDK's once
Tnames are read as JDK names (see README). - Test:
./gradlew :web-classlib:check. memory/Heaphas two backends picked at compile time (Heap.linear()): linear memory in the browser, heap buffers on a JVM. Keep them in step, and keepLinearMemoryfree of allocation.