* fixed signature in enum class header (missed L-prefix)

git-svn-id: branches/jvmbackend@18663 -
This commit is contained in:
Jonas Maebe 2011-08-20 08:22:28 +00:00
parent 37aa2d8443
commit 1b1face692

View File

@ -620,7 +620,7 @@ implementation
implemented interfaces) }
if (obj.typ=objectdef) and
(oo_is_enum_class in tobjectdef(obj).objectoptions) then
AsmWriteln('.signature "Ljava/lang/Enum<'+obj.jvm_full_typename(true)+';>;"');
AsmWriteln('.signature "Ljava/lang/Enum<L'+obj.jvm_full_typename(true)+';>;"');
{ in case of nested class: relation to parent class }
if obj.owner.symtabletype in [objectsymtable,recordsymtable] then
AsmWriteln(InnerStructDef(obj));