kdubb commented on issue #3556: URL: https://github.com/apache/jena/issues/3556#issuecomment-3468348064
@sszuev Thanks for the response, this appears to be a [Kotlin issue](https://youtrack.jetbrains.com/issue/KT-11700/IllegalAccessError-for-package-private-interface-of-public-class-when-called-via-a-public-class). I've used this pattern before but I don't think I've used/seen it where the inaccessible interface is overriding a public method for covariance. I was calling it from `OntProperty` to access the model as an `OntModel`. It does seem dubious (even if it works in Java) unless in Java it's returning a `Model` and not `OntModel`; considering the accessing code is not supposed to "see" the `OntResource` which is declaring the `OntModel` return via covariance. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
