https://bz.apache.org/bugzilla/show_bug.cgi?id=66496
Bug ID: 66496
Summary: Don't rely on Resource#toString to provide the name
only
Product: Ant
Version: nightly
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Core
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
https://github.com/apache/ant/pull/199 fixed one instance where code in Ant
expected to log the name of a Resource by invoking toString on an instance.
While this is what the default implementation does, StringResource and
potentially other subclasses return more (the full content in the case of a
StringResource).
We should scan the Ant code base for cases where Resource#toString is used
(implicitly) and change those places to use the name instead of toString if
this is what was actually intended.
--
You are receiving this mail because:
You are the assignee for the bug.