Hi,
The JWT TCK contains the following test:
This is however impossible to pass in general. Principal is a proxy, and in CDI the only guarantee you have is that the proxy implements the type of the injection point.
In others words, you can't do instanceof tests on the proxy for either types, and thus this test will never pass.
I propose removing this test.
Kind regards,
arjan