<human>: Convert the following Java 8 try-with-resources to Java 17:

```java
// Java 8 code
try (BufferedReader br = new BufferedReader(new FileReader(path))) {
  return br.readLine();
}
```

<bot>: ```java
// Java 17 try-with-resources enhancement
BufferedReader br = new BufferedReader(new FileReader(path));
try (br) {
  return br.readLine();
}
```