Skip to content

BATCH-2417 Drop JAXP 1.3 support #384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

marschall
Copy link
Contributor

Spring 4 requires JDK 6 which includes JAXP 1.4. In Spring 4
org.springframework.util.xml.StaxUtils is public and directly
delegates to javax.xml.transform.stax.StAXSource. This means that
org.springframework.batch.item.xml.StaxUtils#hasSpring30StaxSupport
will always be true. Therefore a lot of code an be simplified by
calling the constructors directly instead of through reflection.

  • remove reflection no longer needed in Spring 4
  • move methods only used in tests to custom test class

Issue: BATCH-2417

Spring 4 requires JDK 6 which includes JAXP 1.4. In Spring 4
`org.springframework.util.xml.StaxUtils` is public and directly
delegates to `javax.xml.transform.stax.StAXSource`. This means that
`org.springframework.batch.item.xml.StaxUtils#hasSpring30StaxSupport`
will always be true. Therefore a lot of code an be simplified by
calling the constructors directly instead of through reflection.

 - remove reflection no longer needed in Spring 4
 - move methods only used in tests to custom test class

Issue: BATCH-2417
@marschall
Copy link
Contributor Author

I have signed and agree to the terms of the SpringSource Individual
Contributor License Agreement.

@mminella mminella self-assigned this Apr 21, 2016
@mminella
Copy link
Member

mminella commented Dec 1, 2017

Rebased and merged as 73ca736

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants