Skip to content

Commit

Permalink
Merge pull request #2494 from flowlogix/PAYARA-2564-InitialContext-Mu…
Browse files Browse the repository at this point in the history
…ltiThreading-LinkageError

PAYARA-2564 multi-threaded InitialContext() fix
  • Loading branch information
arjantijms committed Mar 3, 2018
2 parents d4c1dd4 + ab4eda1 commit ec365be
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -37,7 +37,7 @@
* only if the new code is made subject to such option by the copyright
* holder.
*/
// Portions Copyright [2016-2017] [Payara Foundation and/or its affiliates]
// Portions Copyright [2016-2018] [Payara Foundation and/or its affiliates]

package com.sun.ejb;

Expand Down Expand Up @@ -606,7 +606,7 @@ public java.lang.Object run() {
props);
}});
}
} catch (RuntimeException runEx) {
} catch (RuntimeException | LinkageError runEx) {
//We would have got this exception if there were two (or more)
// concurrent threads that attempted to define the same class
// Lets try to load the class and if we are able to load it
Expand Down

0 comments on commit ec365be

Please sign in to comment.