coherence-community / oracle-bedrock

Oracle Bedrock
Other
55 stars 31 forks source link

Eventually has issue with function of varargs #430

Closed shingwaichan closed 6 years ago

shingwaichan commented 6 years ago

If we upgrade from 4.2.0 to 5.0.8, the following will have issue: Eventually.assertThat(invoking(this).isMBeanReady(1, “a”, “b”), is(true)); public boolean isMBeanReady(int o, String... objName) { return true; }

If I change it to public boolean isMBeanReady(int o, String objName1, String objName2) , then it works.