Skip to content

Commit

Permalink
JAX-B currently does not support Java records
Browse files Browse the repository at this point in the history
Classes using JAX-B annotations can't be refactored right now.
jakartaee/jaxb-api#183
  • Loading branch information
afranken committed Jul 5, 2023
1 parent 0099d93 commit 0e0ffdc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2022 Adobe.
* Copyright 2017-2023 Adobe.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -28,6 +28,7 @@
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_AccessControlPolicy.html">API Reference</a>.
* This POJO uses JAX-B annotations instead of Jackson annotations because AWS decided to use
* xsi:type annotations in the XML representation, which are not supported by Jackson.
* JAX-B currently does not support Java records, see https:/jakartaee/jaxb-api/issues/183
*/
@XmlRootElement(name = "AccessControlPolicy")
@XmlAccessorType(XmlAccessType.FIELD)
Expand Down

0 comments on commit 0e0ffdc

Please sign in to comment.