Das jar-Package aus dem Branch targetBytecode funktioniert nicht #213
Labels
No Label
Codegen
confirmed
duplicate
Eclipse-Plugin
Feature Request
generics
in progress
invalid
JavaCompilerCore
needs info
Parser
Trash
Type
Unify
won't fix
works for me
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: JavaTX/JavaCompilerCore#213
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
java -jar JavaTXcompiler-0.1-jar-with-dependencies.jar JavaCompilerCore/resources/bytecode/javFiles/Fac.jav
liefert:
kein LogFile
kein LogFile
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302)
at java.base/java.util.Objects.checkIndex(Objects.java:385)
at java.base/java.util.ArrayList.get(ArrayList.java:427)
at de.dhbwstuttgart.target.generate.ASTToTargetAST.(ASTToTargetAST.java:490)
at de.dhbwstuttgart.target.generate.ASTToTargetAST.(ASTToTargetAST.java:479)
at de.dhbwstuttgart.core.JavaTXCompiler.generateBytecode(JavaTXCompiler.java:887)
at de.dhbwstuttgart.core.JavaTXCompiler.generateBytecode(JavaTXCompiler.java:861)
at de.dhbwstuttgart.core.JavaTXCompiler.generateBytecode(JavaTXCompiler.java:843)
at de.dhbwstuttgart.core.JavaTXCompiler.generateBytecode(JavaTXCompiler.java:853)
at de.dhbwstuttgart.core.ConsoleInterface.main(ConsoleInterface.java:40)
Das zugehörige Jar-File liegt unter
www.ba-horb.de/~/pl/JavaTXcompiler-0.1-jar-with-dependencies.jar
gefixt mit Commit:
99c46bf37f
@Martin, kannst du mal den Branch targetBytecode auschecken und nochmal das ConsoleInterface testen? Also die Jar-File ausführen. Es compiliert jetzt zumindest die Dateien bei mir.
Hinweis:
die jar File lässt sich mittels
mvn -DskipTests package
erstellen.