[ 
https://issues.apache.org/jira/browse/TOMEE-4654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Markus Jung reassigned TOMEE-4654:
----------------------------------

    Assignee: Markus Jung

> java:comp naming context accepts writes the Enterprise Beans spec requires it 
> to refuse
> ---------------------------------------------------------------------------------------
>
>                 Key: TOMEE-4654
>                 URL: https://issues.apache.org/jira/browse/TOMEE-4654
>             Project: TomEE
>          Issue Type: Bug
>            Reporter: Markus Jung
>            Assignee: Markus Jung
>            Priority: Major
>
> The Enterprise Beans spec requires the java:comp context to be read-only 
> inside a bean, and to throw {{OperationNotSupportedException}} on any write 
> attempt against it. TomEE's naming context skips that check and lets bind, 
> rebind, and rename calls through instead of refusing them.
> h2. Steps to reproduce / TCK reference
> Excluded in {{runner-webprofile/exclusions/enterprise-beans-30.txt}} in the 
> apache/tomee-tck harness repo:
> * {{**/naming/context/*Test.java}}
> Once fixed, remove the matching lines and confirm the tests pass — each write 
> attempt against java:comp must throw {{OperationNotSupportedException}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to