jakartaee/jsonp-api

ee.jakarta.tck.jsonp.api.provider.JsonProviderTest TCK challenge

starksm64 opened this issue · 1 comments

In addition to the context described in #376 , another context where this test fails is when the testsuite is being run from within another container like a Jakarta Core Profile container that also uses JSONP. The test is too fragile to the jakarta.json.spi.JsonProvider#provider() code not being run before the test is. The only way this test can work is if the jakarta.json.spi.JsonProvider class has a static accessor to clear the current state of the jakarta.json.provider system property check.

TCK user guide currently does not allow having both test suites on the classpath at the same time or better - this setup is not documented/supported