File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
common/utils/src/main/java/org/graalvm/buildtools/agent Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -154,13 +154,13 @@ private void addDefaultAccessFilter() {
154154
155155 try (InputStream accessFilterData = AgentConfiguration .class .getResourceAsStream (DEFAULT_ACCESS_FILTER_FILE_LOCATION )) {
156156 if (accessFilterData == null ) {
157- throw new IOException ("Cannot find access-filter.json on default location : " + DEFAULT_ACCESS_FILTER_FILE_LOCATION );
157+ throw new IOException ("Cannot access data from : " + DEFAULT_ACCESS_FILTER_FILE_LOCATION );
158158 }
159159
160160 try {
161161 Files .createDirectory (agentDir );
162162 } catch (FileAlreadyExistsException e ) {
163- logger .info ("Ignore directory creation because " + agentDir + " directory is already created." );
163+ logger .info ("Skip creation of directory " + agentDir + " ( already created) ." );
164164 }
165165
166166 long pid = ProcessHandle .current ().pid ();
@@ -172,7 +172,7 @@ private void addDefaultAccessFilter() {
172172 Files .move (tmpAccessFilter , accessFilterFile , StandardCopyOption .ATOMIC_MOVE );
173173 } catch (FileAlreadyExistsException e ) {
174174 Files .delete (tmpAccessFilter );
175- logger .info ("Access-filter file already exists. Delete the temporary one." );
175+ logger .info (accessFilterFile + " already exists. Delete " + tmpAccessFilter );
176176 }
177177
178178 accessFilterFiles .add (accessFilterFile .toString ());
You can’t perform that action at this time.
0 commit comments