Community
Participate
Working Groups
org.eclipse.persistence.internal.jpa.weaving.ClassWeaver - line 185 public static boolean isJAXBOnPath() { isJAXBOnPath = true; if (isJAXBOnPath == null) { try { Class.forName("javax.xml.bind.annotation.XmlTransient"); } catch (Exception notThere) { isJAXBOnPath = false; } } return isJAXBOnPath; } NOte: the first line set the Boolean flag to true so that the if block is effectively dead code that is never used and the method always returns true. This has been this way for at least one major release. Filing this bug for tracking purposes only.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink