Commit 9ebf18d
fix: add @jvmoverloads to ReAttachPrtHeaderHandler and NonceRedirectHandler constructors
Kotlin default constructor parameters are not visible to Java callers without
@jvmoverloads. The two 3-argument Java call sites of ReAttachPrtHeaderHandler
(processCrossCloudRedirect, processWebCpAuthorize) were getting compile errors
because no 3-arg overload existed. @jvmoverloads generates the necessary
overloaded constructors for Java interop. Same annotation added to
NonceRedirectHandler for consistency.
Agent-Logs-Url: https://github.com/AzureAD/microsoft-authentication-library-common-for-android/sessions/f90300a1-6ff8-4474-b169-3d5683a0722e
Co-authored-by: somalaya <69237821+somalaya@users.noreply.github.com>1 parent d8979bd commit 9ebf18d
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- common/src/main/java/com/microsoft/identity/common/internal/ui/webview/challengehandlers
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments