Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions sdk/core/azure-core-management/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@
exports com.azure.core.management.serializer;
exports com.azure.core.management.exception;

opens com.azure.core.management to com.fasterxml.jackson.databind;
opens com.azure.core.management.exception to com.fasterxml.jackson.databind;
opens com.azure.core.management.implementation.polling to com.fasterxml.jackson.databind;
opens com.azure.core.management to
com.fasterxml.jackson.databind,
com.azure.core;
opens com.azure.core.management.exception to
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which class in com.azure.core.management.exception requires this change?

Copy link
Member Author

@weidongxu-microsoft weidongxu-microsoft Jul 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On core-mgmt level, I am not able to predict which of subclass of ManagementError would have JsonFlatten. It is out of control of core-mgmt lib. But if anyone uses a subclass of it with JsonFlatten, you now need open to azure-core, here in core-mgmt.

com.fasterxml.jackson.databind,
com.azure.core;
opens com.azure.core.management.implementation.polling to
com.fasterxml.jackson.databind;

uses com.azure.core.http.HttpClientProvider;
}