Skip to content
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

JAX-B: Add xmlBinding-4.0 Impl and tests #21863

Merged
merged 3 commits into from
Aug 9, 2022

Conversation

neuwerk
Copy link
Member

@neuwerk neuwerk commented Jul 26, 2022

This PR does a few things:
1.) It integrates the xmlBinding-4.0 impl into open-liberty
2.) It disables a handful of NoClassDefinitionFoundErrors during the JAXBContext look up, to allow for the case of where a non Default implementation is configured, but not available to the TCCL, and rather than failing prints a warning and falls back to the RI for use.
3.) Expands the com.ibm.ws.jaxb_fat test bucket to more thoroughly test JAXBContext creation for marshalling and unmarshalling, but also tests the above changers outline in number 2 above

@neuwerk
Copy link
Member Author

neuwerk commented Jul 26, 2022

#build

@LibbyBot
Copy link

Please code review feature-related files, @OpenLiberty/delivery-approvers

@LibbyBot
Copy link

Your personal build request is at https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_eC0QMAywEe2vacLbpVXjpQ

Target locations of links might be accessible only to IBM employees.

@@ -0,0 +1,65 @@
/**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing copyright header

@@ -0,0 +1,47 @@
/**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing header

Copy link
Member

@tevans78 tevans78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix copyright headers ASAP

@neuwerk
Copy link
Member Author

neuwerk commented Jul 26, 2022

@tevans78 done!

Copy link

@helyarp helyarp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested changes

@neuwerk
Copy link
Member Author

neuwerk commented Jul 27, 2022

#build

@LibbyBot
Copy link

Please code review feature-related files, @OpenLiberty/delivery-approvers

@LibbyBot
Copy link

Your personal build request is at https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_6KhZIA1dEe2vacLbpVXjpQ

Target locations of links might be accessible only to IBM employees.

@neuwerk
Copy link
Member Author

neuwerk commented Jul 27, 2022

@helyarp changes should be incorporated now! Thank you!

@neuwerk
Copy link
Member Author

neuwerk commented Jul 27, 2022

#build

@LibbyBot
Copy link

Please code review feature-related files, @OpenLiberty/delivery-approvers

@LibbyBot
Copy link

Your personal build request is at https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_B6gjoA1eEe2vacLbpVXjpQ

Target locations of links might be accessible only to IBM employees.

Copy link

@helyarp helyarp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making the changes

@LibbyBot
Copy link

The build neuwerk-21863-20220726-2149
https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_B6gjoA1eEe2vacLbpVXjpQ
completed and has errors or failures.

For help analyzing your personal build, go to https://cognitive.hursley.ibm.com/buildAnalysis.html?uuid=_B6gjoA1eEe2vacLbpVXjpQ

@LibbyBot
Copy link

The build neuwerk-21863-20220726-2148
https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_6KhZIA1dEe2vacLbpVXjpQ
completed and has errors or failures.

For help analyzing your personal build, go to https://cognitive.hursley.ibm.com/buildAnalysis.html?uuid=_6KhZIA1dEe2vacLbpVXjpQ

@posmith
Copy link

posmith commented Aug 1, 2022

L2 message review completed

Copy link
Member

@jhanders34 jhanders34 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general I would like to see EE10 only tests to be in a new fat project instead of reusing com.ibm.ws.jaxb_fat. Something like io.openliberty.xmlBinding.4.0.internal_fat.

@neuwerk neuwerk force-pushed the xmlBinding4Impl branch 2 times, most recently from e65b14a to cd2a8c9 Compare August 4, 2022 06:32
@neuwerk
Copy link
Member Author

neuwerk commented Aug 4, 2022

#build

@LibbyBot
Copy link

LibbyBot commented Aug 4, 2022

Please code review feature-related files, @OpenLiberty/delivery-approvers

@LibbyBot
Copy link

LibbyBot commented Aug 4, 2022

Your personal build request is at https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_-PDOIBO2Ee2JSL2ccGwYRA

Target locations of links might be accessible only to IBM employees.

@neuwerk
Copy link
Member Author

neuwerk commented Aug 4, 2022

#build

@LibbyBot
Copy link

LibbyBot commented Aug 4, 2022

Please code review feature-related files, @OpenLiberty/delivery-approvers

@LibbyBot
Copy link

LibbyBot commented Aug 4, 2022

Your personal build request is at https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_NHfZthQSEe2JSL2ccGwYRA

Target locations of links might be accessible only to IBM employees.

@LibbyBot
Copy link

LibbyBot commented Aug 4, 2022

The build neuwerk-21863-20220803-2349
https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_-PDOIBO2Ee2JSL2ccGwYRA
completed and has errors or failures.

For help analyzing your personal build, go to https://cognitive.hursley.ibm.com/buildAnalysis.html?uuid=_-PDOIBO2Ee2JSL2ccGwYRA

@neuwerk
Copy link
Member Author

neuwerk commented Aug 5, 2022

#build

@LibbyBot
Copy link

LibbyBot commented Aug 5, 2022

Please code review feature-related files, @OpenLiberty/delivery-approvers

@LibbyBot
Copy link

LibbyBot commented Aug 5, 2022

Your personal build request is at https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_0Y8mQBRnEe2JSL2ccGwYRA

Target locations of links might be accessible only to IBM employees.

@LibbyBot
Copy link

LibbyBot commented Aug 5, 2022

The build neuwerk-21863-20220804-1035
https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_NHfZthQSEe2JSL2ccGwYRA
completed and has errors or failures.

For help analyzing your personal build, go to https://cognitive.hursley.ibm.com/buildAnalysis.html?uuid=_NHfZthQSEe2JSL2ccGwYRA

@LibbyBot
Copy link

LibbyBot commented Aug 5, 2022

The build neuwerk-21863-20220804-2048
https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_0Y8mQBRnEe2JSL2ccGwYRA
completed successfully!

@jhanders34 jhanders34 requested a review from tevans78 August 5, 2022 22:00
@jhanders34
Copy link
Member

#libby

// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vIBM 2.2.3-11/28/2011 06:17 AM(foreman)-
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.02.07 at 02:15:17 PM CST
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment can’t be true since this file contains jakarta imports

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point! I did manually update these, and altered them in other ways so I've amended the commit to add the normal IBM copyright.

Copy link
Member

@tevans78 tevans78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. One minor issue was with the comments in the ‘jaxb.web.dataobjects’. They say that the classes were auto generated in 2013, which can’t be true since they include jakarta imports.

@neuwerk
Copy link
Member Author

neuwerk commented Aug 9, 2022

#libby

@LibbyBot
Copy link

LibbyBot commented Aug 9, 2022

Code analysis and actions

DO NOT DELETE THIS COMMENT.
  • 6 product code files were changed.

  • Please describe in a separate comment how you tested your changes.

  • 8 infrastructure code files were changed.

  • 34 FAT files were changed, added, or removed.

  • Check that the build did not break the affected FAT suite(s).

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

Successfully merging this pull request may close these issues.

6 participants