<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Given that removing these APIs would cause TCK issues in these cases, I <br>
have been reticent to remove the APIs.<br></blockquote><div><br></div><div>To assess TCK impact, I downloaded jakarta-jakartaeetck-8.0.2.zip [1] and did a grep for getCallerIdentity:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">% grep -R getCallerIdentity .<br>./src/com/sun/ts/tests/signaturetest/signature-repository/javax.ejb.sig_3.2_se8:meth public abstract java.security.Identity getCallerIdentity()</blockquote><div><br></div><div>So it seems no TCK tests actually call the deprecated method, but there is a set of API signature tests which seems to expect the EJBContext methods to be present:</div><div><br></div><div>From javax.ejb.sig_3.2_se8: </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">CLSS public abstract interface javax.ejb.EJBContext<br>meth public abstract boolean getRollbackOnly()<br>meth public abstract boolean isCallerInRole(java.lang.String)<br>meth public abstract boolean isCallerInRole(java.security.Identity)<br>meth public abstract java.lang.Object lookup(java.lang.String)<br>meth public abstract java.security.Identity getCallerIdentity()<br>...</blockquote><div><br></div><div>I have not been able to determine whether these signature tests will accept the EJBContext signatures as present even when the JRE removes the class. However, I'm hopeful that is the case, since it does seem that ./lib/sigtest.jar has a BinaryClassDescrLoader class which parses class files directly, without any reflection.</div><div><br></div><div>Based on these observations, it seems running the TCK on a JRE without java.security.Identity should either be a non-issue, or it should require relatively small efforts to allow the TCK to run on such JREs.</div><div><br></div><div>Thanks,</div><div>Eirik.</div><div> </div><div>[1] <a href="https://download.eclipse.org/jakartaee/platform/8/">https://download.eclipse.org/jakartaee/platform/8/</a>  </div></div></div>