[
https://issues.apache.org/jira/browse/DERBY-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Knut Anders Hatlen updated DERBY-1650:
--------------------------------------
Triaged for 10.5.2.
I believe the dependency comes from this code in impl/tools/ij/URLCheck:
Class att = Attribute.class;
//Use reflection to get the list of valid keys from the
Attribute class.
//The Attribute class is an interface and therefore all the
field
//for it are public.
Field[] fields = att.getFields();
for (int i = 0; i < fields.length; i++)
{
Field aField = (Field)fields[i];
props.addElement(aField.get(att));
}
> derbytools.jar needs org.apache.derby.iapi.reference.Attribute even though
> that class contains only interface Strings
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-1650
> URL: https://issues.apache.org/jira/browse/DERBY-1650
> Project: Derby
> Issue Type: Bug
> Components: Tools
> Affects Versions: 10.2.1.6
> Reporter: Andrew McIntyre
>
> A recent checkin to remove the reference to
> org.apache.derby.iapi.reference.Attribute in the derbytools.jar build caused
> numerous tests to fail. This class contains only Strings from an interface,
> so the compiler should compile out all references to this class. The reason
> for needing this class at runtime should be tracked down and fixed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.