"Methods, including object construction, are not supported, except for Collection, String, and Map methods documented below. Implementations might choose to support non-mutating method calls as non-standard extensions."
However, MethodsAndObjectConstructionNotSupported expects an exception for method getX().
Description
According to the spec:
"Methods, including object construction, are not supported, except for Collection, String, and Map methods documented below. Implementations might choose to support non-mutating method calls as non-standard extensions."
However, MethodsAndObjectConstructionNotSupported expects an exception for method getX().