hosijyun / smali

Automatically exported from code.google.com/p/smali
0 stars 0 forks source link

SET_SOURCE_FILE: Fall through #217

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?
[code]
            case DebugItemType.SET_SOURCE_FILE: {
                SetSourceFile setSourceFile = (SetSourceFile)debugItem;
                writer.writeSetSourceFile(setSourceFile.getCodeAddress(),
                        checkStringReference(setSourceFile.getSourceFileReference()));
//There should be a break; here.
            }
            default:
                throw new ExceptionWithContext("Unexpected debug item type: %d", debugItem.getDebugItemType());
[/code]

https://code.google.com/p/smali/source/browse/dexlib2/src/main/java/org/jf/dexli
b2/writer/builder/BuilderClassPool.java (line 422)

Original issue reported on code.google.com by MarcMilt...@gmail.com on 19 Jun 2014 at 9:46

GoogleCodeExporter commented 9 years ago
Yep, that would be a bug. Thanks for reporting! 

Original comment by jesusfreke@jesusfreke.com on 19 Jun 2014 at 9:50

GoogleCodeExporter commented 9 years ago
You're welcome ;)

Original comment by MarcMilt...@gmail.com on 19 Jun 2014 at 9:51

GoogleCodeExporter commented 9 years ago
Fixed in 
https://code.google.com/p/smali/source/detail?r=a37e508ffa2a512d70890c6a174c2c98
ed803607

Original comment by jesusfreke@jesusfreke.com on 16 Jul 2014 at 6:03