Source: libvt-ldap-java
Severity: important
Tags: ftbfs sid bookworm
User: debian-j...@lists.debian.org
Usertags: default-java17

libvt-ldap-java fails to build with OpenJDK 17 because the java.security.acl
package has been removed:

  [ERROR] 
/<<PKGBUILDDIR>>/src/main/java/edu/vt/middleware/ldap/jaas/LdapGroup.java:[18,24]
 error: package java.security.acl does not exist
  [ERROR] 
/<<PKGBUILDDIR>>/src/main/java/edu/vt/middleware/ldap/jaas/LdapGroup.java:[31,34]
 error: cannot find symbol
  [ERROR]   symbol: class Group
  [ERROR] 
/<<PKGBUILDDIR>>/src/main/java/edu/vt/middleware/ldap/jaas/AbstractLoginModule.java:[236,34]
 error: incompatible types: LdapGroup cannot be converted to Principal
  [ERROR] 
/<<PKGBUILDDIR>>/src/main/java/edu/vt/middleware/ldap/jaas/AbstractLoginModule.java:[247,34]
 error: incompatible types: LdapGroup cannot be converted to Principal
  [ERROR] 
/<<PKGBUILDDIR>>/src/main/java/edu/vt/middleware/ldap/jaas/AbstractLoginModule.java:[308,54]
 error: method getPrincipals in class Subject cannot be applied to given types;
  [ERROR]   required: Class<T>
  [ERROR]   found:    Class<LdapGroup>
  [ERROR]   reason: inferred type does not conform to upper bound(s)
  [ERROR]     inferred: LdapGroup
  [ERROR]     upper bound(s): Principal
  [ERROR]   where T is a type-variable:
  [ERROR]     T extends Principal declared in method <T>getPrincipals(Class<T>)
  [ERROR] -> [Help 1]

Reply via email to