-
Notifications
You must be signed in to change notification settings - Fork 778
Update DefaultValue Tests #23032
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
Update DefaultValue Tests #23032
Conversation
| @Test(priority=4, invocationCount=2) | ||
| static public void testInitialValueInNullRestrictedLineArray() throws Throwable { | ||
| Object initialStart = makePoint2D.invoke(0, 0); | ||
| Object initialEnd = makePoint2D.invoke(0, 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use different values for each point. If these objects are flattened then initialStart and initialEnd will not be distinguishable.
| static public void testInitialValueInNullRestrictedTriangleArray() throws Throwable { | ||
| Object initialV1 = makePoint2D.invoke(0, 0); | ||
| Object initialV2 = makePoint2D.invoke(0, 0); | ||
| Object initialLine1 = makeFlattenedLine2D.invoke(initialV1, initialV2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as the previous comment, please use different values for each point and different points for each line.
Fixes: eclipse-openj9#22916 Update the default value tests to check the initial value for null-restricted arrays.
64dfc20 to
6dd9093
Compare
|
Jenkins test sanity.functional,extended xlinuxval jdknext |
Fixes: #22916
Update the default value tests to check the
initial value for null-restricted arrays.