jacodb icon indicating copy to clipboard operation
jacodb copied to clipboard

Wrong type arguments for the implemented interface for the class `sun.security.ssl.SSLSessionContextImpl$SessionCacheVisitor`

Open Damtev opened this issue 3 years ago • 0 comments

Steps to reproduce:

  • Get a type for the sun.security.ssl.SSLSessionContextImpl$SessionCacheVisitor class
  • Take its super interface
  • Extract type arguments for this super interface

Possible code:

classpath.findClass("sun.security.ssl.SSLSessionContextImpl\$SessionCacheVisitor").toType().interfaces.single().typeArguments

Expected behavior:

  • Actual type arguments should be extracted - SessionId and SessionImpl

Actual behavior:

  • Type variables K and V from the class declaration are extracted

Damtev avatar May 17 '23 10:05 Damtev