Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 03/09/2016
Components: Language
Versions: 2016
Failure Type: Unspecified
Found In Build/Fixed In Build: Alpha_v12 /
Priority/Frequency: Minor / Unknown
Locale/System: English / Win All
Vote Count: 0
Repro:
haystack = ["tahi", "rua", "toru", "wha"];
needle = ["TORU"];
try{
result = arrayFindNoCase(haystack, needle);
}catch (any e){
writeOutput("arrayFindNoCase() throws: #e.type#<br>");
}
try{
result = haystack.findNoCase(needle);
}catch (any e){
writeOutput("Array.findNoCase() throws: #e.type#<br>");
}
Actual:
arrayFindNoCase() throws: java.lang.IllegalArgumentException
Array.findNoCase() throws: Application
Expected:
arrayFindNoCase() throws: java.lang.IllegalArgumentException
Array.findNoCase() throws: java.lang.IllegalArgumentException
IE: equivalent functionality should use the same exceptions.
--
Adam
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126743
External Customer Info:
External Company: Straker Interactive
External Customer Name: Adam Cameron
External Customer Email: CAMERON.ADAM@GMAIL.COM
External Test Config:
Attachments:
Comments: