Update JavaDoc generation to be JDK11 compatible (#15569)
Fixes: #15566
This commit is contained in:
parent
044ce8d773
commit
fe6853c691
3 changed files with 5 additions and 4 deletions
|
@ -31,6 +31,7 @@
|
|||
|
||||
<properties>
|
||||
<javadoc.branding>Keycloak ${project.version}</javadoc.branding>
|
||||
<maven.compiler.release>11</maven.compiler.release>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -116,18 +116,18 @@ public interface PAMLibrary extends Library {
|
|||
* 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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue