eclipse-ee4j / eclipse-ee4j/jaxb-fi
Setting the initialVocabulary in the SerializerVocabulary class never sets the _readOnlyVocabulary member variable
@glassfishrobot is already working on this.
Since Sep 13, 2018.
- Dominant language
- Java
- Stars
- 12
- Forks
- 9
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 3
Description
If you set the initialVocabulary of an instance of the SerializerVocabulary class, the initialVocabulary method calls the setReadOnlyVocabulary() method, and the setReadOnlyVocabulary() method never sets the _readOnlyVocabulary member variable. The _readOnlyVocabulary member variable is later returned if somebody uses the getReadOnlyVocabulary() method, which is called by the Encoder class inside of the encodeInitialVocabulary() method. To fix this, the _readOnlyVocabulary member variable should be initialized inside of the setReadOnlyVocabulary() method of the SerializerVocabulary class.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.