You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/12/24 03:02:01 UTC
[GitHub] [netbeans] mbien opened a new pull request, #5144: move ide modules job to JDK 11 and fix tests where needed.
mbien opened a new pull request, #5144:
URL: https://github.com/apache/netbeans/pull/5144
- don't test JDK APIs, lets assume that they work.
- JDK 11 fixes: javac path and java.lang.Module classname conflict.
- fix WSDLSchemaValidatorTest assertion, some xml validation errors seem to appear twice on newer JDKs.
meta issue: #4904
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] mbien merged pull request #5144: move ide modules job to JDK 11 and fix tests where needed.
Posted by GitBox <gi...@apache.org>.
mbien merged PR #5144:
URL: https://github.com/apache/netbeans/pull/5144
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] mbien commented on a diff in pull request #5144: move ide modules job to JDK 11 and fix tests where needed.
Posted by GitBox <gi...@apache.org>.
mbien commented on code in PR #5144:
URL: https://github.com/apache/netbeans/pull/5144#discussion_r1056855420
##########
ide/xml.wsdl.model/test/unit/src/org/netbeans/modules/xml/wsdl/validator/WSDLSchemaValidatorTest.java:
##########
@@ -167,7 +168,13 @@ private void validate(URI uri, int expectedErrorCount)
assertNotNull(vr.getValidationResult());
ValidationHelper.dumpErrors(vr);
- assertTrue("expect error " + expectedErrorCount, vr.getValidationResult().size() == expectedErrorCount);
+
+ // some missing element errors appear twice on newer JDKs
Review Comment:
might depend on the update release version since it is also reproducible on JDK 11 with the zulu distribution:
https://github.com/apache/netbeans/actions/runs/3761176522/jobs/6394078954#step:94:2272
```
[junit] Testcase: testValidateMessageNoName(org.netbeans.modules.xml.wsdl.validator.WSDLSchemaValidatorTest): FAILED
[junit] expect error 2
[junit] junit.framework.AssertionFailedError: expect error 2
[junit] at org.netbeans.modules.xml.wsdl.validator.WSDLSchemaValidatorTest.validate(WSDLSchemaValidatorTest.java:170)
```
i vaguely remember that xml libs got an update in OpenJDK, I just don't know the backporting rules for things like that.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] matthiasblaesing commented on a diff in pull request #5144: move ide modules job to JDK 11 and fix tests where needed.
Posted by GitBox <gi...@apache.org>.
matthiasblaesing commented on code in PR #5144:
URL: https://github.com/apache/netbeans/pull/5144#discussion_r1056769412
##########
ide/xml.wsdl.model/test/unit/src/org/netbeans/modules/xml/wsdl/validator/WSDLSchemaValidatorTest.java:
##########
@@ -167,7 +168,13 @@ private void validate(URI uri, int expectedErrorCount)
assertNotNull(vr.getValidationResult());
ValidationHelper.dumpErrors(vr);
- assertTrue("expect error " + expectedErrorCount, vr.getValidationResult().size() == expectedErrorCount);
+
+ // some missing element errors appear twice on newer JDKs
Review Comment:
Could reproduce the problem in JDK 19 (17 was ok).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists