While I plan to upgrade this week to El Capitan from 10.8.5, it looks like the 
build now requires a more current version of OSX than it did a few weeks ago 
based on the error I am seeing  after updating my  jdk9  workspace today before 
the jake integration.

I assume I am out of luck until i get off the bench and upgrade OSX  now (which 
is more motivation :-) )?  

p.s.  Was there an email I might have missed on this change (I know I was 
probably lucky before)


-----------------

ljanders-mac:modular-dev ljanders$ make all
Building target 'all' in configuration 'macosx-x86_64-normal-server-release'
Warning: generation and use of skeletons and static stubs for JRMP
is deprecated. Skeletons are unnecessary, and static stubs have
been superseded by dynamically generated stubs. Users are
encouraged to migrate away from using rmic to generate skeletons and static
stubs. See the documentation for java.rmi.server.UnicastRemoteObject.
/Users/ljanders/Documents/hg-workspaces/openjdk9/modular-dev/jdk/src/java.desktop/macosx/native/libosx/CFileManager.m:225:25:
 error: 'trashItemAtURL:resultingItemURL:error:' is unavailable
        returnValue  = [[NSFileManager defaultManager] trashItemAtURL:url
                        ^
/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:162:1: 
note: declaration has been explicitly marked unavailable here
- (BOOL)trashItemAtURL:(NSURL *)url resultingItemURL:(NSURL **)outResultingURL 
error:(NSError **)error NS_AVAILABLE_MAC(10_8);
^
1 error generated.
make[3]: *** 
[/Users/ljanders/Documents/hg-workspaces/openjdk9/modular-dev/build/macosx-x86_64-normal-server-release/support/native/java.desktop/libosx/CFileManager.o]
 Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [java.desktop-libs] Error 2
make[2]: *** Waiting for unfinished jobs....
Compiling 775 files for jdk.xml.bind
Starting server. Command: 
/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/bin/java -d64 
-Xms512M -Xmx2048M 
-Xbootclasspath/p:/Users/ljanders/Documents/hg-workspaces/openjdk9/modular-dev/build/macosx-x86_64-normal-server-release/buildtools/interim_langtools.jar
 -cp 
/Users/ljanders/Documents/hg-workspaces/openjdk9/modular-dev/build/macosx-x86_64-normal-server-release/buildtools/interim_langtools.jar
 com.sun.tools.sjavac.Main 
--startserver:portfile=/Users/ljanders/Documents/hg-workspaces/openjdk9/modular-dev/build/macosx-x86_64-normal-server-release/make-support/javacservers/server.port,poolsize=8,keepalive=120
Trying to connect. Attempt 1 of 3
Connected
Compiling 1226 files for java.xml.ws
Trying to connect. Attempt 1 of 3
Connected
[server] Note: Some input files use or override a deprecated API.
[server] Note: Recompile with -Xlint:deprecation for details.
[server] Note: Some input files use unchecked or unsafe operations.
[server] Note: Recompile with -Xlint:unchecked for details.
[server] Note: Some input files use or override a deprecated API.
[server] Note: Recompile with -Xlint:deprecation for details.
[server] Note: Some input files use unchecked or unsafe operations.
[server] Note: Recompile with -Xlint:unchecked for details.

ERROR: Build failed for target 'all' in configuration 
'macosx-x86_64-normal-server-release' (exit code 2) 
=== Output from failing command(s) repeated here ===
* For target support_native_java.desktop_libosx_CFileManager.o:
/Users/ljanders/Documents/hg-workspaces/openjdk9/modular-dev/jdk/src/java.desktop/macosx/native/libosx/CFileManager.m:225:25:
 error: 'trashItemAtURL:resultingItemURL:error:' is unavailable
        returnValue  = [[NSFileManager defaultManager] trashItemAtURL:url
                        ^
/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:162:1: 
note: declaration has been explicitly marked unavailable here
- (BOOL)trashItemAtURL:(NSURL *)url resultingItemURL:(NSURL **)outResultingURL 
error:(NSError **)error NS_AVAILABLE_MAC(10_8);
^
1 error generated.
=== End of repeated output ===
No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: If caused by a warning, try configure --disable-warnings-as-errors.

make[1]: *** [main] Error 2
make: *** [all] Error 2
ljanders-mac:modular-dev ljanders$ 

----------------






Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
lance.ander...@oracle.com



Reply via email to