Areg Yazychyan
Areg Yazychyan
> I was hoping that this limitation would be gone in JDK 21 but as the draft JEP is being prepared, it currently seems the limitation will still be present...
> > lock() call must be in try {} block > > I don't think it must be in the try block. This is documented in the ReentrantClass: https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/locks/ReentrantLock.html >...
@cowtowncoder any updates on this?
Suggestions: - use following naming: `Foos.stream()`, `Foos.list()`, `Foos.array()` - use `List.of()` instead of `Collections.unmodifiableList(Arrays.asList())` for Java 9+ - make Foos.match generation optional - add additional annotation to generate match-like methods...
CommandBlock Redstone
ReActions Skript mcfunction DataPack