You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Paul Nicolucci (JIRA)" <de...@myfaces.apache.org> on 2018/01/10 18:16:00 UTC
[jira] [Created] (MYFACES-4187) ResourceHandler.createResource
methods should throw NPE
Paul Nicolucci created MYFACES-4187:
---------------------------------------
Summary: ResourceHandler.createResource methods should throw NPE
Key: MYFACES-4187
URL: https://issues.apache.org/jira/browse/MYFACES-4187
Project: MyFaces Core
Issue Type: Bug
Components: JSR-372
Affects Versions: 2.3.0-beta
Reporter: Paul Nicolucci
Assignee: Paul Nicolucci
ResourceHandler.createResource methods should throw NPE.
Looking at the JavaDoc for the ResourceHandler we need to throw an NPE when the resourceName is null:
https://javaee.github.io/javaee-spec/javadocs/javax/faces/application/ResourceHandler.html#createResource-java.lang.String-
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)