Issue Type: Bug Bug
Affects Versions: 2.1.1.Final
Assignee: Jozef Hartinger
Components: Class Beans (Managed and Session)
Created: 19/Dec/13 11:18 AM

This bugfix is similiar to problem reported by WELD-1155.

In Java SE the following occurred:

  • One thread (T1) is resolving an ordinary build-in-scope-proxy that has not yet been initialized.
  • The production take place in another thread (T2). In our application this is caused by a special producer methodology. One transitive @Injection Point is a @SessionScoped bean (SB). This @SessionScoped-Bean (SB)is produced correctly.
  • Then in the origin Thread (A) the code passes the proxy related to (SB). (SB )gets produced again for the identical session !

The problem is caused by a similiar fixed problem reported by WELD-1155.

AttributeBeanStore#attach is copying some Maps (in Thread A). This copies are not changed by production (in Thread B).

The bugfix for WELD-1155 has taken place in a http-related context that is not used in Java SE.

Is it possible to move-up the bugfix into the base-implementations that are currently also used with Java-SE ?

Environment: Java SE !
Project: Weld
Priority: Major Major
Reporter: Christian Falkowski
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: