Skip to content

Commit e270f78

Browse files
committed
Add javax.activation dependency, close AsyncHttpClient#1541
Motivation: javax.activation is available in JDK8 but module has to be enabled in JDK9 when running with module path and is going away in JDK10. Modification: Add explicit dependency Result: AHC successful JDK9 build
1 parent 7416a38 commit e270f78

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,11 @@
300300
<artifactId>slf4j-api</artifactId>
301301
<version>${slf4j.version}</version>
302302
</dependency>
303+
<dependency>
304+
<groupId>com.sun.activation</groupId>
305+
<artifactId>javax.activation</artifactId>
306+
<version>${activation.version}</version>
307+
</dependency>
303308
<!-- Test dependencies -->
304309
<dependency>
305310
<groupId>ch.qos.logback</groupId>
@@ -398,6 +403,7 @@
398403
<netty.version>4.1.24.Final</netty.version>
399404
<slf4j.version>1.7.25</slf4j.version>
400405
<reactive-streams.version>1.0.2</reactive-streams.version>
406+
<activation.version>1.2.0</activation.version>
401407
<netty-reactive-streams.version>2.0.0</netty-reactive-streams.version>
402408
<rxjava.version>1.3.6</rxjava.version>
403409
<rxjava2.version>2.1.13</rxjava2.version>

0 commit comments

Comments
 (0)