Skip to content

Commit 823547f

Browse files
committed
Manual merge of #822 in master
1 parent 21ec9be commit 823547f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/tools/jackson/core/json/JsonFactory.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import java.util.Locale;
1010

1111
import aQute.bnd.annotation.spi.ServiceProvider;
12+
import aQute.bnd.annotation.Resolution;
1213

1314
import tools.jackson.core.*;
1415
import tools.jackson.core.base.TextualTSFactory;
@@ -31,7 +32,7 @@
3132
* in 2.x, but moved here to denote its changed role as implementation, not base
3233
* class for factories.
3334
*/
34-
@ServiceProvider(TokenStreamFactory.class)
35+
@ServiceProvider(value = TokenStreamFactory.class, resolution = Resolution.OPTIONAL)
3536
public class JsonFactory
3637
extends TextualTSFactory
3738
implements java.io.Serializable

0 commit comments

Comments
 (0)