jakarta.xml.bind:jakarta.xml.bind-api breaking changes
jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 (March 15, 2022) is its newest release with breaking changes, 40 of them. The first: Drops compatibility with JAXB 1.0 in jakarta.xml.bind:jakarta.xml.bind-api 4.0.0. Every breaking API change we have recorded in jakarta.xml.bind:jakarta.xml.bind-api on Maven Central: 42 breaking changes in 3 versions. Below, its 3 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.5, released February 6, 2026.
Packages on Maven Central run on Java. Java end of life dates.
jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 breaking changes
- Removed
The package no longer supports JAXB 1.0, so code relying on JAXB 1.0 behavior must move to a newer JAXB version. github.com - Removed
jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter.DEFAULT.<init>
jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter.DEFAULT.<init> was removed in jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 central.sonatype.com - Removed
jakarta.xml.bind.annotation.XmlElement.DEFAULT.<init>
jakarta.xml.bind.annotation.XmlElement.DEFAULT.<init> was removed in jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 central.sonatype.com - Removed
jakarta.xml.bind.annotation.XmlElementDecl.GLOBAL.<init>
jakarta.xml.bind.annotation.XmlElementDecl.GLOBAL.<init> was removed in jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 central.sonatype.com - Removed
jakarta.xml.bind.annotation.XmlElementRef.DEFAULT.<init>
jakarta.xml.bind.annotation.XmlElementRef.DEFAULT.<init> was removed in jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 central.sonatype.com - Removed
jakarta.xml.bind.annotation.XmlSchemaType.DEFAULT.<init>
jakarta.xml.bind.annotation.XmlSchemaType.DEFAULT.<init> was removed in jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 central.sonatype.com - Removed
jakarta.xml.bind.annotation.XmlType.DEFAULT.<init>
jakarta.xml.bind.annotation.XmlType.DEFAULT.<init> was removed in jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 central.sonatype.com - Removed
jakarta.xml.bind.context.factory
The deprecated jakarta.xml.bind.context.factory property is removed and no longer has an effect. github.com - Removed
jakarta.xml.bind.helpers.AbstractUnmarshallerImpl.validating
AbstractUnmarshallerImpl.validating was removed in jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 central.sonatype.com - Removed
jakarta.xml.bind.JAXBContext.createValidator
JAXBContext.createValidator was removed in jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 central.sonatype.com - Removed
jakarta.xml.bind.JAXBElement.GlobalScope.<init>
jakarta.xml.bind.JAXBElement.GlobalScope.<init> was removed in jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 central.sonatype.com - Removed
jakarta.xml.bind.Unmarshaller.isValidating
Unmarshaller.isValidating was removed in jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 central.sonatype.com - Removed
jakarta.xml.bind.Unmarshaller.setValidating
Unmarshaller.setValidating was removed in jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 central.sonatype.com - Behavior changed
DatatypeConverterInterface
The provided implementation of DatatypeConverterInterface throws an exception on invalid input instead of accepting it, so code relying on lenient parsing may now fail. github.com - Configuration changed
JAXB implementations are no longer found through a jaxb.properties file. Pass the implementation through the properties Map to JAXBContext.newInstance(...) instead. github.com - Configuration changed
JAXB implementations are no longer found through META-INF/services/jakarta.xml.bind.JAXBContext. Pass the implementation through the properties Map to JAXBContext.newInstance(...) instead. github.com - Signature changed
jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter.type
Was Class type(); now Class<?> type(). central.sonatype.com - Signature changed
jakarta.xml.bind.annotation.XmlAnyElement.value
Was Class<? extends jakarta.xml.bind.annotation.DomHandler> value(); now Class<? extends jakarta.xml.bind.annotation.DomHandler<?, ?>> value(). central.sonatype.com - Signature changed
jakarta.xml.bind.annotation.XmlElement.type
Was Class type(); now Class<?> type(). central.sonatype.com - Signature changed
jakarta.xml.bind.annotation.XmlElementDecl.scope
Was Class scope(); now Class<?> scope(). central.sonatype.com - Signature changed
jakarta.xml.bind.annotation.XmlElementRef.type
Was Class type(); now Class<?> type(). central.sonatype.com - Signature changed
jakarta.xml.bind.annotation.XmlSchemaType.type
Was Class type(); now Class<?> type(). central.sonatype.com - Signature changed
jakarta.xml.bind.annotation.XmlSeeAlso.value
Was Class[] value(); now Class<?>[] value(). central.sonatype.com - Signature changed
jakarta.xml.bind.annotation.XmlType.factoryClass
Was Class factoryClass(); now Class<?> factoryClass(). central.sonatype.com - Signature changed
jakarta.xml.bind.attachment.AttachmentMarshaller.<init>
Was AttachmentMarshaller(); now protected AttachmentMarshaller(). central.sonatype.com - Signature changed
jakarta.xml.bind.attachment.AttachmentUnmarshaller.<init>
Was AttachmentUnmarshaller(); now protected AttachmentUnmarshaller(). central.sonatype.com - Signature changed
jakarta.xml.bind.Binder.<init>
Was Binder(); now protected Binder(). central.sonatype.com - Signature changed
jakarta.xml.bind.helpers.AbstractMarshallerImpl.<init>
Was AbstractMarshallerImpl(); now protected AbstractMarshallerImpl(). central.sonatype.com - Signature changed
jakarta.xml.bind.helpers.AbstractUnmarshallerImpl.<init>
Was AbstractUnmarshallerImpl(); now protected AbstractUnmarshallerImpl(). central.sonatype.com - Signature changed
jakarta.xml.bind.JAXBElement.<init>
Was JAXBElement(javax.xml.namespace.QName, Class<T>, Class, T); now JAXBElement(javax.xml.namespace.QName, Class<T>, Class<?>, T). central.sonatype.com - Signature changed
jakarta.xml.bind.JAXBElement.getScope
Was Class getScope(); now Class<?> getScope(). central.sonatype.com - Signature changed
jakarta.xml.bind.JAXBElement.scope
Was protected final Class scope; now protected final Class<?> scope. central.sonatype.com - Signature changed
jakarta.xml.bind.JAXBIntrospector.<init>
Was JAXBIntrospector(); now protected JAXBIntrospector(). central.sonatype.com - Signature changed
jakarta.xml.bind.Marshaller.getAdapter
Was <A extends jakarta.xml.bind.annotation.adapters.XmlAdapter> A getAdapter(Class<A>); now <A extends jakarta.xml.bind.annotation.adapters.XmlAdapter<?, ?>> A getAdapter(Class<A>). central.sonatype.com - Signature changed
jakarta.xml.bind.Marshaller.Listener.<init>
Was Listener(); now protected Listener(). central.sonatype.com - Signature changed
jakarta.xml.bind.Marshaller.setAdapter
Was <A extends jakarta.xml.bind.annotation.adapters.XmlAdapter> void setAdapter(Class<A>, A) void setAdapter(jakarta.xml.bind.annotation.adapters.XmlAdapter); now <A extends jakarta.xml.bind.annotation.adapters.XmlAdapter<?, ?>> void... central.sonatype.com - Signature changed
jakarta.xml.bind.SchemaOutputResolver.<init>
Was SchemaOutputResolver(); now protected SchemaOutputResolver(). central.sonatype.com - Signature changed
jakarta.xml.bind.Unmarshaller.getAdapter
Was <A extends jakarta.xml.bind.annotation.adapters.XmlAdapter> A getAdapter(Class<A>); now <A extends jakarta.xml.bind.annotation.adapters.XmlAdapter<?, ?>> A getAdapter(Class<A>). central.sonatype.com - Signature changed
jakarta.xml.bind.Unmarshaller.Listener.<init>
Was Listener(); now protected Listener(). central.sonatype.com - Signature changed
jakarta.xml.bind.Unmarshaller.setAdapter
Was <A extends jakarta.xml.bind.annotation.adapters.XmlAdapter> void setAdapter(Class<A>, A) void setAdapter(jakarta.xml.bind.annotation.adapters.XmlAdapter); now <A extends jakarta.xml.bind.annotation.adapters.XmlAdapter<?, ?>> void... central.sonatype.com
jakarta.xml.bind:jakarta.xml.bind-api 4.0.0-RC2 breaking changes
- Signature changed
XmlJavaTypeAdapter
The generic signature of XmlJavaTypeAdapter is simplified, so code that depends on the old generic types may no longer compile. github.com
jakarta.xml.bind:jakarta.xml.bind-api 4.0.0-RC1 breaking changes
- Removed
jakarta.xml.bind.Validator
The deprecated jakarta.xml.bind.Validator class is removed. Code that uses it must be changed before upgrading. central.sonatype.com
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.