8279643: JFR: Explain why path is sometimes missing from FileRead and FileWrite events
Reviewed-by: mgronlun
This commit is contained in:
parent
0d190961f2
commit
d7e6e9bd0b
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -42,7 +42,7 @@ public final class FileReadEvent extends AbstractJDKEvent {
|
||||
// EventHandler::write(..., String, long, boolean)
|
||||
|
||||
@Label("Path")
|
||||
@Description("Full path of the file")
|
||||
@Description("Full path of the file, or N/A if a file descriptor was used to create the stream, for example System.in")
|
||||
public String path;
|
||||
|
||||
@Label("Bytes Read")
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -42,7 +42,7 @@ public final class FileWriteEvent extends AbstractJDKEvent {
|
||||
// EventHandler::write(..., String, long)
|
||||
|
||||
@Label("Path")
|
||||
@Description("Full path of the file")
|
||||
@Description("Full path of the file, or N/A if a file descriptor was used to create the stream, for example System.out and System.err")
|
||||
public String path;
|
||||
|
||||
@Label("Bytes Written")
|
||||
|
Loading…
Reference in New Issue
Block a user