Jan de Ruiter created PIG-3240:
----------------------------------
Summary: DLS_DEAD_LOCAL_STORE fails to recognize an occurrence
Key: PIG-3240
URL: https://issues.apache.org/jira/browse/PIG-3240
Project: Pig
Issue Type: Bug
Components: impl
Environment: eclipse
Reporter: Jan de Ruiter
A statement like
BigDecimal scoreValue = new BigDecimal(0);
will correctly trigger a DLS_DEAD_LOCAL_STORE message, because scoreValue is
assigned a new value shortly thereafter without being read in between.
But if the line is changed to
BigDecimal scoreValue = new BigDecimal(0).setScale(8, BigDecimal.ROUND_HALF_UP);
it will incorrectly not trigger the message.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira