-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inheriting MarshalledContext.Key in java has compile-time error #838
Comments
Hi @huangyoje, I tried running this code on both Java 8 and Java 11, both working. Can you double-check your code environment? Thanks! |
Hi, I uploaded the code to reproduce this issue, my code environment are as follows:
|
@huangyoje got it. Unfortunately, we don't support building through javac with classpath, it's hard to tell what things are missing there. I'll suggest you build the system, using sbt or maven see if the problem remains. |
I found the same issue here. It seems scalac append implicit field on compiling and It's possible to provide a friendly japi upstream? |
Inheriting MarshalledContext.Key in java has compile-time error
Expected behavior
Inheriting MarshalledContext.Key in java as follows:
Expected this to work, there should no compile-time and run-time error.
Actual behavior
There is a compile-time error.
Steps to reproduce the behavior
Just run above codes.
The text was updated successfully, but these errors were encountered: