--- old/src/java.xml.bind/share/classes/javax/xml/bind/TypeConstraintException.java 2015-01-29 16:25:03.937677382 +0300 +++ new/src/java.xml.bind/share/classes/javax/xml/bind/TypeConstraintException.java 2015-01-29 16:25:03.869677383 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -57,8 +57,9 @@ * Exception reference * */ - private Throwable linkedException; + private volatile Throwable linkedException; + static final long serialVersionUID = -3059799699420143848L; /** * Construct a TypeConstraintException with the specified detail message. The @@ -141,7 +142,7 @@ * indicates that the linked exception does not exist or * is unknown). */ - public synchronized void setLinkedException( Throwable exception ) { + public void setLinkedException( Throwable exception ) { this.linkedException = exception; }