-
Bug
-
Resolution: Duplicate
-
P3
-
9
-
x86
-
os_x
Error reported when building on OSX 10.11:
* For target BUILD_LIBOSX_CFileManager.m:
/Users/micheltrudeau/WorkDir/OpenJDK/jdk9/jdk/src/jdk.deploy.osx/macosx/native/libosx/CFileManager.m:224:40: error: null passed to a callee that requires a non-null argument [-Werror,-Wnonnull]
[[NSWorkspace sharedWorkspace] performFileOperation:NSWorkspaceRecycleOperation
^
1 error generated.
On investigation, NSWorkspace performFileOperation is deprecated in 10.11 so it should be replaced (eventually).
The error is caused by us setting the destination to nil, the documentation says that it must be set to @"" when it's not needed.
* For target BUILD_LIBOSX_CFileManager.m:
/Users/micheltrudeau/WorkDir/OpenJDK/jdk9/jdk/src/jdk.deploy.osx/macosx/native/libosx/CFileManager.m:224:40: error: null passed to a callee that requires a non-null argument [-Werror,-Wnonnull]
[[NSWorkspace sharedWorkspace] performFileOperation:NSWorkspaceRecycleOperation
^
1 error generated.
On investigation, NSWorkspace performFileOperation is deprecated in 10.11 so it should be replaced (eventually).
The error is caused by us setting the destination to nil, the documentation says that it must be set to @"" when it's not needed.