diff options
-rw-r--r-- | sources/scalac/symtab/classfile/AttributeParser.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/scalac/symtab/classfile/AttributeParser.java b/sources/scalac/symtab/classfile/AttributeParser.java index f7a1ad212a..7f04a3d147 100644 --- a/sources/scalac/symtab/classfile/AttributeParser.java +++ b/sources/scalac/symtab/classfile/AttributeParser.java @@ -201,6 +201,11 @@ public class AttributeParser implements ClassfileConstants { sym.flags |= Modifiers.CASE | Modifiers.JAVA; in.skip(attrLen - 4); return; + case SOURCEFILE_ATTR: + String name = pool.getString(in.nextChar()); + parser.c.getOrigin().setSourceFileAttribute(name); + parser.m.moduleClass().getOrigin().setSourceFileAttribute(name); + return; default: in.skip(attrLen); return; |