Menu

#103 Different input ranges

open-remind
5
2010-11-16
2010-08-03
Hao Zhong
No

I find that Java methods and their mapped methods may have different input ranges. For example, Java2CSharp maps java.util.LinkedHashMap(int, float) to System.Collections.Hashtable(int, float).
LinkedHashMap(0, 100.0) runs succesfully in Java, but Hashtable(0, 100.0) throws ArgumentOutofRangeException.
Can Java2CSharp hide or warn the difference for programmers?

Discussion

  • Alexandre FAU

    Alexandre FAU - 2010-08-09
    • assigned_to: nobody --> alexandrefau
     
  • Alexandre FAU

    Alexandre FAU - 2010-11-16
    • status: open --> open-remind
     

Log in to post a comment.