-
Observation:
In the following java program:
```
import java.util.concurrent.atomic.AtomicBoolean;
public class Simple {
public static void main(String[] args) {
AtomicBo…
-
> Errors should never pass silently. Unless explicitly silenced.
> \- https://peps.python.org/pep-0020/
report the swallowed exceptions by `M*`(including `thenM*`/`MTuple*`) methods:
- `mSuppl…
-
`org.openrewrite.staticanalysis.FinalClass` works on wrong assumptions. A non-final class with no public constructor can have nested static sub classes, and in that case it cannot be made final.
##…
-
Same problem in both ClusterManager and HealthMonitor 's start().
Make sure that the AtomicBoolean is set in the beginning of the start() method.
#### Environment
Operating System: All
Platform: Macin…
-
I tried ZIO 2.0.0, 2.1.0, 2.1.9 (latest). All of them have the same issue.
Here's a test that reproduces the error
```scala
import zio._
import zio.test.TestAspect.timeout
import zio.test._
…
-
Compare-and-set is a useful functionality (that's why it exists in the Java API). It can save one from race conditions, as explained below.
### Use case
- Assume an atomicboolean called `LOCKED`, set …
-
Currently when the writer calls `close` on a channel, if there are remaining values then those will be returned back to the writer and the channel will be closed immediately. Readers will not be able …
-
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
### Read release policy
- [X] I understand that unsupported ver…
-
I have been experimenting with Spock lately as a potential replacement for JUnit / Mockito in some unit tests I am working on and have been struggling with mocking of classes that have final fields an…
-
### Describe the bug
`SignerUtils#moveContentLength` conditionally has to read the entire contents of an input stream in case a content length header isn't there. This is problematic because:
- Some…