Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.7.1, 2.7
-
None
-
None
-
Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)
-
Platform Independent
Description
The Javadoc comment below states that the parameter transformer is a "non-null reference to the the current transform-time state.":
/**
...
- @param transformer non-null reference to the the current transform-time state.
...
*/
public void execute(TransformerImpl transformer) throws TransformerException
However, the method does not check the parameter for "null". It executes normally without throwing any exception when called with a null transformer.
Suggested Fixes:
1. Add parameter check for "null"
or
2. Remove "non-null" from @param.