@@ -424,7 +424,8 @@ implementation
is_chararray(def) or
is_widechararray(def) or
is_open_chararray(def) or
- is_open_widechararray(def);
+ is_open_widechararray(def) or
+ (def=java_jlstring);
end;
function is_enum(def : tdef) : boolean;
@@ -477,7 +477,9 @@ implementation
(
is_implicit_pointer_object_type(rd) or
(rd.typ=pointerdef) or
- (rt=niln)
+ (rt=niln) or
+ ((ld=java_jlstring) and
+ is_stringlike(rd))
)
) and
(treetyp in identity_operators)