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

Start running enterprise tests on JDK 11 #6296

Merged
merged 1 commit into from
Aug 6, 2023

Conversation

mbien
Copy link
Member

@mbien mbien commented Aug 3, 2023

Not all are compatible yet, but this should not stop us from running those who are on JDK 11.

followup on #6244

@mbien mbien added CI continuous integration changes tests enterprise [ci] enable enterprise job labels Aug 3, 2023
Not all are compatible yet, but this should not stop us from running
those who are on JDK 11.
@mbien mbien force-pushed the ci-enterprise-more-on-11 branch from 59e99f0 to 2afb362 Compare August 3, 2023 19:32
@mbien mbien marked this pull request as ready for review August 3, 2023 21:10
@mbien mbien added this to the NB20 milestone Aug 3, 2023
Comment on lines -103 to -109
public void testGetAppDDRoot() throws FileNotFoundException, IOException, SAXException {
public void fails_testGetAppDDRoot() throws FileNotFoundException, IOException, SAXException {
File[] list = getDataDir().listFiles();
if (null == list || list.length == 0)
return;
SunApplication root = null;
for (File fo : list) {
if (fo.getName().startsWith("valid-sun-application")) {
InputStream is = null;
Copy link
Member Author

@mbien mbien Aug 4, 2023

Choose a reason for hiding this comment

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

fyi: those two test cases did pass even though the if-block never matched anything. Essentially a false positive.

fixed the tests and turned two of them off

@mbien
Copy link
Member Author

mbien commented Aug 5, 2023

WebServicesMetadataModelTest in enterprise/j2ee.dd is failing on JDK 11 for the same reason as #5166, since the javax.jws.*annotations aren't on the classpath anymore. Lets keep the two modules on JDK 8 for now.

@mbien mbien requested a review from matthiasblaesing August 5, 2023 23:10
Copy link
Contributor

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

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

Looks sane to me. Thank you.

@mbien mbien merged commit 25efb2e into apache:master Aug 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI continuous integration changes enterprise [ci] enable enterprise job tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants