Community
Participate
Working Groups
When trying to define a static factory method in an abstract class I am obtaining the following exception: Exception [EclipseLink-171] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DescriptorException Exception Description: The factory class does not define a public default constructor, or the constructor raised an exception. Internal Exception: java.lang.InstantiationException More information about the problem here: http://stackoverflow.com/questions/8022136/static-factory-methods-in-jaxb-moxy
Created attachment 206554 [details] Work in progress
Created attachment 206625 [details] Proposed patch
Fixed and checked into trunk.
Keeping open until we check into 2.3.2.
Created attachment 206728 [details] Patch additions
Created attachment 206736 [details] Patch
Fixed in both trunk and 2.3.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink