---
title: "jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 Breaking Changes"
description: "What each jakarta.xml.bind:jakarta.xml.bind-api release removed, renamed or changed: 42 breaking changes in 3 versions on Maven Central, each with its source."
canonical_url: https://since.dev/packages/maven/jakarta.xml.bind:jakarta.xml.bind-api
last_updated: 2026-12-04
---

# 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

Latest version `4.0.5`, released February 6, 2026. 

Packages on Maven Central run on Java. [Java end of life dates](https://since.dev/calendar/eclipse-temurin.md).

- From [4.0.0-RC1](#v-4-0-0-RC1) to [4.0.0](#v-4-0-0): 41 breaking changes in 2 versions.

## jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 breaking changes

jakarta.xml.bind:jakarta.xml.bind-api 4.0.0, released March 15, 2022: 40 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](https://github.com/jakartaee/jaxb-api/releases/tag/4.0.0)
- **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](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **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](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **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](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **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](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **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](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **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](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Removed** `jakarta.xml.bind.context.factory`  

The deprecated jakarta.xml.bind.context.factory property is removed and no longer has an effect. [github.com](https://github.com/jakartaee/jaxb-api/releases/tag/4.0.0)
- **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](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Removed** `jakarta.xml.bind.JAXBContext.createValidator`  

JAXBContext.createValidator was removed in jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **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](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Removed** `jakarta.xml.bind.Unmarshaller.isValidating`  

Unmarshaller.isValidating was removed in jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Removed** `jakarta.xml.bind.Unmarshaller.setValidating`  

Unmarshaller.setValidating was removed in jakarta.xml.bind:jakarta.xml.bind-api 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **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](https://github.com/jakartaee/jaxb-api/releases/tag/4.0.0)
- **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](https://github.com/jakartaee/jaxb-api/releases/tag/4.0.0)
- **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](https://github.com/jakartaee/jaxb-api/releases/tag/4.0.0)
- **Signature changed** `jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter.type`  

Was Class type(); now Class\<?> type(). [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **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](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Signature changed** `jakarta.xml.bind.annotation.XmlElement.type`  

Was Class type(); now Class\<?> type(). [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Signature changed** `jakarta.xml.bind.annotation.XmlElementDecl.scope`  

Was Class scope(); now Class\<?> scope(). [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Signature changed** `jakarta.xml.bind.annotation.XmlElementRef.type`  

Was Class type(); now Class\<?> type(). [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Signature changed** `jakarta.xml.bind.annotation.XmlSchemaType.type`  

Was Class type(); now Class\<?> type(). [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Signature changed** `jakarta.xml.bind.annotation.XmlSeeAlso.value`  

Was Class\[\] value(); now Class\<?>\[\] value(). [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Signature changed** `jakarta.xml.bind.annotation.XmlType.factoryClass`  

Was Class factoryClass(); now Class\<?> factoryClass(). [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Signature changed** `jakarta.xml.bind.attachment.AttachmentMarshaller.<init>`  

Was AttachmentMarshaller(); now protected AttachmentMarshaller(). [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Signature changed** `jakarta.xml.bind.attachment.AttachmentUnmarshaller.<init>`  

Was AttachmentUnmarshaller(); now protected AttachmentUnmarshaller(). [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Signature changed** `jakarta.xml.bind.Binder.<init>`  

Was Binder(); now protected Binder(). [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Signature changed** `jakarta.xml.bind.helpers.AbstractMarshallerImpl.<init>`  

Was AbstractMarshallerImpl(); now protected AbstractMarshallerImpl(). [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Signature changed** `jakarta.xml.bind.helpers.AbstractUnmarshallerImpl.<init>`  

Was AbstractUnmarshallerImpl(); now protected AbstractUnmarshallerImpl(). [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **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](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Signature changed** `jakarta.xml.bind.JAXBElement.getScope`  

Was Class getScope(); now Class\<?> getScope(). [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Signature changed** `jakarta.xml.bind.JAXBElement.scope`  

Was protected final Class scope; now protected final Class\<?> scope. [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Signature changed** `jakarta.xml.bind.JAXBIntrospector.<init>`  

Was JAXBIntrospector(); now protected JAXBIntrospector(). [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **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](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Signature changed** `jakarta.xml.bind.Marshaller.Listener.<init>`  

Was Listener(); now protected Listener(). [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **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](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Signature changed** `jakarta.xml.bind.SchemaOutputResolver.<init>`  

Was SchemaOutputResolver(); now protected SchemaOutputResolver(). [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **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](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **Signature changed** `jakarta.xml.bind.Unmarshaller.Listener.<init>`  

Was Listener(); now protected Listener(). [central.sonatype.com](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)
- **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](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)

## jakarta.xml.bind:jakarta.xml.bind-api 4.0.0-RC2 breaking changes

jakarta.xml.bind:jakarta.xml.bind-api 4.0.0-RC2, released March 15, 2022: 1 breaking change.

- **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](https://github.com/jakartaee/jaxb-api/releases/tag/4.0.0-RC2)

## jakarta.xml.bind:jakarta.xml.bind-api 4.0.0-RC1 breaking changes

jakarta.xml.bind:jakarta.xml.bind-api 4.0.0-RC1, released March 15, 2022: 1 breaking change.

- **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](https://central.sonatype.com/artifact/jakarta.xml.bind/jakarta.xml.bind-api/4.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
