coherence-community / oracle-bedrock

Oracle Bedrock
Other
54 stars 31 forks source link

Eventually has issue with function of varargs #430

Closed shingwaichan closed 5 years ago

shingwaichan commented 5 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.