Description
1) The Javadoc shows that the PortletContext.getRealPath() method is allowed to return null.
PortletContext.getRealPath() states, "Returns: a String
specifying the real path, or null if the transformation
cannot be performed."
2) test V2ADDLENVIRONMENTTESTS_SPEC2_10_CONTEXT_GETREALPATH in the tck
does not allow for the values to be null, and the test assumes that
the getRealPath method will always return a non-null String.
3) test V2ADDLENVIRONMENTTESTS_SPEC2_10_CONTEXT_GETREALPATH in the tck
needs to account for all possible options in the Javadoc, which includes the possiblility of returning null when calling PortletContext.getRealPath().
Will send a PR in the comments with suggested fix for the tck test.