Checking merged JARs target version

Description

I would like to add a small improvement to compiler and classloader - checking of JARs that will be merged into installer.

There exists an element in info section (with default being 1.4 when this element does not exist):

This is used by default when running installer to compare the java version you are running the installer with against the one you have set. If it is higher than the set one it will fail.

I would like to extend the functionality with 2 steps:
1) check at compilation time - JAR's classes target versions will be checked against this attribute
2) java version check prior to loading of merged JARs

Environment

None

Assignee

Zdeněk Vaník

Reporter

Zdeněk Vaník

Impact

None

Components

Sprint

None

Fix versions

Affects versions

Priority

Medium
Configure