jakartaee / jsonp-api

Jakarta JSON Processing
https://eclipse.org/ee4j/jsonp
Other
138 stars 59 forks source link

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

Closed starksm64 closed 2 years ago

starksm64 commented 2 years ago

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.

lukasj commented 2 years ago

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