You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by st...@apache.org on 2020/09/07 13:24:59 UTC

[openwebbeans] branch master updated (488f058 -> 311a869)

This is an automated email from the ASF dual-hosted git repository.

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


    from 488f058  Merge pull request #32 from a-rekkusu/master
     new 8b8c825  OWB-1281 handle UnsatisfiedLinkError
     new 311a869  OWB-1347 upgrade to apache-23

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml                                                  |  2 +-
 .../java/org/apache/webbeans/config/BeansDeployer.java   | 16 ++++++++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)


[openwebbeans] 01/02: OWB-1281 handle UnsatisfiedLinkError

Posted by st...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 8b8c82505a2336bec91e89e2dacb09b2dfd8263b
Author: Mark Struberg <st...@apache.org>
AuthorDate: Mon Sep 7 15:22:36 2020 +0200

    OWB-1281 handle UnsatisfiedLinkError
    
    this can happen when classes which need some native libs installed get scanned.
---
 .../java/org/apache/webbeans/config/BeansDeployer.java   | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java b/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
index 9271ae2..aec5393 100644
--- a/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
+++ b/webbeans-impl/src/main/java/org/apache/webbeans/config/BeansDeployer.java
@@ -458,6 +458,10 @@ public class BeansDeployer
                 {
                     logger.info("Skipping deployment of Class " + beanClass + "due to a NoClassDefFoundError: " + ncdfe.getMessage());
                 }
+                catch (UnsatisfiedLinkError ule)
+                {
+                    logger.info("Skipping deployment of Class " + beanClass + "due to a UnsatisfiedLinkError: " + ule.getMessage());
+                }
             }
 
             beanAttributesPerBda.put(bdaInfo, bdaBeanAttributes);
@@ -1348,6 +1352,10 @@ public class BeansDeployer
                 {
                     logger.info("Skipping deployment of Class " + implClass + "due to a NoClassDefFoundError: " + ncdfe.getMessage());
                 }
+                catch (UnsatisfiedLinkError ule)
+                {
+                    logger.info("Skipping deployment of Class " + implClass + "due to a UnsatisfiedLinkError: " + ule.getMessage());
+                }
             }
         }
 
@@ -1518,6 +1526,10 @@ public class BeansDeployer
                 {
                     logger.info("Skipping deployment of Class " + key.getJavaClass() + "due to a NoClassDefFoundError: " + ncdfe.getMessage());
                 }
+                catch (UnsatisfiedLinkError ule)
+                {
+                    logger.info("Skipping deployment of Class " + key.getJavaClass() + "due to a UnsatisfiedLinkError: " + ule.getMessage());
+                }
 
                 // if the implClass already gets processed as part of the
                 // standard BDA scanning, then we don't need to 'additionally'
@@ -1563,6 +1575,10 @@ public class BeansDeployer
             {
                 logger.warning("Skipping deployment of Class " + beanClass + " due to a NoClassDefFoundError: " + ncdfe.getMessage());
             }
+            catch (UnsatisfiedLinkError ule)
+            {
+                logger.info("Skipping deployment of Class " + beanClass + "due to a UnsatisfiedLinkError: " + ule.getMessage());
+            }
         }
     }
 


[openwebbeans] 02/02: OWB-1347 upgrade to apache-23

Posted by st...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 311a8692718a24aaabfe11e1250cafb5d122b18d
Author: Mark Struberg <st...@apache.org>
AuthorDate: Mon Sep 7 15:24:34 2020 +0200

    OWB-1347 upgrade to apache-23
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 1705fb0..ff364ba 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
     <parent>
         <groupId>org.apache</groupId>
         <artifactId>apache</artifactId>
-        <version>21</version>
+        <version>23</version>
     </parent>
 
     <groupId>org.apache.openwebbeans</groupId>