[weld-commits] [weld/core] b815ff: Reproducer

GitHub noreply at github.com
Mon Dec 1 11:39:03 EST 2014


  Branch: refs/heads/2.2
  Home:   https://github.com/weld/core
  Commit: b815ffef1443c98f359fdb2d539e794a2ee78492
      https://github.com/weld/core/commit/b815ffef1443c98f359fdb2d539e794a2ee78492
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-12-01 (Mon, 01 Dec 2014)

  Changed paths:
    A environments/servlet/tests/tomcat/src/test/java/org/jboss/weld/environment/servlet/test/context/conversation/leak/ConversationLeakTest.java
    A environments/servlet/tests/tomcat/src/test/java/org/jboss/weld/environment/servlet/test/context/conversation/leak/ConversationScopedBean.java
    A environments/servlet/tests/tomcat/src/test/java/org/jboss/weld/environment/servlet/test/context/conversation/leak/SimpleServlet.java

  Log Message:
  -----------
  Reproducer


  Commit: 59b7f4a817ed66294ef5bc5fef0719370ac8de25
      https://github.com/weld/core/commit/59b7f4a817ed66294ef5bc5fef0719370ac8de25
  Author: Martin Kouba <mkouba at redhat.com>
  Date:   2014-12-01 (Mon, 01 Dec 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/context/AbstractConversationContext.java
    M impl/src/main/java/org/jboss/weld/logging/ContextLogger.java

  Log Message:
  -----------
  Revert "WELD-1802 destroying conversation if an exception occurs when attaching bean store"

This reverts commit 311dd7916304b6275a4790bb77b8cccd6694c068.

The destruction of the conversation is not necessary. If an HTTP session times out all the conversations are destroyed automatically (in a seperate thread). Moreover the fix for WELD-1774 prevents from using leaked associated HTTP requests.


  Commit: afc74bbba1ebe5cc2d09fe696ec7f034a96eb1f2
      https://github.com/weld/core/commit/afc74bbba1ebe5cc2d09fe696ec7f034a96eb1f2
  Author: Martin Kouba <mkouba at redhat.com>
  Date:   2014-12-01 (Mon, 01 Dec 2014)

  Changed paths:
    A tests-arquillian/src/test/java/org/jboss/weld/tests/contexts/conversation/sessiontimeout/ConversationContextDestroyedOnSessionTimeoutTest.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/contexts/conversation/sessiontimeout/Foo.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/contexts/conversation/sessiontimeout/SessionListener.java
    A tests-arquillian/src/test/java/org/jboss/weld/tests/contexts/conversation/sessiontimeout/TestServlet.java

  Log Message:
  -----------
  WELD-1802 Adding test to simulate the leaking scenario


Compare: https://github.com/weld/core/compare/bd3425143f58...afc74bbba1eb


More information about the weld-commits mailing list