I have been going crazy about random access file all of a sudden
becoming invalid and narrowed it to:

    warn("## Flushing!" + raf.getChannel().isOpen());
    raf.getChannel().force(true);
    warn("## After!" + raf.getChannel().isOpen());

On certain runs I get:

[junit4.preconf] WARN: ## Flushing!true
[junit4.preconf] WARN: ## After!false

which is, ehm, surprising?! Has any of you seen such a behavior? This
reproduces inconsistently, but fairly easily on a few machines,
various JVMs (including J9?!).

Dawid

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to