| Summary: | ClassWeaver always weaves @XmlTransient | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Doug Clarke <douglas.clarke> |
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> |
| Status: | NEW --- | QA Contact: | |
| Severity: | minor | ||
| Priority: | P5 | CC: | blaise.doughan |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
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.