Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 574567 - 2021-6 eclipse project with junit needs jdk8, but need 1.6 compliance in project
Summary: 2021-6 eclipse project with junit needs jdk8, but need 1.6 compliance in project
Status: CLOSED DUPLICATE of bug 574362
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.21   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-30 06:03 EDT by Robert Anderlik CLA
Modified: 2021-06-30 13:32 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Anderlik CLA 2021-06-30 06:03:58 EDT
I have a legacy project, which must run with old java 1.6 compliance, since there is an old drools engine, which compiles business rules.

I've several junit 4 test cases, which must be startet with a jdk compliant to that, but this is no more possible since in eclipse 2021-6 a JDK version 52.0 is needed.

When starting with higher jdk the drools engine does not create 1.6 compliant code from rules, because using newer jdk, and finally business rules loading fails.

With Eclipse 2019-9 there is no problem with this project.

I suggest to compile junit 4 framework with compliance to 1.6 since I think this solves similar other problems with legacy jdk users.

Deciding to choose newer drools encgine and newer JDK will be to costy for this project.
Comment 1 Andrey Loskutov CLA 2021-06-30 13:32:47 EDT

*** This bug has been marked as a duplicate of bug 574362 ***