Results 106 comments of Andrej Fink

@vietj NPE is real. There is a test in PR

@vietj Any chance to have in addition `public static RuntimeException throwAsUnchecked(Throwable t) throws E {` instead of `public static void throwAsUnchecked(Throwable t) throws E {` Please… 🙏😅 The Pain Of...

@vietj and "happy path" for already completed Futures ``` default T await() { if (isComplete()) { return ... } ```

The only problem I see: If you have such a rogue task, what you can do with it? You can't actually stop execution in Java. Thread.stop is deprecated, Thread.interrupt is...

Second commit contains: 1) bug fix in DelegatingScheduler#schedule: (delay == 0) → (delay <= 0) 2) fix, if user's executor is actually commonPool() without parallelism. Similar to CompletableFuture.screenExecutor 3) Use...

Can't run Java 17, Gradle plugin either java.io.InvalidClassException: org.gradle.api.internal.tasks.testing.worker.TestWorker; local class incompatible: stream classdesc serialVersionUID = 3693551109956383254, local class serialVersionUID = 9179962266607461973 at java.base/java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:597) at java.base/java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:2051) at java.base/java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1898) at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2224)...

@trustin It is an honor to see the author of Netty here! I am the user of Netty from the times you had forked it from your Apache Mina. I...

``` var list = new ArrayList(); Executors.newVirtualThreadPerTaskExecutor().submit(() -> { for (int i = 0; i < 1 { var list = new ArrayList(); for (int i = 0; i <...

`Logback ConsoleAppender` works: it uses `System.out.write()`: I have changed `println` to `write` and: no more blocking/deadlocking! So the problem is somewhere in the depths of your `LinePerThreadBufferingOutputStream.println()` implementation.