eclipse-vertx / eclipse-vertx/vert.x

Should ContextInternal#isRunningOnContext cognize DuplicatedContext?

Open
#4,576 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
14.7k
Forks
2.1k
Avg merge
2d 7h
Merged PRs (30d)
28

Description

### Version

4.3.7

### Context

Test wheather a code is running on the same context of an vertical context.

### Do you have a reproducer?

Yes

### Steps to reproduce
The current
```java
default boolean isRunningOnContext() {
return current() == this && inThread();
}
```
in DuplicatedContext is not override by DuplicatedContext.

And the current DuplicatedContext has removed its own TaskQueue, and the javadoc seems need an update too.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.