Given that the C-lang interface specifies the function drmaa_get_attribute_names, it would seem that a Java binding which leverages a C-lang implementation could determine the supported attribute names. -Roger In a previous e-mail, Daniel Templeton wrote:
I just uncovered a bug in the DRMAA Java language binding, that stems directly from the DRMAA_ERRNO_INVALID_ARGUMENT error code being used to indicate that an optional attribute is unsupported.
Rather obviously, the bug is that the property setters throw InvalidArgumentException instead of UnsupportedAttributeException for unsupported attributes, because the Java language binding can't tell from the C binding whether the attribute is actually unsupported, or if the attribute is supported, but the argument to the setter is invalid.
Daniel