concurrency
concurrency copied to clipboard
Add tests for ManagedThreadFactory Injected to Servlet
As I commented on https://github.com/jakartaee/concurrency/pull/212, I cannot support it. I believe behavior has never been clearly specified in the spec. GlassFish, which used to be the reference impl doesn’t comply with it.
I’d like to see opinions from other implementors and users of other implementations before I and the GlassFish team can support this.
@njr-11 Thanks a lot for your comments! I'll fix the issues.
@OndroMih
- I think that injection is the preferred way of using MES etc. So having some tests makes sense.
- Regarding the issue with storing context -- this test shows, what exactly I meant and I would like to clarify, how it should behave. But I'll fix the Nathan's issues first.