Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

wrong default value for "target" parameter for xjc ant task #940

Closed
@glassfishrobot

Description

@glassfishrobot

The description of the xjc ant task is not up-to-date.
In section 2.2 (http://jaxb.java.net/2.2.6/docs/ch04.html#section-356252324237826) the "target" parameter attribute is described as "defaults to "2.1". This should be 2.2.

The xjc compiler behaves differently when you leave out this parameter (as it is not required) compared to setting the parameter to "2.1". (I also checked the code, the default is "2.2" for the version included in JDK 7.

The same - probably - holds true for the "source" parameter. (Didn't check that one.)

Affected Versions

[2.2.6]

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions