Skip to content

Commit 7321bbc

Browse files
committed
ECJ -> deprec type feature
1 parent f84a5f9 commit 7321bbc

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

docs/versions/release-notes/v6-3.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,20 @@ Deprecations
3636

3737
Deprecated features to be removed in the next releases
3838

39-
> Nothing so far...
39+
### JDK -> ECJ compiler
40+
41+
The platform now uses the **Eclipse Java Compiler** (ECJ) instead of the JDK compiler.
42+
43+
This is transparent and more efficient. It also allows to deploy the platform on a JRE instead of a JDK keeping Java custom code compilation possible.
44+
45+
> **Reminder**: Java compilation can be explicitly enabled or disabled (`true` by default) using the `server.compiler` JVM argument (`true` by default)
46+
> which is driven by the `COMPILER` environment variable in our Docker images.
47+
48+
The compiler options can be customized if needed using the `JAVA_COMPILER_OPTIONS` which is provided as `-g -warn:unused,deprecation` in order
49+
to make more visible (as warnings) all deprecated usages and unused variables/methods in the custom code (not that compilation warnings
50+
are non blocking but should be fixed).
51+
52+
The list of possible compiler options are described [in the Eclipse documentation](https://help.eclipse.org/latest/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-using_batch_compiler.htm).
4053

4154
Features
4255
--------
@@ -84,21 +97,6 @@ Technical
8497

8598
Technical enhancements and features
8699

87-
### ECJ compiler
88-
89-
The platform now uses the **Eclipse Java Compiler** (ECJ) instead of the JDK compiler.
90-
91-
This is transparent and more efficient. It also allows to deploy the platform on a JRE instead of a JDK keeping Java custom code compilation possible.
92-
93-
> **Reminder**: Java compilation can be explicitly enabled or disabled (`true` by default) using the `server.compiler` JVM argument (`true` by default)
94-
> which is driven by the `COMPILER` environment variable in our Docker images.
95-
96-
The compiler options can be customized if needed using the `JAVA_COMPILER_OPTIONS` which is provided as `-g -warn:unused,deprecation` in order
97-
to make more visible (as warnings) all deprecated usages and unused variables/methods in the custom code (not that compilation warnings
98-
are non blocking but should be fixed).
99-
100-
The list of possible compiler options are described [in the Eclipse documentation](https://help.eclipse.org/latest/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-using_batch_compiler.htm).
101-
102100
### Server side events
103101

104102
New servlet `/ui/sse` (asynchronous) to push messages from server to clients thru https

0 commit comments

Comments
 (0)