Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2152890 | OpenJDK6 | Chris Hegarty | P3 | Resolved | Fixed | b01 |
email response from alan
Harish,
The required bahaviour when passing null to URL ctor should be specified
- please file an RFE. As the long-time behaviour is to throw
MalformedURLException then this should probably be the specified
behaviour (rather than NPE).
-Alan.
Harish Lodwal wrote:
> hi!
> I feel URL(null) should throw NPE
> but it is throwing MalformedURLException
>
Harish,
The required bahaviour when passing null to URL ctor should be specified
- please file an RFE. As the long-time behaviour is to throw
MalformedURLException then this should probably be the specified
behaviour (rather than NPE).
-Alan.
Harish Lodwal wrote:
> hi!
> I feel URL(null) should throw NPE
> but it is throwing MalformedURLException
>
- backported by
-
JDK-2152890 The required bahaviour when passing null to URL ctor should be specified
-
- Resolved
-