In JDK 14, the [Records (JEP 359)](https://openjdk.java.net/jeps/359) preview feature adds a new class `java.lang.Record`. The `java.lang` package is implicitly imported on demand, that is, `import java.lang.*`. If code in an existing source file imports some other package on demand, for example, `import com.myapp.*;`, and that other package declares a type called `Record`, then code in the existing source file which refers to that type will not compile without change. To make the code compile, import the other package's `Record` type using a single-type import, for example, `import com.myapp.Record;`.