Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> until you find out SimpleDateFormat and a bunch of other classes built tight into your standard library aren't thread safe

true, but DateTimeFormatter has been available since Java 8, released almost 10 years ago.

VirtualThreads will be available in Java tomorrow

Also: https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDa...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: