Skip navigation
2016

So we are looking into some Jigsaw module issues and I needed to setup a build of the OpenJDK running on my development box which happens to be OSX 10.11.6. First to get the code and configure the project build I used:

 

 

  1. hg clone http://hg.openjdk.java.net/jdk9/jdk9 jdk9
  2. cd jdk9/
  3. bash ./get_source.sh
  4. bash ./configure --with-boot-jdk=/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home
  5. make all

 

Note that is step 4 I had to pass in the --with-boot-jdk option because I have JDK9 early access build installed under my /Library/Java/JavaVirtualMachines/ directory,  and apparently that cannot be used as the bootstrap JDK. When I tried it, the compiler crashes with an error about not understanding the MODULE annotation element or some such.

 

At this point I was able to start compiling, but I ran into two errors. The first was this error in the hotspot tree:

 

/Volumes/ScottBackup/Java9/jdk9/hotspot/src/jdk.hotspot.agent/macosx/native/libsaproc/MacosxDebuggerLocal.m:691:21: error: 'ePtAttachDeprecated' is deprecated: PT_ATTACH is deprecated. See PT_ATTACHEXC [-Werror,-Wdeprecated-declarations]

  if ((res = ptrace(PT_ATTACH, pid, 0, 0)) < 0) {

                    ^

/usr/include/sys/ptrace.h:85:19: note: expanded from macro 'PT_ATTACH'

#define PT_ATTACH       ePtAttachDeprecated     /* trace some running process */

                        ^

/usr/include/sys/ptrace.h:71:2: note: 'ePtAttachDeprecated' has been explicitly marked deprecated here

        ePtAttachDeprecated __deprecated_enum_msg("PT_ATTACH is deprecated. See PT_ATTACHEXC") = 10

 

It is a simple matter of changing PT_ATTACH to PT_ATTACHEXC as suggested by the warning. The attached hotspot.patch has the full diff.

 

The next 2 errors were in the jdk tree during the build of the libjavajpeg library. Here is the set of errors seen in the jdk/src/java.desktop/share/native/libjavajpeg/jdhuff.c file:

 

 

/Volumes/ScottBackup/Java9/jdk9/jdk/src/java.desktop/share/native/libjavajpeg/jdhuff.c:458:13: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]

  { 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1,

        ~~~~^

/Volumes/ScottBackup/Java9/jdk9/jdk/src/java.desktop/share/native/libjavajpeg/jdhuff.c:458:28: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]

  { 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1,

                       ~~~~^

/Volumes/ScottBackup/Java9/jdk9/jdk/src/java.desktop/share/native/libjavajpeg/jdhuff.c:458:43: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]

  { 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1,

                                      ~~~~^

/Volumes/ScottBackup/Java9/jdk9/jdk/src/java.desktop/share/native/libjavajpeg/jdhuff.c:458:58: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]

  { 0, ((-1)<<1) + 1, ((-1)<<2) + 1, ((-1)<<3) + 1, ((-1)<<4) + 1,

                                                     ~~~~^

/Volumes/ScottBackup/Java9/jdk9/jdk/src/java.desktop/share/native/libjavajpeg/jdhuff.c:459:10: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]

    ((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1,

     ~~~~^

/Volumes/ScottBackup/Java9/jdk9/jdk/src/java.desktop/share/native/libjavajpeg/jdhuff.c:459:25: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]

    ((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1,

                    ~~~~^

/Volumes/ScottBackup/Java9/jdk9/jdk/src/java.desktop/share/native/libjavajpeg/jdhuff.c:459:40: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]

    ((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1,

                                   ~~~~^

/Volumes/ScottBackup/Java9/jdk9/jdk/src/java.desktop/share/native/libjavajpeg/jdhuff.c:459:55: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]

    ((-1)<<5) + 1, ((-1)<<6) + 1, ((-1)<<7) + 1, ((-1)<<8) + 1,

                                                  ~~~~^

/Volumes/ScottBackup/Java9/jdk9/jdk/src/java.desktop/share/native/libjavajpeg/jdhuff.c:460:10: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]

    ((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1,

     ~~~~^

/Volumes/ScottBackup/Java9/jdk9/jdk/src/java.desktop/share/native/libjavajpeg/jdhuff.c:460:25: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]

    ((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1,

                    ~~~~^

/Volumes/ScottBackup/Java9/jdk9/jdk/src/java.desktop/share/native/libjavajpeg/jdhuff.c:460:41: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]

    ((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1,

                                    ~~~~^

/Volumes/ScottBackup/Java9/jdk9/jdk/src/java.desktop/share/native/libjavajpeg/jdhuff.c:460:57: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]

    ((-1)<<9) + 1, ((-1)<<10) + 1, ((-1)<<11) + 1, ((-1)<<12) + 1,

                                                    ~~~~^

/Volumes/ScottBackup/Java9/jdk9/jdk/src/java.desktop/share/native/libjavajpeg/jdhuff.c:461:10: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]

    ((-1)<<13) + 1, ((-1)<<14) + 1, ((-1)<<15) + 1 };

     ~~~~^

/Volumes/ScottBackup/Java9/jdk9/jdk/src/java.desktop/share/native/libjavajpeg/jdhuff.c:461:26: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]

    ((-1)<<13) + 1, ((-1)<<14) + 1, ((-1)<<15) + 1 };

                     ~~~~^

/Volumes/ScottBackup/Java9/jdk9/jdk/src/java.desktop/share/native/libjavajpeg/jdhuff.c:461:42: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]

    ((-1)<<13) + 1, ((-1)<<14) + 1, ((-1)<<15) + 1 };

                                     ~~~~^

15 errors generated.

 

A similar set of errors is seen in the jdk/src/java.desktop/share/native/libjavajpeg/jdphuff.c file due to the same code being used there. The fix can be found in the attached jdk.patch file. So, add the following steps to apply the patches:

 

  1. save the hotspot.patch and jdk.patch file into jdk9 directory
  2. cd hotspot
  3. patch -p1 <../hotspot.patch
  4. cd ../jdk
  5. patch -p1 <../jdk.patch

 

At this point you should be able to run the make all step from within the jdk9 directory. On my iMac the build looked like:

 

 

[jdk9 546]$ time make all

Building target 'all' in configuration 'macosx-x86_64-normal-server-release'

Building JVM variant 'server' with features 'all-gcs cds compiler1 compiler2 dtrace fprof jni-check jvmci jvmti management nmt services vm-structs'

Compiling 8 files for BUILD_TOOLS_LANGTOOLS

Creating libjsig.dylib from 1 file(s)

Creating adlc from 13 file(s)

Compiling 2 files for BUILD_JVMTI_TOOLS

Parsing 1 properties into enum-like class for jdk.compiler

Compiling 16 properties into resource bundles for jdk.compiler

Compiling 19 properties into resource bundles for jdk.javadoc

Compiling 10 properties into resource bundles for jdk.jdeps

Compiling 7 properties into resource bundles for jdk.jshell

Compiling 115 files for BUILD_INTERIM_java.compiler

Compiling 390 files for BUILD_INTERIM_jdk.compiler

Creating libjvm.dylib from 695 file(s)

Creating libjvm.dylib from 19 file(s)

Creating gtestLauncher from 1 file(s)

Compiling 61 files for BUILD_INTERIM_jdk.jdeps

Compiling 450 files for BUILD_INTERIM_jdk.javadoc

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Compiling 155 files for BUILD_TOOLS_JDK

Compiling 141 files for BUILD_IDLJ

Compiling 6 files for BUILD_TOOLS_CORBA

Compiling 198 files for BUILD_INTERIM_RMIC

Note: /Volumes/ScottBackup/Java9/jdk9/corba/src/java.corba/share/classes/com/sun/tools/corba/se/idl/som/idlemit/MetaPragma.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

Compiling 31 files for BUILD_JRTFS

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Creating support/jrt-fs.jar

Creating libsanity_SimpleNativeLib.dylib from 1 file(s)

Creating libsanity_SimpleNativeLib2.dylib from 1 file(s)

Creating sanity_SimpleNativeLauncher from 1 file(s)

ld: warning: directory not found for option '-L/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/modules_libs/java.base/server'

ld: warning: directory not found for option '-L/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/modules_libs/java.base/server'

ld: warning: directory not found for option '-L/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/modules_libs/java.base/server'

Compiling 2 files for BUILD_BREAKITERATOR_BASE

Compiling 259 files for BUILD_BREAKITERATOR_LD

Compiling 11 properties into resource bundles for java.logging

Compiling 11 properties into resource bundles for java.management

Compiling 11 properties into resource bundles for java.base

Compiling 6 properties into resource bundles for java.base

Compiling 11 properties into resource bundles for jdk.jartool

Compiling 3 properties into resource bundles for jdk.jdi

Compiling 4 properties into resource bundles for jdk.jlink

Compiling 3 properties into resource bundles for jdk.jlink

Compiling 1 properties into resource bundles for jdk.jlink

Compiling 225 properties into resource bundles for jdk.localedata

Compiling 2 files for COMPILE_CREATE_SYMBOLS

Creating ct.sym classes

Creating support/symbols/ct.sym

Compiling 2853 files for java.base

Compiling 101 properties into resource bundles for java.desktop

Compiling 17 files for java.datatransfer

Compiling 34 files for java.logging

Compiling 6 files for java.annotations.common

Compiling 15 files for java.scripting

Compiling 116 files for java.compiler

Compiling 123 files for java.rmi

Compiling 1816 files for java.xml

Compiling 8 files for java.instrument

Compiling 30 files for java.security.sasl

Compiling 4 files for java.transaction

Compiling 110 files for java.httpclient

Compiling 44 files for jdk.httpserver

Compiling 21 files for java.smartcardio

Compiling 59 files for jdk.jvmstat

Compiling 145 files for jdk.charsets

Compiling 392 files for jdk.compiler

Compiling 8 files for jdk.crypto.ec

Compiling 66 files for jdk.dynalink

Compiling 46 files for jdk.internal.le

Compiling 46 files for jdk.internal.opt

Compiling 31 files for jdk.jartool

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

Compiling 1 files for jdk.jdwp.agent

Compiling 11 files for jdk.jstatd

Compiling 6 files for jdk.net

Compiling 2102 files for jdk.localedata

Compiling 1 files for jdk.pack200

Compiling 117 files for BUILD_NASGEN

Compiling 25 files for jdk.sctp

Compiling 10 files for jdk.unsupported

Compiling 595 files for jdk.scripting.nashorn

Compiling 177 files for jdk.vm.ci

Compiling 90 files for jdk.xml.dom

Compiling 14 files for jdk.zipfs

Running nasgen

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.

Compiling 17 files for java.prefs

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.

Compiling 1 files for java.compact1

Compiling 78 files for java.sql

Compiling 193 files for java.naming

Compiling 283 files for java.xml.crypto

Compiling 15 files for jdk.attach

Compiling 67 files for jdk.crypto.pkcs11

Compiling 38 files for jdk.jcmd

Compiling 451 files for jdk.javadoc

Compiling 124 files for jdk.jdeps

Compiling 250 files for jdk.jdi

Compiling 15 files for jdk.naming.dns

Compiling 7 files for jdk.naming.rmi

Compiling 1 files for java.compact2

Compiling 374 files for java.management

Compiling 211 files for java.security.jgss

Compiling 51 files for java.sql.rowset

Compiling 71 files for jdk.jlink

Compiling 2781 files for java.desktop

Compiling 14 files for jdk.security.jgss

Compiling 37 files for jdk.security.auth

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.

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.

Compiling 1 files for java.compact3

Compiling 24 files for jdk.management

Updating support/src.zip

WARNING: Generated file does not exist: /Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/hotspot/dist/docs/platform/jvmti/jvmti.html

# Running javadoc for images/docs/api/index.html

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Compiling 25 files for java.activation

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

Compiling 1480 files for java.corba

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

Compiling 1 files for java.se

Compiling 747 files for java.xml.bind

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

Compiling 18 files for jdk.accessibility

Compiling 984 files for jdk.hotspot.agent

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

Compiling 64 files for jdk.jconsole

Compiling 84 files for jdk.jshell

Compiling 5 files for jdk.jsobject

Compiling 14 files for jdk.policytool

Compiling 227 files for jdk.rmic

Compiling 10 files for jdk.scripting.nashorn.shell

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

Compiling 776 files for jdk.xml.bind

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

Compiling 1227 files for java.xml.ws

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

Compiling 1 files for java.se.ee

Compiling 235 files for jdk.xml.ws

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

Compiling 1 files for BUILD_DEMO_APPLET_ArcTest

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/applets/ArcTest/ArcTest.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Compiling 1 files for BUILD_DEMO_APPLET_BarChart

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/applets/BarChart/BarChart.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Compiling 1 files for BUILD_DEMO_APPLET_Blink

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/applets/Blink/Blink.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Compiling 1 files for BUILD_DEMO_APPLET_CardTest

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/applets/CardTest/CardTest.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Compiling 1 files for BUILD_DEMO_APPLET_Clock

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/applets/Clock/Clock.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Compiling 1 files for BUILD_DEMO_APPLET_DitherTest

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/applets/DitherTest/DitherTest.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Compiling 1 files for BUILD_DEMO_APPLET_DrawTest

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/applets/DrawTest/DrawTest.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Compiling 1 files for BUILD_DEMO_APPLET_Fractal

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/applets/Fractal/CLSFractal.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Compiling 2 files for BUILD_DEMO_APPLET_GraphicsTest

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Compiling 1 files for BUILD_DEMO_APPLET_NervousText

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/applets/NervousText/NervousText.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Compiling 1 files for BUILD_DEMO_APPLET_SimpleGraph

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/applets/SimpleGraph/GraphApplet.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Compiling 5 files for BUILD_DEMO_APPLET_SortDemo

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/applets/SortDemo/SortItem.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Compiling 1 files for BUILD_DEMO_APPLET_SpreadSheet

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/applets/SpreadSheet/SpreadSheet.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Compiling 3 files for BUILD_DEMO_CodePointIM

Updating support/demos/image/jfc/CodePointIM/src.zip

Compiling 2 files for BUILD_DEMO_MoleculeViewer

Updating support/demos/image/applets/MoleculeViewer/src.zip

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/applets/MoleculeViewer/XYZApp.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Compiling 2 files for BUILD_DEMO_WireFrame

Updating support/demos/image/applets/WireFrame/src.zip

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/applets/WireFrame/ThreeD.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Compiling 1 files for BUILD_DEMO_SwingApplet

Updating support/demos/image/jfc/SwingApplet/src.zip

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/jfc/SwingApplet/SwingApplet.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Compiling 3 files for BUILD_DEMO_FileChooserDemo

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/jfc/FileChooserDemo/FileChooserDemo.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/jfc/FileChooserDemo/FileChooserDemo.java uses unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

Updating support/demos/image/jfc/FileChooserDemo/src.zip

Compiling 4 files for BUILD_DEMO_Font2DTest

Updating support/demos/image/jfc/Font2DTest/src.zip

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

Compiling 15 files for BUILD_DEMO_Metalworks

Updating support/demos/image/jfc/Metalworks/src.zip

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/jfc/Metalworks/MetalworksPrefs.java uses unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

Compiling 2 files for BUILD_DEMO_Notepad

Updating support/demos/image/jfc/Notepad/src.zip

Compiling 5 files for BUILD_DEMO_SampleTree

Updating support/demos/image/jfc/SampleTree/src.zip

Compiling 8 files for BUILD_DEMO_TableExample

Updating support/demos/image/jfc/TableExample/src.zip

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/jfc/TableExample/TableExample4.java uses unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

Compiling 1 files for BUILD_DEMO_TransparentRuler

Updating support/demos/image/jfc/TransparentRuler/src.zip

Compiling 3 files for BUILD_DEMO_jconsole-plugin

Updating support/demos/image/scripting/jconsole-plugin/src.zip

Compiling 3 files for BUILD_DEMO_FullThreadDump

Updating support/demos/image/management/FullThreadDump/src.zip

Compiling 2 files for BUILD_DEMO_JTop

Note: /Volumes/ScottBackup/Java9/jdk9/jdk/src/demo/share/management/JTop/JTop.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Updating support/demos/image/management/JTop/src.zip

Compiling 1 files for BUILD_DEMO_MemoryMonitor

Updating support/demos/image/management/MemoryMonitor/src.zip

Compiling 2 files for BUILD_DEMO_VerboseGC

Updating support/demos/image/management/VerboseGC/src.zip

Creating libcompiledMethodLoad.dylib from 2 file(s)

Updating support/demos/image/jvmti/compiledMethodLoad/src.zip

Creating libgctest.dylib from 2 file(s)

Updating support/demos/image/jvmti/gctest/src.zip

Creating libheapViewer.dylib from 2 file(s)

Updating support/demos/image/jvmti/heapViewer/src.zip

Creating libversionCheck.dylib from 2 file(s)

Updating support/demos/image/jvmti/versionCheck/src.zip

Creating libheapTracker.dylib from 3 file(s)

Compiling 1 files for BUILD_DEMO_JVMTI_JAVA_heapTracker

Updating support/demos/image/jvmti/heapTracker/src.zip

Creating libminst.dylib from 3 file(s)

Compiling 1 files for BUILD_DEMO_JVMTI_JAVA_minst

Updating support/demos/image/jvmti/minst/src.zip

Creating libmtrace.dylib from 3 file(s)

Compiling 1 files for BUILD_DEMO_JVMTI_JAVA_mtrace

Updating support/demos/image/jvmti/mtrace/src.zip

Creating libwaiters.dylib from 5 file(s)

Updating support/demos/image/jvmti/waiters/src.zip

Creating support/demos/image/jfc/CodePointIM/CodePointIM.jar

Creating support/demos/image/applets/MoleculeViewer/MoleculeViewer.jar

Creating support/demos/image/applets/WireFrame/WireFrame.jar

Creating support/demos/image/jfc/SwingApplet/SwingApplet.jar

Creating support/demos/image/jfc/FileChooserDemo/FileChooserDemo.jar

Creating support/demos/image/jfc/Font2DTest/Font2DTest.jar

Creating support/demos/image/jfc/Metalworks/Metalworks.jar

Creating support/demos/image/jfc/Notepad/Notepad.jar

Creating support/demos/image/jfc/SampleTree/SampleTree.jar

Creating support/demos/image/jfc/TableExample/TableExample.jar

Creating support/demos/image/jfc/TransparentRuler/TransparentRuler.jar

Creating support/demos/image/scripting/jconsole-plugin/jconsole-plugin.jar

Creating support/demos/image/management/FullThreadDump/FullThreadDump.jar

Creating support/demos/image/management/JTop/JTop.jar

Creating support/demos/image/management/MemoryMonitor/MemoryMonitor.jar

Creating support/demos/image/management/VerboseGC/VerboseGC.jar

Creating support/demos/image/jvmti/heapTracker/heapTracker.jar

Creating support/demos/image/jvmti/minst/minst.jar

Creating support/demos/image/jvmti/mtrace/mtrace.jar

ld: warning: directory not found for option '-L/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/modules_libs/java.base/server'

ld: warning: directory not found for option '-L/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/modules_libs/java.base/server'

ld: warning: directory not found for option '-L/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/modules_libs/java.base/server'

ld: warning: directory not found for option '-L/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/modules_libs/java.base/server'

ld: warning: directory not found for option '-L/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/modules_libs/java.base/server'

ld: warning: directory not found for option '-L/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/modules_libs/java.base/server'

ld: warning: directory not found for option '-L/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/modules_libs/java.base/server'

ld: warning: directory not found for option '-L/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/modules_libs/java.base/server'

# Running javadoc for images/docs/jdk/api/javadoc/doclet/index.html

# Running javadoc for images/docs/jdk/api/javadoc/old/doclet/index.html

# Running javadoc for images/docs/jdk/api/javadoc/old/taglet/index.html

# Running javadoc for images/docs/jre/api/plugin/dom/index.html

# Running javadoc for images/docs/jdk/api/jpda/jdi/index.html

# Running javadoc for images/docs/jre/api/security/jaas/spec/index.html

# Running javadoc for images/docs/jre/api/security/jgss/spec/index.html

# Running javadoc for images/docs/jre/api/security/smartcardio/spec/index.html

# Running javadoc for images/docs/jre/api/net/httpserver/spec/index.html

# Running javadoc for images/docs/jre/api/plugin/jsobject/index.html

# Running javadoc for images/docs/jre/api/management/extension/index.html

# Running javadoc for images/docs/jdk/api/attach/spec/index.html

# Running javadoc for images/docs/jdk/api/jconsole/spec/index.html

# Running javadoc for images/docs/jdk/api/jshell/index.html

# Running javadoc for images/docs/jdk/api/javac/tree/index.html

# Running javadoc for images/docs/jdk/api/nashorn/index.html

# Running javadoc for images/docs/jdk/api/dynalink/index.html

# Running javadoc for images/docs/jre/api/nio/sctp/spec/index.html

# Running javadoc for images/docs/jre/api/accessibility/jaccess/spec/index.html

# Running javadoc for images/docs/jre/api/net/socketoptions/spec/index.html

# Running javadoc for images/docs/jdk/api/jlink/index.html

Creating libjava.dylib from 61 file(s)

Creating libverify.dylib from 2 file(s)

Creating libfdlibm.dylib from 57 file(s)

Creating libzip.dylib from 5 file(s)

Creating libjimage.dylib from 6 file(s)

Creating libjli.dylib from 8 file(s)

Creating libjli_static.dylib from 8 file(s)

Creating libnet.dylib from 20 file(s)

Creating libosxsecurity.dylib from 1 file(s)

Creating libnio.dylib from 25 file(s)

Creating libJniVersion.dylib from 1 file(s)

Creating libUninitializedStrings.dylib from 1 file(s)

Creating libDefaultMethods.dylib from 1 file(s)

Creating libToStringTest.dylib from 1 file(s)

Creating libGetModule.dylib from 1 file(s)

Creating libSameObject.dylib from 1 file(s)

Creating libNativeSmallIntCalls.dylib from 1 file(s)

Creating libTest15FloatJNIArgs.dylib from 1 file(s)

Creating libCallsNative.dylib from 1 file(s)

Creating libTestDirtyInt.dylib from 1 file(s)

Creating libGetNamedModuleTest.dylib from 1 file(s)

Creating libSimpleClassFileLoadHook.dylib from 1 file(s)

Creating libNativeCallTest.dylib from 1 file(s)

Creating libJvmtiGetAllModulesTest.dylib from 1 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base//libfdlibm.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating appletviewer from 1 file(s)

Creating jimage from 1 file(s)

Creating jlink from 1 file(s)

Creating java from 1 file(s)

Creating jmod from 1 file(s)

Creating keytool from 1 file(s)

Creating jspawnhelper from 1 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating libinstrument.dylib from 12 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating libosx.dylib from 1 file(s)

Creating libosxapp.dylib from 5 file(s)

Creating libmlib_image.dylib from 50 file(s)

Creating libawt.dylib from 71 file(s)

Creating liblcms.dylib from 27 file(s)

Creating libjavajpeg.dylib from 46 file(s)

Creating libfontmanager.dylib from 129 file(s)

Creating libjawt.dylib from 1 file(s)

Creating libawt_lwawt.dylib from 72 file(s)

Creating libsplashscreen.dylib from 70 file(s)

Creating libosxui.dylib from 7 file(s)

Creating libjsound.dylib from 17 file(s)

Creating libmanagement.dylib from 10 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating libprefs.dylib from 1 file(s)

Creating librmi.dylib from 1 file(s)

Creating rmid from 1 file(s)

Creating rmiregistry from 1 file(s)

Creating jrunscript from 1 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating images/jmods/java.se.jmod

Creating libj2gss.dylib from 3 file(s)

Creating libosxkrb5.dylib from 2 file(s)

Creating images/jmods/java.security.sasl.jmod

Creating libj2pcsc.dylib from 2 file(s)

Creating images/jmods/java.sql.jmod

Creating images/jmods/java.sql.rowset.jmod

Creating images/jmods/java.xml.jmod

Creating images/jmods/java.xml.crypto.jmod

Creating libattach.dylib from 1 file(s)

Creating images/jmods/jdk.charsets.jmod

Creating javac from 1 file(s)

Creating javah from 1 file(s)

Creating serialver from 1 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating libsunec.dylib from 28 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating libj2pkcs11.dylib from 14 file(s)

Creating images/jmods/jdk.dynalink.jmod

Creating libsaproc.dylib from 5 file(s)

Creating jhsdb from 1 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating images/jmods/jdk.httpserver.jmod

Creating images/jmods/jdk.internal.opt.jmod

Creating jar from 1 file(s)

Creating jarsigner from 1 file(s)

Creating javadoc from 1 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating jinfo from 1 file(s)

Creating jmap from 1 file(s)

Creating jps from 1 file(s)

Creating jstack from 1 file(s)

Creating jstat from 1 file(s)

Creating jcmd from 1 file(s)

Creating jconsole from 1 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating javap from 1 file(s)

Creating jdeps from 1 file(s)

Creating jdeprscan from 1 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating jdb from 1 file(s)

Creating libdt_socket.dylib from 2 file(s)

Creating libjdwp.dylib from 42 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating jshell from 1 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating images/jmods/jdk.jsobject.jmod

Creating jstatd from 1 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating images/jmods/jdk.jvmstat.jmod

Creating images/jmods/jdk.localedata.jmod

Creating libmanagement_ext.dylib from 8 file(s)

Creating images/jmods/jdk.naming.dns.jmod

Creating images/jmods/jdk.naming.rmi.jmod

Creating libunpack.dylib from 7 file(s)

Creating pack200 from 1 file(s)

Creating unpack200 from 7 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating policytool from 1 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating images/jmods/jdk.scripting.nashorn.jmod

Creating jjs from 1 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating libjaas_unix.dylib from 1 file(s)

Creating images/jmods/jdk.security.jgss.jmod

Creating images/jmods/jdk.unsupported.jmod

Creating images/jmods/jdk.vm.ci.jmod

Creating images/jmods/jdk.xml.dom.jmod

Creating images/jmods/jdk.zipfs.jmod

Creating idlj from 1 file(s)

Creating orbd from 1 file(s)

Creating servertool from 1 file(s)

Creating tnameserv from 1 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating images/jmods/java.se.ee.jmod

Creating images/jmods/java.transaction.jmod

Creating images/jmods/java.xml.bind.jmod

Creating images/jmods/java.xml.ws.jmod

Creating rmic from 1 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating schemagen from 1 file(s)

Creating xjc from 1 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Creating wsgen from 1 file(s)

Creating wsimport from 1 file(s)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

ld: warning: object file (/Volumes/ScottBackup/Java9/jdk9/build/macosx-x86_64-normal-server-release/support/native/java.base/libjli_static.a) was built for newer OSX version (10.11) than being linked (10.7)

Updating images/sec-bin.zip

Creating images/jmods/java.activation.jmod

Creating images/jmods/java.annotations.common.jmod

Creating images/jmods/java.compact1.jmod

Creating images/jmods/java.compact2.jmod

Creating images/jmods/java.compact3.jmod

Creating images/jmods/java.compiler.jmod

Creating images/jmods/java.datatransfer.jmod

Creating images/jmods/java.httpclient.jmod

Creating images/jmods/java.logging.jmod

Creating images/jmods/java.naming.jmod

Creating images/jmods/jdk.jlink.jmod

Creating images/jmods/java.instrument.jmod

Creating images/jmods/java.management.jmod

Creating images/jmods/java.prefs.jmod

Creating images/jmods/java.rmi.jmod

Creating images/jmods/java.scripting.jmod

Creating images/jmods/java.security.jgss.jmod

Creating images/jmods/java.smartcardio.jmod

Creating images/jmods/jdk.attach.jmod

Creating images/jmods/jdk.compiler.jmod

Creating images/jmods/jdk.crypto.ec.jmod

Creating images/jmods/jdk.crypto.pkcs11.jmod

Creating images/jmods/jdk.hotspot.agent.jmod

Creating images/jmods/jdk.internal.le.jmod

Creating images/jmods/jdk.jartool.jmod

Creating images/jmods/jdk.javadoc.jmod

Creating images/jmods/jdk.jcmd.jmod

Creating images/jmods/jdk.jconsole.jmod

Creating images/jmods/jdk.jdeps.jmod

Creating images/jmods/jdk.jdi.jmod

Creating images/jmods/jdk.jdwp.agent.jmod

Creating images/jmods/jdk.jshell.jmod

Creating images/jmods/jdk.jstatd.jmod

Creating images/jmods/jdk.management.jmod

Creating images/jmods/jdk.net.jmod

Creating images/jmods/jdk.pack200.jmod

Creating images/jmods/jdk.policytool.jmod

Creating images/jmods/jdk.scripting.nashorn.shell.jmod

Creating images/jmods/jdk.sctp.jmod

Creating images/jmods/jdk.security.auth.jmod

Creating images/jmods/java.corba.jmod

Creating images/jmods/jdk.rmic.jmod

Creating images/jmods/jdk.xml.bind.jmod

Creating images/jmods/jdk.xml.ws.jmod

Creating images/jmods/java.desktop.jmod

Creating images/jmods/jdk.accessibility.jmod

Creating images/jmods/java.base.jmod

Creating interim jimage

Compiling 3 files for BUILD_JIGSAW_TOOLS

Creating support/classlist.jar

Creating jre jimage

Creating jdk jimage

Stopping sjavac server

Finished building target 'all' in configuration 'macosx-x86_64-normal-server-release'

 

real 11m56.424s

user 18m48.669s

sys 3m39.355s

 

[jdk9 547]$ ./build/macosx-x86_64-normal-server-release/jdk/bin/java -version

openjdk version "9-internal"

OpenJDK Runtime Environment (build 9-internal+0-2016-09-14-155327.starksm.jdk9)

OpenJDK 64-Bit Server VM (build 9-internal+0-2016-09-14-155327.starksm.jdk9, mixed mode)

Filter Blog

By date:
By tag: