Closed marekkrk closed 7 months ago
@marekkrk Can you please check your claim using the latest source code? There is a test that proofs both cases are working fine, see https://github.com/cbeust/jcommander/blob/master/src/test/java/com/beust/jcommander/JCommanderTest.java#L246-L247.
@marekkrk As you did not respond to the open question, I assume my claim was correct and this is no longer an issue. So I am closing this ticket now.
Confirmed that 1.83 works as expected.
Confirmed that 1.83 works as expected.
Thank you for your confirmation! :-)
Example 1: java.lang.String works:
import com.beust.jcommander.JCommander; import com.beust.jcommander.Parameter;
public class Test {
}
Example 2: java.io.File does not work
import com.beust.jcommander.JCommander; import com.beust.jcommander.Parameter;
import java.io.File;
public class Test {
}
Example 3: java.nio.file.Path does not work
import com.beust.jcommander.JCommander; import com.beust.jcommander.Parameter;
import java.nio.file.Path;
public class Test {
}
Example 4: List works
import com.beust.jcommander.JCommander; import com.beust.jcommander.Parameter;
import java.io.File; import java.util.List;
public class Test {
}