View source | View content page | Page history | Printable version   

Projects:Raise support to JDK11/Specs

Contents

Functional Requirements

Overview

The minimum Java version to compile Openbravo is Java 8, dissallowing to compile any code that uses new functionality added in Java 9, 10 or 11. This project has the objective to raise this minimum Java version to Java 11.

Tasks

Technical Requirements

Raising the stack requires some adjustment in different modules, tools, automated tasks and configuration files, those are explained here.

Backoffice

JavaDoc HTML flag

Since JDK 10, it is necessary to specify the html version that is used to generate the javadoc. There's a check in build.xml to add this flag only when using JDK 9+, because this feature doesn't exist on JDK8. The check can be removed and this flag(-html5) should always be added.

Jasper Reports

Jasper Reports library compiles .jrxml using ECJ(Eclipse's compiler for Java). The maximum version supported in Backoffice seems to be Java 5 with the library jasperreports version 6.0, because this is the default properties and there's no property file modifying them. That means, Lambdas(from Java 8) and any new Language feature added after Java 5 are not supported without a properties file.

Modules

Backoffice Test

Mobile Test

DBSM

Backoffice API, Mobile API and related tools

Remove libraries colliding with JDK

Hardware Manager

It supports Java 8 right now, and it should be consistent with the raise in stack done in this project.

Eclipse Warnings

This is a job that is executed in CI to check the possible warnings/errors thrown by the ECJ(Eclipse's compiler for Java).

Retrieved from "http://wiki.openbravo.com/wiki/Projects:Raise_support_to_JDK11/Specs"

This page has been accessed 564 times. This page was last modified on 9 October 2020, at 11:34. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.