Skip to content

Commit dce71c0

Browse files
author
Xakep_SDK
committed
Make java.desktop module optional (static)
java.desktop classes (java.beans.ConstructorProperties and java.beans.Transient) are used in com.fasterxml.jackson.databind.ext.Java7SupportImpl, if java.beans classes are not present, then jackson will not load Java7SupportImpl
1 parent b8148ba commit dce71c0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/moditect/module-info.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
// Generated 08-Mar-2019 using Moditect maven plugin
22
module com.fasterxml.jackson.databind {
3-
requires java.desktop;
3+
// required for
4+
// java.beans.ConstructorProperties
5+
// java.beans.Transient
6+
// support
7+
requires static java.desktop;
48

59
requires transitive com.fasterxml.jackson.annotation;
610
requires transitive com.fasterxml.jackson.core;

0 commit comments

Comments
 (0)