-
Enhancement
-
Resolution: Fixed
-
P4
-
12, 13
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8230801 | 11.0.6 | Yasumasa Suenaga | P4 | Resolved | Fixed | b01 |
JDK-8250963 | openjdk8u272 | Yasumasa Suenaga | P4 | Resolved | Fixed | b02 |
JFR tool shows error message as "could not find file" when it receives FileNotFoundException from ctor of RandomAccessFile.
According to Javadoc of RandomAccessFile [1], FileNotFoundException will be thrown when we do not be granted to access the file. Therefore, the error message misleads the user.
[1] https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/RandomAccessFile.html#%3Cinit%3E(java.io.File,java.lang.String)
According to Javadoc of RandomAccessFile [1], FileNotFoundException will be thrown when we do not be granted to access the file. Therefore, the error message misleads the user.
[1] https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/RandomAccessFile.html#%3Cinit%3E(java.io.File,java.lang.String)
- backported by
-
JDK-8230801 JFR tool shows potentially misleading message when it cannot access a file
- Resolved
-
JDK-8250963 JFR tool shows potentially misleading message when it cannot access a file
- Resolved