diff --git a/README.md b/README.md index 6ccc5df..3db6d2a 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,10 @@ incomplete or incorrect, please [open an issue](https://github.com/Saxonica/xmld ## Change log +* **0.11.0** Improve type equality comparison when looking for overrides + + The solution here is a fairly awful hack. Will have to come back to this and try to do better. + * **0.10.0** Fix superclass interfaces; output information about type parameters Moved the interface information about a superclass into the superclass diff --git a/gradle.properties b/gradle.properties index 710fc47..43b3c89 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -docletVersion=0.10.0 -schemaVersion=0.10.0 +docletVersion=0.11.0 +schemaVersion=0.11.0 docletTitle=XmlDoclet docletName=xmldoclet diff --git a/xmldoclet/src/main/java/com/saxonica/xmldoclet/scanners/XmlExecutableElement.java b/xmldoclet/src/main/java/com/saxonica/xmldoclet/scanners/XmlExecutableElement.java index 1625a32..b19b268 100644 --- a/xmldoclet/src/main/java/com/saxonica/xmldoclet/scanners/XmlExecutableElement.java +++ b/xmldoclet/src/main/java/com/saxonica/xmldoclet/scanners/XmlExecutableElement.java @@ -242,7 +242,8 @@ private ExecutableElement findImplements(List ifaces) { } private boolean sameType(TypeMirror t1, TypeMirror t2) { - return t1.equals(t2); + // Cheap and cheerful test + return t1.toString().equals(t2.toString()); } }