RFR: 8046817: JDK 8 schemagen tool does not generate xsd files for enum types
miroslav.kos at oracle.com
Wed Oct 15 11:08:17 UTC 2014
the change looks ok to me, but it would be good to integrate it into
upstream (standalone JAX-B RI project) first to be on safe side - there
are much more tests then in OpenJDK.
Copying Iaroslav who is JAX-B RI lead and can help you with integration
and running tests.
On 14/10/14 09:29, Aleksej Efimov wrote:
> Hi XML experts,
> Can I humbly ask to review this simple fix.
> Thank you,
> On 08.10.2014 13:09, Aleksej Efimov wrote:
>> Please, review the fix  for the 8046817 .
>> Problem: schemagen tool doesn't generate schema file for the enum
>> types .
>> SchemaGenerator class gets a list of annotated elements and filters
>> out only the class variables, but annotation parser
>> (AnnotationParser.java) filters out the Class and Enum. The proposed
>> fix solves the problem: SchemaGenerator filters like AnnotationParser.
>> Testing: JPRT build and test passes on platforms (with new regression
>> test). JTREG tests: javax/xml - no failures.
>>  Webrev: http://cr.openjdk.java.net/~aefimov/8046817/9/webrev.00/
>>  Bug: https://bugs.openjdk.java.net/browse/JDK-8046817
>>  Enum type:
More information about the core-libs-dev