diff --git a/XML.java b/XML.java
index 025c3be..8e63c74 100644
--- a/XML.java
+++ b/XML.java
@@ -64,7 +64,11 @@ public class XML {
/**
* Creates an iterator for navigating Code Points in a string instead of
- * characters.
+ * characters. Once Java7 support is dropped, this can be replaced with
+ *
+ * string.codePoints()
+ *
+ * which is available in Java8 and above.
*
* @see http://stackoverflow.com/a/21791059/6030888