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
ComponentModel writeExternal does not support private fields #914
Comments
Added a Unit test and executed using Java 8, but couldn't reproduce the exception Is the test correct? |
@jonathanaustin could you please take a look at the test @kandula-aswin created? |
Currently But when transient fields are included, this test fails with a different error:
|
Serializing
ComponentModel
can have issues due to thewriteExternal
method.The field.get throws java.lang.IllegalArgumentException: Possible if it is accessing a private field. Should we be calling
field.setAccessible(true)
first?The exception is:
The text was updated successfully, but these errors were encountered: