RFR: 8046817: JDK 8 schemagen tool does not generate xsd files for enum types
aleksej.efimov at oracle.com
Wed Oct 15 11:16:46 UTC 2014
Thank you for review. I will work with Iaroslav on integration into
I can prepare the patch for JAX-B RI source code (as we discussed
earlier). Do we need to convert new regression test to JAX-B RI unit
tests OR we can leave it as it is?
On 10/15/2014 03:08 PM, Miroslav Kos wrote:
> Hi Aleksej,
> 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