Expected Behavior
AbstractAuthenticationBuilder class should be public for it to be inherited by a public class in Kotlin.
Current Behavior
The following code
open class Builder<B : Builder<B>>(token: MyAuthentication) : AbstractAuthenticationBuilder<B>(token) {
...
}
does not compile with error 'public' subclass exposes its 'protected (in AbstractAuthenticationToken)' supertype 'AbstractAuthenticationBuilder'..
Custom Builder class should in turn be public because it is exposed by public MyAuthentication.toBuilder() method.
Expected Behavior
AbstractAuthenticationBuilder class should be public for it to be inherited by a public class in Kotlin.
Current Behavior
The following code
does not compile with error
'public' subclass exposes its 'protected (in AbstractAuthenticationToken)' supertype 'AbstractAuthenticationBuilder'..Custom
Builderclass should in turn be public because it is exposed by publicMyAuthentication.toBuilder()method.