-
Notifications
You must be signed in to change notification settings - Fork 2.4k
UriBuilder.fromPath(String path= null) #320
Comments
Reported by djiao@java.net |
Was assigned to jersey-issues |
sandoz@java.net said: |
djiao@java.net said: |
sandoz@java.net said: |
djiao@java.net said: |
sandoz@java.net said: public void testIllegalArgumentException() { { UriBuilder.fromPath(null); } catch(IllegalArgumentException e) { caught = true; } caught = false; assertTrue(caught); caught = false; { UriBuilder.fromUri((String)null); } catch(IllegalArgumentException e) { caught = true; } assertTrue(caught); Suggest that you check the version of Jersey and your test code as i have not |
djiao@java.net said: caught = false; { //UriBuilder.fromUri((String)null); //this one passes for me as well UriBuilder.fromUri((""); } catch(IllegalArgumentException e) { caught = true; } assertTrue(caught); |
djiao@java.net said: |
Marked as fixed on Wednesday, July 23rd 2008, 6:31:05 am |
This issue was imported from java.net JIRA JERSEY-48 |
It does not throw IllegalArgumentException as specified in API javadoc
Environment
Operating System: All
Platform: All
The text was updated successfully, but these errors were encountered: