4 ms·
This says the bug is fixed? https://bugs.openjdk.org/browse/JDK-8066915 https://bugs.openjdk.org/browse/JDK-8066915
by jryan49 2y ago
This says the bug is fixed? https://bugs.openjdk.org/browse/JDK-8066915 https://bugs.openjdk.org/browse/JDK-8066915
- weinzierl 2y agoThe point is that there is no official way to fsync a directory in Java and that everyone is relying on an unintentional side effect of an unrelated function to accomplish it. The link I supplied is about the fact that the side effect briefly disappeared in Java 9 until enough people complained. We're still living in xkcd 1172 land with this, have been for a decade or who knows how long.
- jryan49 2y agoJava does "abstract" the operating system away from you and in systems programming with java you can end up with leaky abstractions.