Skip to content

Remove obsolete EJBContext methods #1035

Merged
rzo1 merged 1 commit intoapache:mainfrom
eirbjo:remove-obsolete-ejbcontext-implementations
Nov 15, 2023
Merged

Remove obsolete EJBContext methods #1035
rzo1 merged 1 commit intoapache:mainfrom
eirbjo:remove-obsolete-ejbcontext-implementations

Conversation

@eirbjo
Copy link
Copy Markdown
Contributor

@eirbjo eirbjo commented Apr 20, 2023

The EJBContext methods getEnvironment, getCallerIdentity and isCallerInRole(Identity) were removed in Jakarta EE 9, but their implementations remain in BaseContext.

This PR suggests we remove these now-obsolete methods and also add @Override annotations to prevent future removals going unnoticed.

This also removed the depdency on the deprecated for-removal java.security.Identity class and allows TomEE to run on future JREs where this class has been removed.

…ity and isCallerInRole(Identity). Add overrides to prevent future removals going undetected.
@eirbjo eirbjo changed the title Remove the obsolete EJBContext methods Remove obsolete EJBContext methods Apr 20, 2023
@rzo1 rzo1 merged commit 5ce33b6 into apache:main Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants