Project

General

Profile

Bug #8695

Parsing an mmu-file with no mmu declaration causes IllegalArgumentException

Added by Alexander Kamkin over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Category:
mmuSL
Target version:
Start date:
01/30/2018
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

java.lang.IllegalArgumentException: Only one mmu definition is allowed.
    at ru.ispras.fortress.util.InvariantChecks.checkTrue(InvariantChecks.java:53)
    at ru.ispras.microtesk.mmu.translator.generation.sim.SimGenerator.processIr(SimGenerator.java:57)
    at ru.ispras.microtesk.mmu.translator.generation.sim.SimGenerator.processIr(SimGenerator.java:36)
    at ru.ispras.microtesk.translator.Translator.processIr(Translator.java:84)
    at ru.ispras.microtesk.mmu.translator.MmuTranslator.start(MmuTranslator.java:136)
    at ru.ispras.microtesk.translator.Translator.translate(Translator.java:201)
    at ru.ispras.microtesk.MicroTESK.translate(MicroTESK.java:162)
    at ru.ispras.microtesk.MicroTESK.runTask(MicroTESK.java:135)
    at ru.ispras.microtesk.MicroTESK.main(MicroTESK.java:73)

Files

no_mmu_test.mmu (89 Bytes) no_mmu_test.mmu Alexander Kamkin, 01/30/2018 04:28 PM

History

#1

Updated by Alexander Kamkin over 1 year ago

Test case

Also available in: Atom PDF