beanshell2 icon indicating copy to clipboard operation
beanshell2 copied to clipboard

Virraidic Array in Constructor not supported

Open GoogleCodeExporter opened this issue 10 years ago • 1 comments

What steps will reproduce the problem?
public class Table {
    public Table (String... columns) {

    }
}


new Table("a", "b");
raises "unknown constructor (java.lang.String, java.lang.String)

What is the expected output? What do you see instead?
working constructors like methods do

What version of the product are you using? On what operating system?
bsh-2.1b4

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 21 Nov 2011 at 5:33

GoogleCodeExporter avatar Apr 22 '15 19:04 GoogleCodeExporter

sorry bad typo, mean: "variadic"

Original comment by [email protected] on 21 Nov 2011 at 5:35

GoogleCodeExporter avatar Apr 22 '15 19:04 GoogleCodeExporter