JDK-7032727 : jarreorder warnings in build ( from jar reorder exclusion list )
  • Type: Bug
  • Component: performance
  • Sub-Component: libraries
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2011-03-31
  • Updated: 2015-03-13
  • Resolved: 2015-03-13
Related Reports
Relates :  
Relates :  
Description
There are classes/dirs in the jar reorder exclusion list (named: not_rt_jar.list) that no longer exist.  These are causing warnings during the build.  The list of missing classes is different for each platform (Solaris, Linux, Windows).  Here's an example of the messages from the Solaris platform:

(cd  /HUDSON/workspace/jdk7-2-build-solaris-i586-product/jdk7/build/solaris-i586/../solaris-i586-fastdebug/classes && \
	    /localtools/solaris-i586/jdk1.6.0_14/bin/java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -client -Xmx896m -Xms128m -XX:PermSize=32m -XX:MaxPermSize=160m -jar /HUDSON/workspace/jdk7-2-build-solaris-i586-product/jdk7/build/solaris-i586/../solaris-i586-fastdebug/btjars/jarreorder.jar \
		-o  /HUDSON/workspace/jdk7-2-build-solaris-i586-product/jdk7/build/solaris-i586/../solaris-i586-fastdebug/tmp/reorder/file_list.temp /HUDSON/workspace/jdk7-2-build-solaris-i586-product/jdk7/build/solaris-i586/../solaris-i586-fastdebug/lib/classlist /HUDSON/workspace/jdk7-2-build-solaris-i586-product/jdk7/build/solaris-i586/../solaris-i586-fastdebug/tmp/not_rt_jar.list . )

WARNING: Path does not exist as file or directory: META-INF/services/com.sun.tools.xjc.Plugin
WARNING: Path does not exist as file or directory: com/sun/crypto/provider

Comments
This list has expanded quite a bit. WARNING: Path does not exist as file or directory: javax\swing\RepaintManager$1$1.class^M WARNING: Path does not exist as file or directory: javax\swing\text\AbstractDocument$InsertStringResult.class^M WARNING: Path does not exist as file or directory: sun\swing\SwingLazyValue.class^M WARNING: Path does not exist as file or directory: sun\swing\SwingLazyValue$1.class^M WARNING: Path does not exist as file or directory: sun\swing\SwingUtilities2$2.class^M WARNING: Path does not exist as file or directory: com\sun\crypto\provider^M WARNING: Path does not exist as file or directory: javax\crypto^M WARNING: Path does not exist as file or directory: sun\awt\motif\X11GB2312.class^M WARNING: Path does not exist as file or directory: sun\awt\motif\X11GB2312$Decoder.class^M WARNING: Path does not exist as file or directory: sun\awt\motif\X11GB2312$Encoder.class^M WARNING: Path does not exist as file or directory: sun\awt\motif\X11GBK.class^M WARNING: Path does not exist as file or directory: sun\awt\motif\X11GBK$Encoder.class^M WARNING: Path does not exist as file or directory: sun\awt\motif\X11KSC5601.class^M WARNING: Path does not exist as file or directory: sun\awt\motif\X11KSC5601$Decoder.class^M WARNING: Path does not exist as file or directory: sun\awt\motif\X11KSC5601$Encoder.class^M WARNING: Path does not exist as file or directory: sun\security\ec^M WARNING: Path does not exist as file or directory: sun\security\internal^M WARNING: Path does not exist as file or directory: sun\security\mscapi^M WARNING: Path does not exist as file or directory: sun\security\pkcs11^M I believe these entries can be removed as they end up in a separate JCE build directory: BIN := $(JDK_OUTPUTDIR)/classes_security, com\sun\crypto\provider sun\security\ec sun\security\internal sun\security\mscapi sun\security\pkcs11 I notice that ucrypto isn't in the list also, so it's probably ok. As these are all stored the sunjce_provider.jar, sunec.jar, sunmscapi.jar, sunpkcs11.jar, etc.
04-04-2014

EVALUATION The exclusion list file, not_rt_jar.list, is created during the build from the makefile, ./jdk/make/common/Release.gmk Simply removing the mentioned classes/dirs from the Makefile would quiet the warnings. However, the list of classes/dirs may be used for a second purpose. Need to verify that before deciding what to do. If needed, the classlist files can be found in: ./jdk/make/tools/sharing/ *** (#1 of 1): [ UNSAVED ] ###@###.###
31-03-2011