eclipse-vertx / eclipse-vertx/vert.x
Should ContextInternal#isRunningOnContext cognize DuplicatedContext?
Open
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
Assessment
This issue has not been assessed yet.