ContractJarTestUtils compiles to the same SDK target version as the system Java compiler

Description

If the core test suite is run on a machine where JDK11 is returned as the system java compiler then ContractJarTestUtils generate JDK11 contract class files. This then fails the class check in attachment loading.

Simple fix is to specify source and target compile option of 8 in ContractJarTestUtils compilation function.

Assignee

Adel El-Beik

Reporter

Adel El-Beik

Labels

None

Sprint

None

Epic Link

None

Priority

Medium

Engineering Teams

Kernel

Fix versions

Affects versions

None

Ported to...

None

Story Points / Dev Days

1

Build cut

None

Feature Team

Select team
Configure