Skip to content

Commit

Permalink
Integrate activation-API 2.1.0-RC2
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
  • Loading branch information
lukasj committed Nov 2, 2021
1 parent 29939fe commit ea908b7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
13 changes: 12 additions & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,12 @@
<dependency>
<groupId>jakarta.activation</groupId>
<artifactId>jakarta.activation-api</artifactId>
<version>2.1.0-RC1</version>
<version>2.1.0-RC2</version>
</dependency>
<dependency>
<groupId>org.eclipse.angus</groupId>
<artifactId>angus-activation</artifactId>
<version>1.0.0-M1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand All @@ -106,6 +111,11 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.angus</groupId>
<artifactId>angus-activation</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -383,6 +393,7 @@
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<release>11</release>
<quiet>true</quiet>
<nodeprecated>false</nodeprecated>
<notimestamp>true</notimestamp>
<nosince>true</nosince>
Expand Down
1 change: 1 addition & 0 deletions api/src/main/java/jakarta/mail/util/FactoryFinder.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ static <T> T find(Class<T> factoryClass) throws RuntimeException {
throw new IllegalStateException("Not provider of " + factoryClass.getName() + " was found");
}

@SuppressWarnings({"unchecked"})
private static <T> T newInstance(String className) throws RuntimeException {
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
checkPackageAccess(className);
Expand Down

0 comments on commit ea908b7

Please sign in to comment.