Skip to content

Commit a8f2e85

Browse files
committed
Upgrade immutables
This upgrades to the latest version of Immutables to work around the issue of the javax.annotation package no longer being available on new JDKs.
1 parent 2f67b6e commit a8f2e85

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

net.adoptopenjdk.spi/src/main/java/net/adoptopenjdk/spi/ImmutableStyleType.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
typeModifiable = "*Mutable",
3636
builder = "builder",
3737
build = "build",
38+
allowedClasspathAnnotations = Override.class,
3839
visibility = Value.Style.ImplementationVisibility.PUBLIC,
3940
defaults = @Value.Immutable(copy = false))
4041
public @interface ImmutableStyleType

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<io7m.checkstyle.path>/net/adoptopenjdk/checkstyle/checkstyle.xml</io7m.checkstyle.path>
3535
<io7m.api.previousVersion>0.0.1</io7m.api.previousVersion>
3636

37-
<net.adoptopenjdk.org.immutables.version>2.6.0-alpha1</net.adoptopenjdk.org.immutables.version>
37+
<net.adoptopenjdk.org.immutables.version>2.7.1</net.adoptopenjdk.org.immutables.version>
3838
</properties>
3939

4040
<inceptionYear>2018</inceptionYear>

0 commit comments

Comments
 (0)