In Class Create and CreateLocal are the following methods:
`
public int createSizes(final long[] p_cids, final int p_offset, int... p_sizes){...}
public int createSizes(final long[] p_cids, int... p_sizes){...}
`
It compiles but when you try to you it java cannot reference a method because both will fit.
Example:
...createSizes( ..., (int) 3, (int) 4)
In this case java dont know which method i want to use because two Integer could be interpreted as int and an array with one entry or as an array with two entries.
In Class Create and CreateLocal are the following methods:
`
public int createSizes(final long[] p_cids, final int p_offset, int... p_sizes){...}
public int createSizes(final long[] p_cids, int... p_sizes){...}
`
It compiles but when you try to you it java cannot reference a method because both will fit.
Example:
...createSizes( ..., (int) 3, (int) 4)
In this case java dont know which method i want to use because two Integer could be interpreted as int and an array with one entry or as an array with two entries.