Echtzeitsysteme / java-refactoring-ttc

Object-oriented Refactoring of Java Programs using Graph Transformation (TTC'2015)
0 stars 0 forks source link

ARTE only compatible with JDK 8 #14

Closed tsdh closed 9 years ago

tsdh commented 9 years ago

The ARTE classes' class file format version is 0x34, i.e., it is compiled with and only for JDK 8. I have a JDK 8 installed but my solution uses JaMoPP which is not (yet) compatible with version 8. Concretely, when I use jamopp to parse the ARTE-provided source files, it'll try to parse also the used types from rt.jar like java.lang.String and then fails because the class file format in that version in unknown to it.

So could you please make sure that ARTE is compiled with compatibility to JDK 7?

SvenPeldszus commented 9 years ago

I have recompiled ARTE with JDK 1.7

tsdh commented 9 years ago

Thanks!

The TTCTestInterface.jar also contains some JDK8-only classes, namely those named in the below output.

warning: /home/horn/Repos/uni/ttc15-java-refactoring-funnyqt/resources/TTCTestInterface.jar(ttc/testdsl/tTCTest/Pull_Up_Refactoring.class): major version 52 is newer than 51, the highest major version supported by this compiler.
  It is recommended that the compiler be upgraded.
warning: /home/horn/Repos/uni/ttc15-java-refactoring-funnyqt/resources/TTCTestInterface.jar(ttc/testdsl/tTCTest/Create_Superclass_Refactoring.class): major version 52 is newer than 51, the highest major version supported by this compiler.
  It is recommended that the compiler be upgraded.
warning: /home/horn/Repos/uni/ttc15-java-refactoring-funnyqt/resources/TTCTestInterface.jar(ttc/testdsl/tTCTest/Refactoring_Instance.class): major version 52 is newer than 51, the highest major version supported by this compiler.
  It is recommended that the compiler be upgraded.
warning: /home/horn/Repos/uni/ttc15-java-refactoring-funnyqt/resources/TTCTestInterface.jar(ttc/testdsl/tTCTest/Refactoring.class): major version 52 is newer than 51, the highest major version supported by this compiler.
  It is recommended that the compiler be upgraded.
warning: /home/horn/Repos/uni/ttc15-java-refactoring-funnyqt/resources/TTCTestInterface.jar(ttc/testdsl/tTCTest/Java_Class.class): major version 52 is newer than 51, the highest major version supported by this compiler.
  It is recommended that the compiler be upgraded.
warning: /home/horn/Repos/uni/ttc15-java-refactoring-funnyqt/resources/TTCTestInterface.jar(ttc/testdsl/tTCTest/Java_Method.class): major version 52 is newer than 51, the highest major version supported by this compiler.
  It is recommended that the compiler be upgraded.
6 warnings
SvenPeldszus commented 9 years ago

This should now also be compatible.

tsdh commented 9 years ago

Thanks.

tsdh commented 9 years ago

Closing since the issue has been fixed already.