[ 
https://issues.apache.org/jira/browse/TOMEE-4654?focusedWorklogId=1032725&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1032725
 ]

ASF GitHub Bot logged work on TOMEE-4654:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Jul/26 06:59
            Start Date: 29/Jul/26 06:59
    Worklog Time Spent: 10m 
      Work Description: rzo1 commented on PR #2846:
URL: https://github.com/apache/tomee/pull/2846#issuecomment-5114257013

   Since this is a behavioural change: WDYT about leaving the default writeable 
and set the config to non-writable for the TCK only? @jungm ? Fullbuild: #54




Issue Time Tracking
-------------------

    Worklog Id:     (was: 1032725)
    Time Spent: 40m  (was: 0.5h)

> 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
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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