Emily,
> I think now we are sort of agreeing on this
Incorrect, there has been no agreement on behavior and talk of the TCK has just derailed the discussion.
Whatever behavior we decide on we can test with the TCK one way or another (No tests have been delivered, only sample code written to prove testing is possible).
This is what has been decided:
virtual=false, JDK 21 - Expect a platform thread
virtual=true, JDK 21 - Expect either a virtual or platform thread
virtual=false, JDK 17 - Expect a platform thread
virtual=true, JDK 17 -
This is the only part of the matrix we haven't decided on:
- Should this be a runtime error?
- Should platforms ignore this and just return a platform thread?
- Should it be undefined (some products may choose to ignore, throw a runtime error, or fail to deploy the application)?
We can test any of these scenarios (including 3, which will be to not test anything, because there will be nothing to test, because it is undefined).
We really just need to vote on what we want and worry about the testing later since I have proven we can test any of these scenarios.
Thanks,
Kyle Jon Aure