Keio Kraaner created WFLY-6661:
----------------------------------
Summary: Bean level lock type not applied
Key: WFLY-6661
URL:
https://issues.jboss.org/browse/WFLY-6661
Project: WildFly
Issue Type: Bug
Components: EJB
Affects Versions: 10.0.0.Final
Reporter: Keio Kraaner
A singleton EJB has @Lock(LockType.READ) annotation declared on the class level.
The bean is accessed using a local (defined by @Local annotation) or remote (defined by
@Remote annotation) EJB interface.
SingletonComponent::getLockType returns wrong value (LockType.WRITE) because the
beanLevelLockType map does not contain a key equal to the local or remote interface class
name. It contains a key equal to the EJB class name that implements those interfaces.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)