jakartaee / faces

Jakarta Faces
Other
103 stars 55 forks source link

ExternalContext.encodeNamespace does not(should?) throw NPE when arg is null. #1137

Open eclipse-faces-bot opened 12 years ago

eclipse-faces-bot commented 12 years ago

ccording to the javadoc for ExternalContext.encodeNamespace(String name)

java.Lang.NullPointerException - if name is null

also the API says the following.

Servlet: The input value must be returned unchanged.

Now to me I would think that the throws clause would take precedence over the Servlet noted section. Meaning that we would check the arg for null regardless, then precede.

The Impl does return 'null' if the argument passed in is null when running in a Servlet container.

Environment

N/A

Affected Versions

[2.2]

eclipse-faces-bot commented 5 years ago
eclipse-faces-bot commented 12 years ago

@glassfishrobot Commented Reported by dougd

eclipse-faces-bot commented 10 years ago

@glassfishrobot Commented @edburns said: Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

eclipse-faces-bot commented 10 years ago

@glassfishrobot Commented @manfredriem said: Setting priority to Minor

eclipse-faces-bot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-1137