Skip to content

Commit ce10e87

Browse files
ludochgae-java-bot
authored andcommitted
Update README with Java runtime and EE/Jetty version compatibility.
PiperOrigin-RevId: 819290420 Change-Id: I748b4998b0d65f61cd71798fbb017a53b02a7b3a
1 parent 561f78e commit ce10e87

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,55 @@ For example, if your application code needs more `-add-opens` flags, you can use
362362
</env-variables>
363363
```
364364
365+
**Note:**
366+
367+
* Only one of `appengine.use.EE8`, `appengine.use.EE10`, or `appengine.use.EE11` can be set to `true` at a time.
368+
* Flags can be set in `WEB-INF/appengine-web.xml` or via Java system properties (e.g., `-Dappengine.use.EE10=true`). System properties override `appengine-web.xml`.
369+
* EE6 = Servlet 3.1 (`javax.*`), EE8 = Servlet 4.0 (`javax.*`), EE10 = Servlet 5.0 (`jakarta.*`), EE11 = Servlet 6.0 (`jakarta.*`).
370+
* Jetty 12.1 should be fully backward compatible with Jetty 12.0 and EE11 version should also be backward compatible with EE10.
371+
* EE8 should also be backward compatible with EE6.
372+
373+
374+
375+
376+
### Java 17 (`<runtime>java17</runtime>`)
377+
378+
| Flag(s) Set in `appengine-web.xml` or System Properties | Resulting Jetty | Support | Resulting EE Version | Notes |
379+
| :--- | :--- | :--- | :--- | :--- |
380+
| _None (default)_ | 9.4 | GA | 6 | |
381+
| `appengine.use.EE8=true` | 12.0 | GA | 8 | |
382+
| `appengine.use.EE10=true` | 12.0 | GA | 10 | |
383+
| `appengine.use.EE8=true`, `appengine.use.jetty121=true` | 12.1 | Early Access | 8 | |
384+
| `appengine.use.EE10=true`, `appengine.use.jetty121=true` | 12.1 | Early Access | 11 | **Upgraded**: EE10 is upgraded to EE11 on Jetty 12.1 |
385+
| `appengine.use.EE11=true` | 12.1 | Early Access | 11 | `appengine.use.jetty121=true` is used automatically |
386+
387+
##
388+
389+
### Java 21 (`<runtime>java21</runtime>`)
390+
391+
| Flag(s) Set in `appengine-web.xml` or System Properties | Resulting Jetty | Support | Resulting EE Version | Notes |
392+
| :--- | :--- | :--- | :--- | :--- |
393+
| _None (default)_ | 12.0 | GA | 10 | |
394+
| `appengine.use.EE8=true` | 12.0 | GA | 8 | |
395+
| `appengine.use.EE10=true` | 12.0 | GA | 10 | |
396+
| `appengine.use.jetty121=true` | 12.1 | Early Access | 11 | If no EE flag is set, `jetty121` defaults to EE11 |
397+
| `appengine.use.EE8=true`, `appengine.use.jetty121=true` | 12.1 | Early Access | 8 | |
398+
| `appengine.use.EE10=true`, `appengine.use.jetty121=true` | 12.1 | Early Access | 11 | **Upgraded**: EE10 is upgraded to EE11 on Jetty 12.1 |
399+
| `appengine.use.EE11=true` | 12.1 | Early Access | 11 | `appengine.use.jetty121=true` is used automatically |
400+
401+
##
402+
403+
### Java 25 (`<runtime>java25</runtime>`)
404+
405+
| Flag(s) Set in `appengine-web.xml` or System Properties | Resulting Jetty | Support | Resulting EE Version | Notes |
406+
| :--- | :--- | :--- | :--- | :--- |
407+
| _None (default)_ | 12.1 | Early Access | 11 | `appengine.use.jetty121=true` is used |
408+
| `appengine.use.EE8=true` | 12.1 | Early Access | 8 | `appengine.use.jetty121=true` is used |
409+
| `appengine.use.EE11=true` | 12.1 | Early Access | 11 | `appengine.use.jetty121=true` is used |
410+
| `appengine.use.EE10=true` | **ERROR** | Unsupported | **ERROR** | EE10 is not supported, use compatible version EE11 instead|
411+
412+
##
413+
365414
## Contributing
366415
367416
Check out the [contributing guide](CONTRIBUTING.md) to learn how you can report issues and help make changes.

0 commit comments

Comments
 (0)