Skip to content

Commit

Permalink
[FR] Resolve security manager issue, access denied on ReflectPermissi…
Browse files Browse the repository at this point in the history
…on (#21510)

* delete myself as owner

* regenerate with autogen options to resolve security manager issue

* update changelog
  • Loading branch information
mssfang authored May 14, 2021
1 parent 8fac2bb commit c035c3d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,10 @@ respectively
- Renamed model `OperationResult` to `FormRecognizerOperationResult`
- Changed param ordering for methods `beginRecognizeCustomForms` and `beginRecognizeCustomFormsFromUrl`

### Key Bug Fixes
- Fixed `getFields()` to preserve service side ordering of fields.

### Bug Fixes
- When using a security policy with `SecurityManager` turns on, it no longer throws the access denied error on
`java.lang.reflect.ReflectPermission`. More information on https://github.com/Azure/azure-sdk-for-java/issues/17368

## 1.0.0-beta.4 (2020-07-07)
### Breaking Changes
- `beginRecognizeReceipt` APIs now return a `RecognizedForm` model instead of a `RecognizedReceipt`. See
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public SerializerAdapter getSerializerAdapter() {
*/
@Host("{endpoint}/formrecognizer/{ApiVersion}")
@ServiceInterface(name = "FormRecognizerClient")
private interface FormRecognizerClientService {
public interface FormRecognizerClientService {
@Post("/custom/models")
@ExpectedResponses({201})
@UnexpectedResponseExceptionType(ErrorResponseException.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ models-subpackage: implementation.models
context-client-method-parameter: true
custom-types-subpackage: models
custom-types: LengthUnit
service-interface-as-public: true
```

0 comments on commit c035c3d

Please sign in to comment.