com.sun.xml.bind:jaxb-core breaking changes
com.sun.xml.bind:jaxb-core 4.0.0 (May 19, 2022) is its newest release with breaking changes, 24 of them. The first: Removed org.glassfish.jaxb.core.marshaller.Messages.<init>. Every breaking API change we have recorded in com.sun.xml.bind:jaxb-core on Maven Central: 25 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.9, released May 28, 2026. Source repository
Packages on Maven Central run on Java. Java end of life dates.
com.sun.xml.bind:jaxb-core 4.0.0 breaking changes
- Removed
org.glassfish.jaxb.core.marshaller.Messages.<init>
Messages.<init> was removed in com.sun.xml.bind:jaxb-core 4.0.0 central.sonatype.com - Removed
org.glassfish.jaxb.core.util.Which.<init>
Which.<init> was removed in com.sun.xml.bind:jaxb-core 4.0.0 central.sonatype.com - Removed
org.glassfish.jaxb.core.v2.ClassFactory.<init>
ClassFactory.<init> was removed in com.sun.xml.bind:jaxb-core 4.0.0 central.sonatype.com - Removed
org.glassfish.jaxb.core.v2.runtime.RuntimeUtil.<init>
RuntimeUtil.<init> was removed in com.sun.xml.bind:jaxb-core 4.0.0 central.sonatype.com - Removed
org.glassfish.jaxb.core.v2.util.XmlFactory.<init>
XmlFactory.<init> was removed in com.sun.xml.bind:jaxb-core 4.0.0 central.sonatype.com - Removed
org.glassfish.jaxb.core.v2.util.XmlFactory.ACCESS_EXTERNAL_DTD
org.glassfish.jaxb.core.v2.util.XmlFactory.ACCESS_EXTERNAL_DTD was removed in com.sun.xml.bind:jaxb-core 4.0.0 central.sonatype.com - Removed
org.glassfish.jaxb.core.v2.util.XmlFactory.ACCESS_EXTERNAL_SCHEMA
org.glassfish.jaxb.core.v2.util.XmlFactory.ACCESS_EXTERNAL_SCHEMA was removed in com.sun.xml.bind:jaxb-core 4.0.0 central.sonatype.com - Removed
org.glassfish.jaxb.core.v2.WellKnownNamespace.XML_NAMESPACE_URI
org.glassfish.jaxb.core.v2.WellKnownNamespace.XML_NAMESPACE_URI was removed in com.sun.xml.bind:jaxb-core 4.0.0 central.sonatype.com - Removed
org.glassfish.jaxb.core.v2.WellKnownNamespace.XML_SCHEMA
org.glassfish.jaxb.core.v2.WellKnownNamespace.XML_SCHEMA was removed in com.sun.xml.bind:jaxb-core 4.0.0 central.sonatype.com - Removed
org.glassfish.jaxb.core.v2.WellKnownNamespace.XML_SCHEMA_INSTANCE
org.glassfish.jaxb.core.v2.WellKnownNamespace.XML_SCHEMA_INSTANCE was removed in com.sun.xml.bind:jaxb-core 4.0.0 central.sonatype.com - Signature changed
com.sun.istack.Pool.Impl.<init>
Was Impl(); now protected Impl(). central.sonatype.com - Signature changed
com.sun.xml.txw2.DatatypeWriter.BUILTIN
Was static final java.util.List<com.sun.xml.txw2.DatatypeWriter<?>> BUILTIN; now static final java.util.List<com.sun.xml.txw2.DatatypeWriter<Object>> BUILTIN. central.sonatype.com - Signature changed
com.sun.xml.txw2.Document.addDatatypeWriter
Was void addDatatypeWriter(com.sun.xml.txw2.DatatypeWriter<?>); now void addDatatypeWriter(com.sun.xml.txw2.DatatypeWriter<Object>). central.sonatype.com - Signature changed
org.glassfish.jaxb.core.unmarshaller.DOMScanner
Was class DOMScanner implements org.glassfish.jaxb.core.v2.runtime.unmarshaller.LocatorEx, org.glassfish.jaxb.core.unmarshaller.InfosetScanner; now class DOMScanner implements org.glassfish.jaxb.core.v2.runtime.unmarshaller.LocatorEx... central.sonatype.com - Signature changed
org.glassfish.jaxb.core.unmarshaller.DOMScanner.getCurrentElement
Was Object getCurrentElement(); now org.w3c.dom.Node getCurrentElement(). central.sonatype.com - Signature changed
org.glassfish.jaxb.core.unmarshaller.DOMScanner.scan
Was void scan(Object); now void scan(org.w3c.dom.Node). central.sonatype.com - Signature changed
org.glassfish.jaxb.core.util.Which.which
Was static String which(Class); now static String which(Class<?>). central.sonatype.com - Signature changed
org.glassfish.jaxb.core.v2.model.core.EnumLeafInfo.getConstants
Was Iterable<? extends org.glassfish.jaxb.core.v2.model.core.EnumConstant> getConstants(); now Iterable<? extends org.glassfish.jaxb.core.v2.model.core.EnumConstant<?, ?>> getConstants(). central.sonatype.com - Signature changed
org.glassfish.jaxb.core.v2.model.nav.Navigator.asDecl
Was C asDecl(Class); now C asDecl(Class<?>). central.sonatype.com - Signature changed
org.glassfish.jaxb.core.v2.model.nav.Navigator.getPrimitive
Was T getPrimitive(Class); now T getPrimitive(Class<?>). central.sonatype.com - Signature changed
org.glassfish.jaxb.core.v2.model.nav.Navigator.ref
Was T ref(Class); now T ref(Class<?>). central.sonatype.com - Signature changed
org.glassfish.jaxb.core.v2.runtime.RuntimeUtil.boxToPrimitive
Was static final java.util.Map<Class, Class> boxToPrimitive; now static final java.util.Map<Class<?>, Class<?>> boxToPrimitive. central.sonatype.com - Signature changed
org.glassfish.jaxb.core.v2.runtime.RuntimeUtil.primitiveToBox
Was static final java.util.Map<Class, Class> primitiveToBox; now static final java.util.Map<Class<?>, Class<?>> primitiveToBox. central.sonatype.com - Signature changed
org.glassfish.jaxb.core.WhiteSpaceProcessor.<init>
Was WhiteSpaceProcessor(); now protected WhiteSpaceProcessor(). central.sonatype.com
com.sun.xml.bind:jaxb-core 3.0.2-RI breaking changes
- Removed
Java APIs that were deprecated in earlier releases have been removed, so code that calls them will no longer compile or run. Check your code for uses of deprecated JAXB APIs and move to their replacements. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.