You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by ti...@apache.org on 2022/12/15 20:46:38 UTC

[db-jdo] branch jdo-821-remove-printStackTrace created (now bd2707c9)

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

tilmannz pushed a change to branch jdo-821-remove-printStackTrace
in repository https://gitbox.apache.org/repos/asf/db-jdo.git


      at bd2707c9 Update LegacyJava.java

This branch includes the following new commits:

     new bd2707c9 Update LegacyJava.java

The 1 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.



[db-jdo] 01/01: Update LegacyJava.java

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

tilmannz pushed a commit to branch jdo-821-remove-printStackTrace
in repository https://gitbox.apache.org/repos/asf/db-jdo.git

commit bd2707c9157aa43ec16f35248b849c19eca21623
Author: Tilmann <zo...@gmx.de>
AuthorDate: Thu Dec 8 21:14:31 2022 +0100

    Update LegacyJava.java
---
 api/src/main/java/javax/jdo/LegacyJava.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/api/src/main/java/javax/jdo/LegacyJava.java b/api/src/main/java/javax/jdo/LegacyJava.java
index d8206c65..301633c9 100644
--- a/api/src/main/java/javax/jdo/LegacyJava.java
+++ b/api/src/main/java/javax/jdo/LegacyJava.java
@@ -76,7 +76,6 @@ public class LegacyJava {
     try {
       sm = getSecurityManager.invoke(null);
     } catch (IllegalAccessException | InvocationTargetException e) {
-      e.printStackTrace();
       throw new JDOFatalInternalException(e.getMessage());
     }
     if (sm == null) {
@@ -107,7 +106,6 @@ public class LegacyJava {
       try {
         checkPermissionMethod.invoke(null, permission);
       } catch (IllegalAccessException | InvocationTargetException e) {
-        e.printStackTrace();
         throw new JDOFatalInternalException(e.getMessage());
       }
     }