Skip to content

Commit

Permalink
Update JavaDoc generation to be JDK11 compatible (keycloak#15569)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmlnarik authored and cracky5457 committed Dec 13, 2022
1 parent e0bb6ff commit 363ecaf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions distribution/api-docs-dist/pom.xml
Expand Up @@ -31,6 +31,7 @@

<properties>
<javadoc.branding>Keycloak ${project.version}</javadoc.branding>
<maven.compiler.release>11</maven.compiler.release>
</properties>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion federation/sssd/src/main/java/org/jvnet/libpam/PAM.java
Expand Up @@ -78,7 +78,7 @@ public class PAM {
*/
public PAM(String serviceName) throws PAMException {
pam_conv conv = new pam_conv(new PamCallback() {
public int callback(int num_msg, Pointer msg, Pointer resp, Pointer _) {
public int callback(int num_msg, Pointer msg, Pointer resp, Pointer _ptr) {
LOGGER.debug("pam_conv num_msg=" + num_msg);
if (factors == null)
return PAM_CONV_ERR;
Expand Down
Expand Up @@ -116,18 +116,18 @@ public interface PamCallback extends Callback {
* resp and its member string both needs to be allocated by malloc,
* to be freed by the caller.
*/
int callback(int num_msg, Pointer msg, Pointer resp, Pointer _);
int callback(int num_msg, Pointer msg, Pointer resp, Pointer _ptr);
}

public PamCallback conv;
public Pointer _;
public Pointer _ptr;

public pam_conv(PamCallback conv) {
this.conv = conv;
}

protected List getFieldOrder() {
return Arrays.asList("conv", "_");
return Arrays.asList("conv", "_ptr");
}
}

Expand Down

0 comments on commit 363ecaf

Please sign in to comment.