> JDK_FILTER should still be working.

Not for me :-
 make JDK_FILTER=java/awt/color

Running make as '/usr/bin/make -s VERBOSE=-s LOG_LEVEL=warn -R -I /home/duke/jdk9-client/make/common -s SPEC=/home/duke/jdk9-client//build/linux-x86_64-normal-server-release/spec.gmk' Building Java(TM) for target 'default' in configuration 'linux-x86_64-normal-server-release'

Compiling 7 files for java.desktop
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/usr/bin/wc: /home/duke/jdk9-client/build/linux-x86_64-normal-server-release/jdk/modules/java.activation/_the.java.activation_batch.tmp: No such file or directory
Compiling files for java.activation
/usr/bin/wc: /home/duke/jdk9-client/build/linux-x86_64-normal-server-release/jdk/modules/jdk.jconsole/_the.jdk.jconsole_batch.tmp: No such file or directory /usr/bin/wc: /home/duke/jdk9-client/build/linux-x86_64-normal-server-release/jdk/modules/java.corba/_the.java.corba_batch.tmp: No such file or directory
Compiling files for java.corba
Compiling files for jdk.jconsole
javac: file not found: /home/duke/jdk9-client/build/linux-x86_64-normal-server-release/jdk/modules/java.activation/_the.java.activation_batch.tmp (No such file or directory) javac: file not found: /home/duke/jdk9-client/build/linux-x86_64-normal-server-release/jdk/modules/java.corba/_the.java.corba_batch.tmp (No such file or directory) make[3]: *** [/home/duke/jdk9-client/build/linux-x86_64-normal-server-release/jdk/modules/java.corba/_the.java.corba_batch] Error 3
make[2]: *** [java.corba-java] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: *** [/home/duke/jdk9-client/build/linux-x86_64-normal-server-release/jdk/modules/java.activation/_the.java.activation_batch] Error 3
make[2]: *** [java.activation-java] Error 2
javac: file not found: /home/duke/jdk9-client/build/linux-x86_64-normal-server-release/jdk/modules/jdk.jconsole/_the.jdk.jconsole_batch.tmp (No such file or directory) make[3]: *** [/home/duke/jdk9-client/build/linux-x86_64-normal-server-release/jdk/modules/jdk.jconsole/_the.jdk.jconsole_batch] Error 3
make[2]: *** [jdk.jconsole-java] Error 2
make[1]: *** [main-wrapper] Error 2
make: *** [default] Error 2

-phil.


On 08/20/2014 02:37 PM, Mandy Chung wrote:

On 8/20/2014 1:26 PM, Phil Race wrote:
I understood we now build individual modules so when
I touched one java source file in the desktop module I expected to see only
that one module rebuilt but I see this :-

java.desktop and all its dependencies are recompiled.   The dependencies
are currently stored in modules.list file

$ grep desktop <top>/make/common/modules.list

Erik's summary of the new targets is a useful reference:
http://mail.openjdk.java.net/pipermail/jdk9-dev/2014-August/001183.html

See also -only, -java, etc suffix to the java.desktop target that may be useful.

JDK_FILTER should still be working.

Mandy


Compiling 2787 files for java.desktop
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Compiling 63 files for jdk.jconsole
Compiling 24 files for java.activation
Compiling 1478 files for java.corba
Compiling 41 files for jdk.runtime
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Compiling 744 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 153 files for java.xml.soap
Compiling 777 files for jdk.xml.bind
.....

and so on.

Is this a bug ?

Also is there any equivalent of "JDK_FILTER=sun/java2d/cmm" so that I can build just the files I know need to be rebuilt ? That seems to trigger a slew of errors for me now.

-phil.




Reply via email to