Skip to content

Commit

Permalink
Mandatory import of sun.misc, fixes #758
Browse files Browse the repository at this point in the history
  • Loading branch information
mattirn committed Dec 16, 2021
1 parent afb067f commit 771f221
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions jline/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@
org.apache.sshd*,
org.fusesource.jansi;version="[1.12,3)",
org.fusesource.jansi.internal;version="[1.6,3)",
sun.misc;resolution:=optional,
*
</Import-Package>
</instructions>
Expand Down
18 changes: 18 additions & 0 deletions terminal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,22 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>*;-noimport:=true</Export-Package>
<Import-Package>
sun.misc;resolution:=optional,
*
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

</project>

0 comments on commit 771f221

Please sign in to comment.