[
https://jira.jboss.org/jira/browse/JBSEAM-3642?page=com.atlassian.jira.pl...
]
Dan Allen commented on JBSEAM-3642:
-----------------------------------
I have implemented a check within the test target that validates that the
javax.xml.bind.JAXB class is available if JDK 6 is being used. This class was introduced
in JAXB 2.1, so that is how we know we have a compatible JDK 6.
Enforce use of JDK >= 1.6.0_04 when using Java 6 for tests in
seam-gen or examples
----------------------------------------------------------------------------------
Key: JBSEAM-3642
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3642
Project: Seam
Issue Type: Feature Request
Components: Examples, Tools
Affects Versions: 2.1.0.GA
Environment: Java 6
Reporter: Dan Allen
Assignee: Dan Allen
Priority: Minor
Fix For: 2.1.1.CR1
Original Estimate: 2 hours
Remaining Estimate: 2 hours
JAXB-API 2.1 was weaved into the endorsed directory when running tests in seam-gen. This
measure is only necessary for Java 6 for versions prior to Update 6. Instead of using this
hack, we should require users to have Java >= 1.6.0_04 if they are going to use Java 6.
Sun ignorantly updated this library in a minor version and it confuses the hell out of
people. Thus, we need to have the test fail if the user is not using the correct version
of Java 6 and direct them to
http://seamframework.org/Documentation/DoesSeamWorkWithJDK60.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira