#134: Remove dependency on java.desktop from the specification (#192)
Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
diff --git a/spec/src/main/asciidoc/appI-changelog.adoc b/spec/src/main/asciidoc/appI-changelog.adoc
index bb00d70..b6f941b 100644
--- a/spec/src/main/asciidoc/appI-changelog.adoc
+++ b/spec/src/main/asciidoc/appI-changelog.adoc
@@ -9,6 +9,7 @@
* fixed cross-references in the specification document
* removed deprecated jakarta.xml.bind.Validator
+* removed constraints on using `java.beans.Introspector`
=== Changes in Version 3
diff --git a/spec/src/main/asciidoc/ch08-java_types.adoc b/spec/src/main/asciidoc/ch08-java_types.adoc
index 91ed512..c9316ef 100644
--- a/spec/src/main/asciidoc/ch08-java_types.adoc
+++ b/spec/src/main/asciidoc/ch08-java_types.adoc
@@ -1380,8 +1380,7 @@
The following must be mapped (subject to the mapping constraints listed below):
-* read/write property as identified by
-`java.beans.Introspector.getBeanInfo` with its nearest XML-bound
+* read/write property with its nearest XML-bound
superclass as the stopClass.
* non static, non transient field of all the
ancestors up to the stopClass (but excluding the stopClass itself); if
@@ -2843,15 +2842,12 @@
The following is the default mapping for different identifiers:
* _class name_: a class name is mapped to an XML
-name by de capitalization using
-`java.beans.Introspector.decapitalize(_class name_)`.
+name by de capitalization of the unqualified class name.
* _enumtype name_: enumtype name is mapped to an
-XML name by de capitalization using
-`java.beans.Introspector.decapitalize(_enumtype name_)`.
+XML name by de capitalization of the unqualified enumtype name.
* A property name (e.g. address) is derived
-from JavaBean access method (e.g. getAddress) by JavaBean de
-capitalization of the JavaBean property name
-`java.beans.Introspector.decapitalize(_JavaBeanAccessMethod_)`
+from access method (e.g. getAddress) by de
+capitalization of the property name.
==== Package
@@ -2930,8 +2926,7 @@
A property name (e.g. address) must be derived
from JavaBean access method (e.g. getAddress) by JavaBean
-decapitalization of the JavaBean property name
-`java.beans.Introspector.decapitalize(_JavaBeanAccessMethod_)`
+decapitalization of the JavaBean property name.
A single valued property or field must be
mapped with the following default mapping annotation: