# 2022-04-01

## Diffblue Cover now supports Java 17!

We have been working hard behind the scenes to get ready to support Java 17, and are delighted to announce that this work is now complete! Diffblue Cover can now be used with Java 8, Java 11 (but please note not version 11.0.7) and Java 17.

## Diffblue Cover and Mockito

Diffblue Cover now gives a warning if you are using a version of Mockito that is not supported by the JVM. It also suggests an updated version of Mockito to use, to ensure you get the best outcome and number of tests written.

## Support for IntelliJ IDEA 2022.1 - COMING SOON!

We are expecting the release of IntelliJ IDEA 2022.1 any day now, and will be able to support this very shortly. Please look out for the next release!

## Developer Edition trial available

We are delighted to now offer a 14-day trial version of our Developer Edition, which includes the Diffblue Cover CLI, as part of our new licensing option. We're really excited that you can now "try before you buy"! To download your trial of Diffblue Cover Developer Edition, please [click here](https://www.diffblue.com/try-cover?cover_plan_selected=Developer). Full information on all our options is also available [here](https://diffblue.com/pricing).

## How do I automatically maintain all of these tests?

![](https://info.diffblue.com/hubfs/PluginPopup/ci-workflow.gif)

Use Diffblue Cover on any CI platform to automatically update your unit tests and catch regressions for every commit - watch [this video](https://www.diffblue.com/video-demo/?utm_source=Plugin\&utm_medium=Whatsnew\&utm_campaign=WhatsNewBox) to learn more.

## Enhancements

* Cover now supports writing tests for projects using Java 17. Support for Java 17-specific features, like records and sealed classes, will come in a future release. \[Ref: TG-16352]
* Cover now supports Apple M1 CPUs. \[Ref: TG-16543]
* Cover now supports a properties rule, which can be specified in `DiffblueRules.yml`, to populate a `Properties` instance from a file or classpath resource. [See 'Custom Inputs' documentation.](https://github.com/diffblue/website-docs/blob/develop/knowledge-base/cli/custom-inputs/README.md). \[Ref: TG-16683]
* Cover now includes a Javadoc which links to the methods it has written tests for. \[Ref: TG-16584]
* Cover now provides a warning if the version of Mockito on the classpath is not compatible with the chosen JVM. \[Ref: TG-16464]

## Resolved Issues

* IntelliJ Plugin: Resolved an issue which, in some circumstances, caused the "It looks like you haven't used Diffblue Cover \[...]" survey to be shown too often. \[Ref: TG-16721]
* IntelliJ Plugin: Resolved an issue which caused the plugin settings scrollbar to not be at the top of the window when opened. \[Ref: TG-16692]
* Resolved an issue which, in certain circumstances, would provoke an `F009` (Internal error) and fail to write a test for a method when generating large intermediate lists. \[Ref: TG-16678]

## Known Issues

* CLI: The command `dcover clean --failing` does not work on Gradle projects. This command is now deprecated and `dcover validate` should be used instead. \[Ref: TG-11707]
* Cover may fail to write tests for Gradle projects using Java 17, and fails to create coverage reports when using Gradle on Java 17. \[Ref: TG-16878]


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cover-docs-preview.diffblue.com/updates-and-upgrades/release-archive/2022-04-01.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
