[openwebbeans-meecrowave] branch master updated: MEECROWAVE-233 tomcat 9.0.31

2020-02-11 Thread rmannibucau
This is an automated email from the ASF dual-hosted git repository.

rmannibucau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwebbeans-meecrowave.git


The following commit(s) were added to refs/heads/master by this push:
 new 78c0fce  MEECROWAVE-233 tomcat 9.0.31
78c0fce is described below

commit 78c0fce4f0ab3f43afb1584c2523949a9d787620
Author: Romain Manni-Bucau 
AuthorDate: Tue Feb 11 17:52:18 2020 +0100

MEECROWAVE-233 tomcat 9.0.31
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 175eb82..370083d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -50,8 +50,8 @@
 UTF-8
 
${project.groupId}.${project.artifactId}
 
-4.13-beta-3
-9.0.30
+4.13
+9.0.31
 2.0.14
 3.3.5
 1.2.2



[openwebbeans] branch master updated: Update jcenter repository url to https

2020-02-11 Thread rmannibucau
This is an automated email from the ASF dual-hosted git repository.

rmannibucau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwebbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new 76c3620  Update jcenter repository url to https
 new d4f3ac1  Merge pull request #25 from fpapon/HTTPS-REPO
76c3620 is described below

commit 76c362034151567d946aa57a640e3442c3203906
Author: Francois Papon 
AuthorDate: Tue Feb 11 16:05:17 2020 +0100

Update jcenter repository url to https
---
 webbeans-gradle/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webbeans-gradle/pom.xml b/webbeans-gradle/pom.xml
index 73f6ab1..0d8c79f 100644
--- a/webbeans-gradle/pom.xml
+++ b/webbeans-gradle/pom.xml
@@ -47,7 +47,7 @@
   
 
   jcenter
-  http://jcenter.bintray.com
+  https://jcenter.bintray.com
 
   
 



[openwebbeans] branch master updated: OWB-1313 ensure RequestContextController impl is thread safe

2020-02-11 Thread rmannibucau
This is an automated email from the ASF dual-hosted git repository.

rmannibucau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwebbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new a99f560  OWB-1313 ensure RequestContextController impl is thread safe
a99f560 is described below

commit a99f5606590db09a9a083a5aaf690c6f1ad856e3
Author: Romain Manni-Bucau 
AuthorDate: Tue Feb 11 14:15:38 2020 +0100

OWB-1313 ensure RequestContextController impl is thread safe
---
 .../control/OwbRequestContextController.java   | 25 --
 1 file changed, 9 insertions(+), 16 deletions(-)

diff --git 
a/webbeans-impl/src/main/java/org/apache/webbeans/context/control/OwbRequestContextController.java
 
b/webbeans-impl/src/main/java/org/apache/webbeans/context/control/OwbRequestContextController.java
index 5bc30b5..d48852b 100644
--- 
a/webbeans-impl/src/main/java/org/apache/webbeans/context/control/OwbRequestContextController.java
+++ 
b/webbeans-impl/src/main/java/org/apache/webbeans/context/control/OwbRequestContextController.java
@@ -20,6 +20,8 @@
 package org.apache.webbeans.context.control;
 
 import org.apache.webbeans.config.WebBeansContext;
+import org.apache.webbeans.intercept.RequestScopedBeanInterceptorHandler;
+import org.apache.webbeans.spi.ContextsService;
 
 import javax.enterprise.context.ContextNotActiveException;
 import javax.enterprise.context.RequestScoped;
@@ -28,26 +30,20 @@ import javax.enterprise.context.spi.Context;
 
 public class OwbRequestContextController implements RequestContextController
 {
-private final WebBeansContext context;
-private Object startParam = null;
+private final ContextsService contextsService;
 
 OwbRequestContextController(WebBeansContext context)
 {
-this.context = context;
+this.contextsService = context.getContextsService();
 }
 
 @Override
 public boolean activate()
 {
-if (startParam != null)
+final Context ctx = 
contextsService.getCurrentContext(RequestScoped.class);
+if (ctx == null || !ctx.isActive())
 {
-return false;
-}
-Context ctx = 
context.getContextsService().getCurrentContext(RequestScoped.class);
-if (ctx == null)
-{
-startParam = new Object();
-context.getContextsService().startContext(RequestScoped.class, 
startParam);
+contextsService.startContext(RequestScoped.class, null);
 return true;
 }
 return false;
@@ -56,10 +52,7 @@ public class OwbRequestContextController implements 
RequestContextController
 @Override
 public void deactivate() throws ContextNotActiveException
 {
-if (startParam != null)
-{
-context.getContextsService().endContext(RequestScoped.class, 
startParam);
-startParam = null;
-}
+contextsService.endContext(RequestScoped.class, null);
+RequestScopedBeanInterceptorHandler.removeThreadLocals();
 }
 }



svn commit: r1056402 - in /websites: production/openwebbeans/content/index.html staging/openwebbeans/trunk/content/index.html

2020-02-11 Thread buildbot
Author: buildbot
Date: Tue Feb 11 10:35:06 2020
New Revision: 1056402

Log:
Dynamic update by buildbot for openwebbeans

Modified:
websites/production/openwebbeans/content/index.html
websites/staging/openwebbeans/trunk/content/index.html

Modified: websites/production/openwebbeans/content/index.html
==
(empty)

Modified: websites/staging/openwebbeans/trunk/content/index.html
==
(empty)