From michael.wilkerson at sun.com Wed Apr 7 23:44:09 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Wed, 07 Apr 2010 23:44:09 +0000 Subject: hg: jdk7/build/hotspot: 22 new changesets Message-ID: <20100407234522.F321B44447@hg.openjdk.java.net> Changeset: 2a1472c30599 Author: jcoomes Date: 2010-03-03 14:48 -0800 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/2a1472c30599 4396719: Mark Sweep stack overflow on deeply nested Object arrays Summary: Use an explicit stack for object arrays and process them in chunks. Reviewed-by: iveresov, apetrusenko ! src/share/vm/gc_implementation/g1/concurrentMark.hpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp ! src/share/vm/gc_implementation/g1/g1MarkSweep.cpp ! src/share/vm/gc_implementation/includeDB_gc_parallelScavenge ! src/share/vm/gc_implementation/parallelScavenge/pcTasks.cpp ! src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.cpp ! src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.hpp + src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.inline.hpp ! src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp ! src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp ! src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.hpp ! src/share/vm/gc_implementation/shared/markSweep.cpp ! src/share/vm/gc_implementation/shared/markSweep.hpp ! src/share/vm/gc_implementation/shared/markSweep.inline.hpp ! src/share/vm/includeDB_core ! src/share/vm/includeDB_gc_parallel ! src/share/vm/memory/genMarkSweep.cpp ! src/share/vm/memory/genOopClosures.hpp ! src/share/vm/oops/objArrayKlass.cpp ! src/share/vm/oops/objArrayKlass.hpp + src/share/vm/oops/objArrayKlass.inline.hpp ! src/share/vm/runtime/arguments.cpp ! src/share/vm/runtime/globals.hpp ! src/share/vm/utilities/globalDefinitions.hpp ! src/share/vm/utilities/taskqueue.cpp ! src/share/vm/utilities/taskqueue.hpp Changeset: 94946bdf36bd Author: apetrusenko Date: 2010-03-15 02:56 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/94946bdf36bd Merge Changeset: 664ae0c5e0e5 Author: johnc Date: 2010-03-11 11:44 -0800 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/664ae0c5e0e5 6755988: G1: assert(new_obj != 0 || ... "should be forwarded") Summary: A TLAB became large enough to be considered a humongous object allowing multiple objects to be allocated in a humongous region, which violates a basic assumption about humongous regions. The changes ensure that TLABs cannot be regarded as humongous. Reviewed-by: iveresov, tonyp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp Changeset: 3f0549ed0c98 Author: apetrusenko Date: 2010-03-18 01:48 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/3f0549ed0c98 6921710: G1: assert(new_finger >= _finger && new_finger < _region_limit,"invariant") Summary: If CM task was aborted while scanning the last object of the specified region and the size of that object is equal to bitmap's granularity then the next offset would be equal or over the region limit which is exactly what the assertion states. Reviewed-by: ysr, tonyp, jmasa ! src/share/vm/gc_implementation/g1/concurrentMark.cpp Changeset: c385bf94cfb8 Author: jcoomes Date: 2010-03-18 13:31 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/c385bf94cfb8 6935839: excessive marking stack growth during full gcs Summary: process one item at a time from the objarray stack/queue Reviewed-by: apetrusenko, tonyp ! src/share/vm/gc_implementation/parallelScavenge/psCompactionManager.cpp ! src/share/vm/gc_implementation/shared/markSweep.cpp Changeset: cc98cc548f51 Author: apetrusenko Date: 2010-03-22 02:40 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/cc98cc548f51 Merge ! src/share/vm/includeDB_core ! src/share/vm/runtime/arguments.cpp Changeset: d4197f8d516a Author: tonyp Date: 2010-03-18 12:14 -0400 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/d4197f8d516a 6935821: G1: threads created during marking do not active their SATB queues Summary: Newly-created threads always had the active field of their SATB queue initialized to false, even if they were created during marking. As a result, updates from threads created during a marking cycle were never enqueued and never processed. The fix includes remaining a method from active() to is_active() for readability and naming consistency. Reviewed-by: ysr, johnc ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.cpp ! src/share/vm/gc_implementation/g1/ptrQueue.cpp ! src/share/vm/gc_implementation/g1/ptrQueue.hpp ! src/share/vm/gc_implementation/g1/satbQueue.cpp ! src/share/vm/gc_implementation/g1/satbQueue.hpp Changeset: 5c9df1575c39 Author: trims Date: 2010-04-01 16:10 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/5c9df1575c39 Merge Changeset: 096b18156d91 Author: trims Date: 2010-04-01 16:15 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/096b18156d91 6940419: Bump the HS18 build number to 02 Summary: Update the HS18 build number to 02 Reviewed-by: jcoomes ! make/hotspot_version Changeset: 3b3d12e645e7 Author: coleenp Date: 2010-03-12 10:42 -0500 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/3b3d12e645e7 6929067: Stack guard pages should be removed when thread is detached Summary: Add code to unmap stack guard area when thread is detached. Reviewed-by: coleenp, kamg ! src/os/linux/vm/os_linux.cpp ! src/os/solaris/vm/os_solaris.cpp ! src/os/windows/vm/os_windows.cpp ! src/share/vm/runtime/os.hpp ! src/share/vm/runtime/thread.cpp + test/runtime/6929067/T.java + test/runtime/6929067/Test6929067.sh + test/runtime/6929067/invoke.c Changeset: 0f6600cee529 Author: xlu Date: 2010-03-13 16:32 -0800 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/0f6600cee529 6934758: Expose the break down of clean up task time during safepoint. Summary: Use -XX:+TraceSafepointCleanupTime to print out the details of each clean up tasks. Reviewed-by: dholmes, ysr ! src/share/vm/runtime/globals.hpp ! src/share/vm/runtime/safepoint.cpp Changeset: 21141e23627a Author: dcubed Date: 2010-03-16 17:47 -0600 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/21141e23627a 6923488: 4/4 need minor tweaks to HotSpot build for Cygwin Summary: Clean up get_msc_ver, build.bat and build.make in general and for Cygwin. Reviewed-by: ohair ! make/windows/build.bat ! make/windows/build.make ! make/windows/get_msc_ver.sh Changeset: cd20a6f46fec Author: dcubed Date: 2010-03-16 20:47 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/cd20a6f46fec Merge Changeset: e392695de029 Author: fparain Date: 2010-03-17 11:01 +0100 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/e392695de029 6935224: Adding new DTrace probes to work with Palantir Summary: Adding probes related to thread scheduling and class initialization Reviewed-by: kamg, never ! src/os/solaris/dtrace/hotspot.d ! src/os/solaris/vm/attachListener_solaris.cpp ! src/share/vm/includeDB_core ! src/share/vm/oops/instanceKlass.cpp ! src/share/vm/prims/jvm.cpp ! src/share/vm/prims/unsafe.cpp ! src/share/vm/runtime/vmThread.cpp ! src/share/vm/services/dtraceAttacher.cpp ! src/share/vm/services/dtraceAttacher.hpp Changeset: 98ba8ca25feb Author: coleenp Date: 2010-03-18 16:47 -0400 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/98ba8ca25feb 6936168: Recent fix for unmapping stack guard pages doesn't close /proc/self/maps Summary: Add close to returns (fix for 6929067 also contributed by aph) Reviewed-by: aph, dcubed, andrew, acorn Contributed-by: aph at redhat.com, andreas.kohn at fredhopper.com ! src/os/linux/vm/os_linux.cpp Changeset: 4f7af0dc447b Author: dcubed Date: 2010-03-23 14:37 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/4f7af0dc447b 6915365: 3/4 assert(false,"Unsupported VMGlobal Type") at management.cpp:1540 Summary: Remove assert to decouple JDK and HotSpot additions of known types. Reviewed-by: mchung ! src/share/vm/services/management.cpp Changeset: 5d393243d487 Author: dcubed Date: 2010-03-23 17:29 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/5d393243d487 Merge Changeset: 39e409a664b3 Author: dcubed Date: 2010-03-25 16:27 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/39e409a664b3 6938185: 3/4 6923488 breaks Windows command shell builds Summary: Fix build.bat so invoking command shell doesn't exit on error. Fix dirname assumptions. Document some MKS environment dependencies. Reviewed-by: coleenp ! make/windows/build.bat ! make/windows/build.make ! make/windows/create.bat ! make/windows/get_msc_ver.sh Changeset: 84043c7507b9 Author: dcubed Date: 2010-03-25 16:54 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/84043c7507b9 Merge Changeset: 4a9cc99938e3 Author: acorn Date: 2010-03-26 11:10 -0400 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/4a9cc99938e3 Merge ! src/cpu/x86/vm/methodHandles_x86.cpp ! src/share/vm/includeDB_core ! src/share/vm/runtime/globals.hpp Changeset: 7c358fbb6a84 Author: acorn Date: 2010-04-01 11:23 -0400 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/7c358fbb6a84 Merge Changeset: 4b60f23c4223 Author: acorn Date: 2010-04-01 20:48 -0400 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/4b60f23c4223 Merge From kelly.ohair at sun.com Fri Apr 9 17:17:46 2010 From: kelly.ohair at sun.com (kelly.ohair at sun.com) Date: Fri, 09 Apr 2010 17:17:46 +0000 Subject: hg: jdk7/build: Added tag jdk7-b88 for changeset 82135c848d5f Message-ID: <20100409171747.4C0AE444B6@hg.openjdk.java.net> Changeset: 9d9097eb4b5a Author: mikejwre Date: 2010-04-08 17:02 -0700 URL: http://hg.openjdk.java.net/jdk7/build/rev/9d9097eb4b5a Added tag jdk7-b88 for changeset 82135c848d5f ! .hgtags From kelly.ohair at sun.com Fri Apr 9 17:17:55 2010 From: kelly.ohair at sun.com (kelly.ohair at sun.com) Date: Fri, 09 Apr 2010 17:17:55 +0000 Subject: hg: jdk7/build/corba: Added tag jdk7-b88 for changeset 39e14d2da687 Message-ID: <20100409171759.6E41F444B7@hg.openjdk.java.net> Changeset: bb4424c5e778 Author: mikejwre Date: 2010-04-08 17:02 -0700 URL: http://hg.openjdk.java.net/jdk7/build/corba/rev/bb4424c5e778 Added tag jdk7-b88 for changeset 39e14d2da687 ! .hgtags From kelly.ohair at sun.com Fri Apr 9 17:19:57 2010 From: kelly.ohair at sun.com (kelly.ohair at sun.com) Date: Fri, 09 Apr 2010 17:19:57 +0000 Subject: hg: jdk7/build/hotspot: Added tag jdk7-b88 for changeset 4b60f23c4223 Message-ID: <20100409172017.541CF444B8@hg.openjdk.java.net> Changeset: 3f12a94552cc Author: mikejwre Date: 2010-04-08 17:02 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/3f12a94552cc Added tag jdk7-b88 for changeset 4b60f23c4223 ! .hgtags From kelly.ohair at sun.com Fri Apr 9 17:25:17 2010 From: kelly.ohair at sun.com (kelly.ohair at sun.com) Date: Fri, 09 Apr 2010 17:25:17 +0000 Subject: hg: jdk7/build/jaxp: Added tag jdk7-b88 for changeset d8ebd1591003 Message-ID: <20100409172518.5527E444B9@hg.openjdk.java.net> Changeset: d2818fd2b036 Author: mikejwre Date: 2010-04-08 17:02 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jaxp/rev/d2818fd2b036 Added tag jdk7-b88 for changeset d8ebd1591003 ! .hgtags From kelly.ohair at sun.com Fri Apr 9 17:25:25 2010 From: kelly.ohair at sun.com (kelly.ohair at sun.com) Date: Fri, 09 Apr 2010 17:25:25 +0000 Subject: hg: jdk7/build/jaxws: Added tag jdk7-b88 for changeset 8c666f8f3565 Message-ID: <20100409172526.0C6C3444BA@hg.openjdk.java.net> Changeset: bf3675aa7f20 Author: mikejwre Date: 2010-04-08 17:02 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jaxws/rev/bf3675aa7f20 Added tag jdk7-b88 for changeset 8c666f8f3565 ! .hgtags From kelly.ohair at sun.com Fri Apr 9 17:25:39 2010 From: kelly.ohair at sun.com (kelly.ohair at sun.com) Date: Fri, 09 Apr 2010 17:25:39 +0000 Subject: hg: jdk7/build/jdk: Added tag jdk7-b88 for changeset b3c69282f6d3 Message-ID: <20100409172636.080FC444BB@hg.openjdk.java.net> Changeset: b50cfd4479fa Author: mikejwre Date: 2010-04-08 17:02 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/b50cfd4479fa Added tag jdk7-b88 for changeset b3c69282f6d3 ! .hgtags From kelly.ohair at sun.com Fri Apr 9 17:30:21 2010 From: kelly.ohair at sun.com (kelly.ohair at sun.com) Date: Fri, 09 Apr 2010 17:30:21 +0000 Subject: hg: jdk7/build/langtools: Added tag jdk7-b88 for changeset f9b5d4867a26 Message-ID: <20100409173030.5547A444BC@hg.openjdk.java.net> Changeset: 737185f3300f Author: mikejwre Date: 2010-04-08 17:03 -0700 URL: http://hg.openjdk.java.net/jdk7/build/langtools/rev/737185f3300f Added tag jdk7-b88 for changeset f9b5d4867a26 ! .hgtags From andreas.kohn at fredhopper.com Sun Apr 11 17:48:06 2010 From: andreas.kohn at fredhopper.com (Andreas Kohn) Date: Sun, 11 Apr 2010 19:48:06 +0200 Subject: Building OpenJDK with SunStudio 12u1 on OpenSolaris snv_134 Message-ID: <1271008086.14634.9.camel@xentros> Hi, I tried building the latest openjdk forest on opensolaris with the SunStudio 12u1 (from packages), and it failed for both i586 and amd64 builds with an assertion error. Switching to an installation of SunStudio 12 worked without problems. [...] CC -DSOLARIS -DSPARC_WORKS -DAMD64 -DPRODUCT -xF -I../generated/adfiles -I../generated/jvmtifiles -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/asm -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/ci -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/classfile -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/code -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/compiler -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/gc_implementation -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/gc_implementation/parNew -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/gc_implementation/shared -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/gc_implementation/g1 -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/gc_interface -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/interpreter -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/libadt -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/memory -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/oops -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/opto -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/prims -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/runtime -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/services -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/utilities -I/export/home/andreas/jdk7/jdk7/hotspot/src/cpu/x86/vm -I/export/home/andreas/jdk7/jdk7/hotspot/src/os/solaris/vm -I/export/home/andreas/jdk7/jdk7/hotspot/src/os_cpu/solaris_x86/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"18.0-b02\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"andreas\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DJRE_RELEASE_VERSION="\"1.7.0-internal-andreas_2010_04_11_18_54-b00\"" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DCOMPILER2 -DSOLARIS_7_OR_LATER -m64 -m64 /export/home/andreas/jdk7/jdk7/hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_64.il -template=no%extdef -features=no%split_init -D_Crun_inline_placement -library=%none -KPIC -mt -xO4 -DVM_LITTLE_ENDIAN -features=no%except -DHAVE_DTRACE_H -DDTRACE_ENABLED -c -o accessFlags.o /export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/utilities/accessFlags.cpp assertion failed in function cfg_coalesce_lf_blocks() @ cfg.c:4520 assert(nd_equal_(lab, lf_opnd1_(x_last_lf))) I attached the full build log and sanity messages, here are the versions used: SunOS xentros 5.11 snv_134 i86pc i386 i86pc Solaris cc: Sun C 5.10 SunOS_i386 2009/06/03 CC: Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21 Is this failure known? The error is reproducibly happening, always for accessFlags.cpp. Regards, -- Andreas -------------- next part -------------- A non-text attachment was scrubbed... Name: typescript.gz Type: application/x-gzip Size: 35854 bytes Desc: not available URL: -------------- next part -------------- Build Machine Information: build machine = xentros Build Directory Structure: CWD = /export/home/andreas/jdk7/jdk7 TOPDIR = . CONTROL_TOPDIR = . LANGTOOLS_TOPDIR = ./langtools JAXP_TOPDIR = ./jaxp JAXWS_TOPDIR = ./jaxws CORBA_TOPDIR = ./corba HOTSPOT_TOPDIR = ./hotspot JDK_TOPDIR = ./jdk Build Directives: BUILD_LANGTOOLS = true BUILD_JAXP = true BUILD_JAXWS = true BUILD_CORBA = true BUILD_HOTSPOT = true BUILD_JDK = true DEBUG_CLASSFILES = DEBUG_BINARIES = Hotspot Settings: HOTSPOT_BUILD_JOBS = HOTSPOT_OUTPUTDIR = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/hotspot/outputdir HOTSPOT_EXPORT_PATH = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/hotspot/import Bootstrap Settings: BOOTDIR = /usr/jdk/latest ALT_BOOTDIR = /usr/jdk/latest BOOT_VER = 1.7.0 [requires at least 1.5] OUTPUTDIR = /export/home/andreas/jdk7/jdk7/build/solaris-amd64 ALT_OUTPUTDIR = /export/home/andreas/jdk7/jdk7/build/solaris-amd64 ABS_OUTPUTDIR = /export/home/andreas/jdk7/jdk7/build/solaris-amd64 Build Tool Settings: SLASH_JAVA = /NOT-SET ALT_SLASH_JAVA = VARIANT = OPT JDK_DEVTOOLS_DIR = /NOT-SET/devtools ALT_JDK_DEVTOOLS_DIR = ANT_HOME = /export/home/andreas/modules/apache-ant-1.8.0 UNIXCOMMAND_PATH = /usr/bin/ ALT_UNIXCOMMAND_PATH = COMPILER_PATH = /opt/sunstudio12.1/bin/ ALT_COMPILER_PATH = /opt/sunstudio12.1/bin DEVTOOLS_PATH = /usr/bin/ ALT_DEVTOOLS_PATH = UNIXCCS_PATH = /usr/ccs/bin/ ALT_UNIXCCS_PATH = COMPILER_NAME = Sun Studio 13 COMPILER_VERSION = SS13 CC_VER = 5.10 [requires at least 5.9] ZIP_VER = 2.32 [requires at least 2.2] UNZIP_VER = 5.53 [requires at least 5.12] ANT_VER = 1.8.0 [requires at least 1.6.3] TEMPDIR = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/tmp Build Directives: OPENJDK = true USE_HOTSPOT_INTERPRETER_MODE = PEDANTIC = DEV_ONLY = true NO_DOCS = NO_IMAGES = TOOLS_ONLY = INSANE = COMPILE_APPROACH = parallel PARALLEL_COMPILE_JOBS = 2 ALT_PARALLEL_COMPILE_JOBS = FASTDEBUG = COMPILER_WARNINGS_FATAL = false COMPILER_WARNING_LEVEL = INCREMENTAL_BUILD = false CC_HIGHEST_OPT = CC_HIGHER_OPT = CC_LOWER_OPT = CXXFLAGS = -xO2 -errtags=yes +w -mt -features=no%except -DCC_NOEX -norunpath -xnolib -xarch=amd64 -KPIC CFLAGS = -xO2 -L/export/home/andreas/jdk7/jdk7/build/solaris-amd64/tmp/obj64 -xc99=%none -xCC -errshort=tags -Xa -v -mt -W0,-noglobal -xarch=amd64 -erroff=E_BAD_PRAGMA_PACK_VALUE -KPIC BOOT_JAVA_CMD = /usr/jdk/latest/bin/java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -client -Xmx896m -Xms128m -XX:PermSize=32m -XX:MaxPermSize=160m BOOT_JAVAC_CMD = /usr/jdk/latest/bin/javac -J-XX:ThreadStackSize=1536 -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-client -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -encoding ascii -source 6 -target 6 -XDignore.symbol.file=true BOOT_JAR_CMD = /usr/jdk/latest/bin/jar BOOT_JARSIGNER_CMD = /usr/jdk/latest/bin/jarsigner JAVAC_CMD = /usr/jdk/latest/bin/javac -J-XX:ThreadStackSize=1536 -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-client -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -source 7 -target 7 -encoding ascii -Xbootclasspath:/export/home/andreas/jdk7/jdk7/build/solaris-amd64/classes JAVAH_CMD = /usr/jdk/latest/bin/javah -bootclasspath /export/home/andreas/jdk7/jdk7/build/solaris-amd64/classes JAVADOC_CMD = /usr/jdk/latest/bin/javadoc -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-client -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -bootclasspath /export/home/andreas/jdk7/jdk7/build/solaris-amd64/classes Build Platform Settings: USER = andreas PLATFORM = solaris ARCH = amd64 LIBARCH = amd64 ARCH_FAMILY = i586 ARCH_DATA_MODEL = 64 ARCHPROP = amd64 OS_VERSION = 5.11 [requires at least 5.10] OS_VARIANT_NAME = OpenSolaris OS_VARIANT_VERSION = 5.11 TEMP_FREE_SPACE = 2594756 FREE_SPACE = 19363982 MB_OF_MEMORY = 3063 GNU Make Settings: MAKE = make MAKE_VER = 3.81 [requires at least 3.78] MAKECMDGOALS = sanity MAKEFLAGS = w SHELL = /bin/sh Target Build Versions: JDK_VERSION = 1.7.0 MILESTONE = internal RELEASE = 1.7.0-internal FULL_VERSION = 1.7.0-internal-andreas_2010_04_11_18_54-b00 BUILD_NUMBER = b00 External File/Binary Locations: USRJDKINSTANCES_PATH = /usr/jdk/instances BUILD_JDK_IMPORT_PATH = /NOT-SET/re/jdk/1.7.0/promoted/latest/binaries ALT_BUILD_JDK_IMPORT_PATH = JDK_IMPORT_PATH = /usr/jdk/latest ALT_JDK_IMPORT_PATH = /usr/jdk/latest LANGTOOLS_DIST = ALT_LANGTOOLS_DIST = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/langtools/dist CORBA_DIST = ALT_CORBA_DIST = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/corba/dist JAXP_DIST = ALT_JAXP_DIST = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/jaxp/dist JAXWS_DIST = ALT_JAXWS_DIST = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/jaxws/dist HOTSPOT_DOCS_IMPORT_PATH = /NO_DOCS_DIR ALT_HOTSPOT_DOCS_IMPORT_PATH = HOTSPOT_IMPORT_PATH = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/hotspot/import ALT_HOTSPOT_IMPORT_PATH = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/hotspot/import HOTSPOT_SERVER_PATH = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/hotspot/import/jre/lib/amd64/server ALT_HOTSPOT_SERVER_PATH = CACERTS_FILE = /usr/jdk/latest/jre/lib/security/cacerts ALT_CACERTS_FILE = /usr/jdk/latest/jre/lib/security/cacerts CUPS_HEADERS_PATH = /usr/include ALT_CUPS_HEADERS_PATH = /usr/include OpenJDK-specific settings: FREETYPE_HEADERS_PATH = /usr/include/freetype2 ALT_FREETYPE_HEADERS_PATH = /usr/include/freetype2 FREETYPE_LIB_PATH = /usr/lib ALT_FREETYPE_LIB_PATH = OPENJDK Import Binary Plug Settings: IMPORT_BINARY_PLUGS = true BINARY_PLUGS_JARFILE = /export/home/andreas/jdk7/openjdk-binary-plugs//jre/lib/rt-closed.jar ALT_BINARY_PLUGS_JARFILE = BINARY_PLUGS_PATH = /export/home/andreas/jdk7/openjdk-binary-plugs/ ALT_BINARY_PLUGS_PATH = /export/home/andreas/jdk7/openjdk-binary-plugs/ BUILD_BINARY_PLUGS_PATH = /NOT-SET/re/jdk/1.7.0/promoted/latest/openjdk/binaryplugs ALT_BUILD_BINARY_PLUGS_PATH = PLUG_LIBRARY_NAMES = Previous JDK Settings: PREVIOUS_RELEASE_PATH = USING-PREVIOUS_RELEASE_IMAGE ALT_PREVIOUS_RELEASE_PATH = PREVIOUS_JDK_VERSION = 1.6.0 ALT_PREVIOUS_JDK_VERSION = PREVIOUS_JDK_FILE = ALT_PREVIOUS_JDK_FILE = PREVIOUS_JRE_FILE = ALT_PREVIOUS_JRE_FILE = PREVIOUS_RELEASE_IMAGE = /usr/jdk/latest ALT_PREVIOUS_RELEASE_IMAGE = Hotspot Settings: HOTSPOT_BUILD_JOBS = HOTSPOT_OUTPUTDIR = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/hotspot/outputdir HOTSPOT_EXPORT_PATH = /export/home/andreas/jdk7/jdk7/build/solaris-amd64/hotspot/import From Joe.Darcy at Sun.COM Thu Apr 8 19:40:22 2010 From: Joe.Darcy at Sun.COM (Joe Darcy) Date: Thu, 08 Apr 2010 12:40:22 -0700 Subject: Question on how to properly find all the sources going into a JDK Message-ID: <4BBE3126.90600@sun.com> Hello. From time to time, I want to run an annotation processor over all the Java sources going into the JDK. Annotation processors as compiler plug-ins can be used to check various structural properties of the code. For example, an annotation processor could be used to find potential methods to be converted to use var-args. The goal is to ideally have a single command like javac -proc:only -processor MyProcessor $OTHER_OPTIONS `Long list of files` and I wanted to verify the proper way to get the long list of files. From the root of a JDK 7 forest with a build directory, does find corba/src \ jaxp/drop/jaxp_src \ jaxws/drop/jaxws_src \ langools/src \ jdk/src/share jdk/src/$OS \ $BUILDDIR/$PLATFORM/gensrc \ -name "*.java" cover all the files of interest? (It is technically possible, but less convenient, to run such annotation processors over the class files in rt.jar and tools.jar.) Thanks, -Joe From kelly.ohair at oracle.com Mon Apr 12 16:58:11 2010 From: kelly.ohair at oracle.com (Kelly O'Hair) Date: Mon, 12 Apr 2010 09:58:11 -0700 Subject: Building OpenJDK with SunStudio 12u1 on OpenSolaris snv_134 In-Reply-To: <1271008086.14634.9.camel@xentros> References: <1271008086.14634.9.camel@xentros> Message-ID: <73D2C17D-DC2C-4E14-8065-2D8B7144253E@oracle.com> You need some of the Sun Studio compiler patches made to 12u1 to build hotspot. I'm not exactly sure what that list is yet. I'll CC John, he may know that list. -kto On Apr 11, 2010, at 10:48 AM, Andreas Kohn wrote: > Hi, > > I tried building the latest openjdk forest on opensolaris with the > SunStudio 12u1 (from packages), and it failed for both i586 and amd64 > builds with an assertion error. > Switching to an installation of SunStudio 12 worked without problems. > > [...] > CC -DSOLARIS -DSPARC_WORKS -DAMD64 -DPRODUCT -xF -I../generated/ > adfiles > -I../generated/jvmtifiles > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/asm > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/ci > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/classfile > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/code > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/compiler > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/ > gc_implementation > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/ > gc_implementation/parNew -I/export/home/andreas/jdk7/jdk7/hotspot/ > src/share/vm/gc_implementation/concurrentMarkSweep -I/export/home/ > andreas/jdk7/jdk7/hotspot/src/share/vm/gc_implementation/ > parallelScavenge -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/ > vm/gc_implementation/shared -I/export/home/andreas/jdk7/jdk7/hotspot/ > src/share/vm/gc_implementation/g1 -I/export/home/andreas/jdk7/jdk7/ > hotspot/src/share/vm/gc_interface -I/export/home/andreas/jdk7/jdk7/ > hotspot/src/share/vm/interpreter -I/export/home/andreas/jdk7/jdk7/ > hotspot/src/share/vm/libadt -I/export/home/andreas/jdk7/jdk7/hotspot/ > src/share/vm/memory -I/export/home/andreas/jdk7/jdk7/hotspot/src/ > share/vm/oops -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/ > opto -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/prims -I/ > export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/runtime -I/export/ > home/andreas/jdk7/jdk7/hotspot/src/share/vm/services -I/export/home/ > andreas/jdk7/jdk7/hotspot/src/share/vm/utilities -I/export/home/ > andreas/jdk7/jdk7/hotspot/src/cpu/x86/vm -I/export/home/andreas/jdk7/ > jdk7/hotspot/src/os/solaris/vm -I/export/home/andreas/jdk7/jdk7/ > hotspot/src/os_cpu/solaris_x86/vm -I../generated - > DHOTSPOT_RELEASE_VERSION="\"18.0-b02\"" - > DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"andreas > \"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DJRE_RELEASE_VERSION="\"1.7.0- > internal-andreas_2010_04_11_18_54-b00\"" - > DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DCOMPILER2 -DSOLARIS_7_OR_LATER - > m64 -m64 /export/home/andreas/jdk7/jdk7/hotspot/src/os_cpu/ > solaris_x86/vm/solaris_x86_64.il -template=no%extdef -features=no > %split_init -D_Crun_inline_placement -library=%none -KPIC -mt -xO4 > -DVM_LITTLE_ENDIAN -features=no%except -DHAVE_DTRACE_H - > DDTRACE_ENABLED -c -o accessFlags.o /export/home/andreas/jdk7/jdk7/ > hotspot/src/share/vm/utilities/accessFlags.cpp > > assertion failed in function cfg_coalesce_lf_blocks() @ cfg.c:4520 > assert(nd_equal_(lab, lf_opnd1_(x_last_lf))) > > > > I attached the full build log and sanity messages, here are the > versions > used: > > SunOS xentros 5.11 snv_134 i86pc i386 i86pc Solaris > cc: Sun C 5.10 SunOS_i386 2009/06/03 > CC: Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21 > > Is this failure known? The error is reproducibly happening, always for > accessFlags.cpp. > > > Regards, > -- > Andreas > From andreas.kohn at fredhopper.com Wed Apr 14 19:46:48 2010 From: andreas.kohn at fredhopper.com (Andreas Kohn) Date: Wed, 14 Apr 2010 21:46:48 +0200 Subject: Building OpenJDK with SunStudio 12u1 on OpenSolaris snv_134 In-Reply-To: <73D2C17D-DC2C-4E14-8065-2D8B7144253E@oracle.com> References: <1271008086.14634.9.camel@xentros> <73D2C17D-DC2C-4E14-8065-2D8B7144253E@oracle.com> Message-ID: <1271274408.8664.2.camel@tiamaria.ams.fredhopper.com> On Mon, 2010-04-12 at 09:58 -0700, Kelly O'Hair wrote: > You need some of the Sun Studio compiler patches made to 12u1 to build > hotspot. Ah, ok. I'll stick to SS12 then. > I'm not exactly sure what that list is yet. I'll CC John, he may know > that list. Thanks, -- Andreas > > -kto > > On Apr 11, 2010, at 10:48 AM, Andreas Kohn wrote: > > > Hi, > > > > I tried building the latest openjdk forest on opensolaris with the > > SunStudio 12u1 (from packages), and it failed for both i586 and amd64 > > builds with an assertion error. > > Switching to an installation of SunStudio 12 worked without problems. > > > > [...] > > CC -DSOLARIS -DSPARC_WORKS -DAMD64 -DPRODUCT -xF -I../generated/ > > adfiles > > -I../generated/jvmtifiles > > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/asm > > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/ci > > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/classfile > > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/code > > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/compiler > > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/ > > gc_implementation > > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/ > > gc_implementation/parNew -I/export/home/andreas/jdk7/jdk7/hotspot/ > > src/share/vm/gc_implementation/concurrentMarkSweep -I/export/home/ > > andreas/jdk7/jdk7/hotspot/src/share/vm/gc_implementation/ > > parallelScavenge -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/ > > vm/gc_implementation/shared -I/export/home/andreas/jdk7/jdk7/hotspot/ > > src/share/vm/gc_implementation/g1 -I/export/home/andreas/jdk7/jdk7/ > > hotspot/src/share/vm/gc_interface -I/export/home/andreas/jdk7/jdk7/ > > hotspot/src/share/vm/interpreter -I/export/home/andreas/jdk7/jdk7/ > > hotspot/src/share/vm/libadt -I/export/home/andreas/jdk7/jdk7/hotspot/ > > src/share/vm/memory -I/export/home/andreas/jdk7/jdk7/hotspot/src/ > > share/vm/oops -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/ > > opto -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/prims -I/ > > export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/runtime -I/export/ > > home/andreas/jdk7/jdk7/hotspot/src/share/vm/services -I/export/home/ > > andreas/jdk7/jdk7/hotspot/src/share/vm/utilities -I/export/home/ > > andreas/jdk7/jdk7/hotspot/src/cpu/x86/vm -I/export/home/andreas/jdk7/ > > jdk7/hotspot/src/os/solaris/vm -I/export/home/andreas/jdk7/jdk7/ > > hotspot/src/os_cpu/solaris_x86/vm -I../generated - > > DHOTSPOT_RELEASE_VERSION="\"18.0-b02\"" - > > DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"andreas > > \"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DJRE_RELEASE_VERSION="\"1.7.0- > > internal-andreas_2010_04_11_18_54-b00\"" - > > DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DCOMPILER2 -DSOLARIS_7_OR_LATER - > > m64 -m64 /export/home/andreas/jdk7/jdk7/hotspot/src/os_cpu/ > > solaris_x86/vm/solaris_x86_64.il -template=no%extdef -features=no > > %split_init -D_Crun_inline_placement -library=%none -KPIC -mt -xO4 > > -DVM_LITTLE_ENDIAN -features=no%except -DHAVE_DTRACE_H - > > DDTRACE_ENABLED -c -o accessFlags.o /export/home/andreas/jdk7/jdk7/ > > hotspot/src/share/vm/utilities/accessFlags.cpp > > > > assertion failed in function cfg_coalesce_lf_blocks() @ cfg.c:4520 > > assert(nd_equal_(lab, lf_opnd1_(x_last_lf))) > > > > > > > > I attached the full build log and sanity messages, here are the > > versions > > used: > > > > SunOS xentros 5.11 snv_134 i86pc i386 i86pc Solaris > > cc: Sun C 5.10 SunOS_i386 2009/06/03 > > CC: Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21 > > > > Is this failure known? The error is reproducibly happening, always for > > accessFlags.cpp. > > > > > > Regards, > > -- > > Andreas > > > -- Never attribute to malice that which can be adequately explained by stupidity. -- Hanlon's Razor -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: From kelly.ohair at oracle.com Wed Apr 14 22:48:33 2010 From: kelly.ohair at oracle.com (Kelly O'Hair) Date: Wed, 14 Apr 2010 15:48:33 -0700 Subject: ant 1.7.1 and make 3.81 In-Reply-To: <9DB28096-E0DB-4776-8324-E23FBBE83230@oracle.com> References: <9DB28096-E0DB-4776-8324-E23FBBE83230@oracle.com> Message-ID: Just an update on this ant 1.8.0 and make 3.81 issue. I will try and move forward on the make 3.81 change, but the ant 1.8.0 one is a problem. We will try and find another way around the package-info.java issues in ant 1.7.1. I had assumed this would be an easy ant upgrade, but obviously it is not. The fixes in ant 1.8.0 for the most part seem correct, and other than the false 'exit code' running 'ant -diagnostics', I don't know of any major flaws in 1.8.0. However, I'm seeing various ant scripts failing, and most appear to be just incorrect ant syntax, or some loophole closed by a valid fix in ant 1.8.0. None of these questionable ant scripts are in OpenJDK as far as I know, however it makes me think that upgrading now is the wrong thing to do. Once ant 1.8.0 becomes more available we can re-visit this, or there is always ant 1.8.1. -kto From michael.wilkerson at sun.com Thu Apr 15 00:14:56 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Thu, 15 Apr 2010 00:14:56 +0000 Subject: hg: jdk7/build: 6 new changesets Message-ID: <20100415001457.3A71444562@hg.openjdk.java.net> Changeset: bbd817429100 Author: jjg Date: 2010-03-12 15:22 -0800 URL: http://hg.openjdk.java.net/jdk7/build/rev/bbd817429100 6934712: run langtools jtreg tests from top level test/Makefile Reviewed-by: ohair ! test/Makefile Changeset: c60ed0f6d91a Author: ohair Date: 2010-03-12 17:44 -0800 URL: http://hg.openjdk.java.net/jdk7/build/rev/c60ed0f6d91a 6934759: Add langtools testing to jprt control builds Reviewed-by: jjg ! make/jprt.properties Changeset: 98505d97a822 Author: lana Date: 2010-03-18 18:50 -0700 URL: http://hg.openjdk.java.net/jdk7/build/rev/98505d97a822 Merge Changeset: 35d272ef7598 Author: ohair Date: 2010-03-19 18:17 -0700 URL: http://hg.openjdk.java.net/jdk7/build/rev/35d272ef7598 6936788: Minor adjustment to top repo test/Makefile, missing non-zero exit case Reviewed-by: jjg ! test/Makefile Changeset: b1c3b0e44b9d Author: lana Date: 2010-04-08 15:02 -0700 URL: http://hg.openjdk.java.net/jdk7/build/rev/b1c3b0e44b9d Merge Changeset: 7f1ba4459972 Author: lana Date: 2010-04-13 16:35 -0700 URL: http://hg.openjdk.java.net/jdk7/build/rev/7f1ba4459972 Merge From michael.wilkerson at sun.com Thu Apr 15 00:15:40 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Thu, 15 Apr 2010 00:15:40 +0000 Subject: hg: jdk7/build/hotspot: 8 new changesets Message-ID: <20100415001609.EE2CC44563@hg.openjdk.java.net> Changeset: b5d78a3b8843 Author: kvn Date: 2009-12-03 14:20 -0800 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/b5d78a3b8843 6892265: System.arraycopy unable to reference elements beyond Integer.MAX_VALUE bytes Summary: Use size_t type cast to widen int values in typeArrayKlass::copy_array(). Reviewed-by: never, jcoomes ! src/share/vm/oops/typeArrayKlass.cpp + test/compiler/6892265/Test.java Changeset: ae4032fb0a5b Author: kvn Date: 2010-01-21 10:07 -0800 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/ae4032fb0a5b 6894807: No ClassCastException for HashAttributeSet constructors if run with -Xcomp Summary: Return interface klass type if it is exact. Reviewed-by: never ! src/share/vm/opto/cfgnode.cpp ! src/share/vm/opto/type.cpp Changeset: 0c3f888b7636 Author: acorn Date: 2010-01-19 16:03 -0500 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/0c3f888b7636 6626217: Fixed loader constraint array handling Summary: Loader constraints track array elements, not arrays themselves. Reviewed-by: dcubed, kevinw ! src/share/vm/ci/ciEnv.cpp ! src/share/vm/classfile/loaderConstraints.cpp ! src/share/vm/classfile/loaderConstraints.hpp ! src/share/vm/classfile/systemDictionary.cpp Changeset: 3d531bbe5917 Author: acorn Date: 2010-01-28 13:59 -0500 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/3d531bbe5917 Merge Changeset: f5dd08ad65df Author: acorn Date: 2010-03-15 15:51 -0400 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/f5dd08ad65df 6932480: Fix crash in CompilerThread/Parser. Unloaded array klass? Summary: Restore code deleted in 6626217 Reviewed-by: asaha, kevinw ! src/share/vm/ci/ciEnv.cpp Changeset: 09ac706c2623 Author: asaha Date: 2010-03-24 17:16 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/09ac706c2623 Merge ! src/share/vm/ci/ciEnv.cpp ! src/share/vm/classfile/loaderConstraints.cpp ! src/share/vm/classfile/loaderConstraints.hpp ! src/share/vm/classfile/systemDictionary.cpp - src/share/vm/gc_implementation/g1/ptrQueue.inline.hpp ! src/share/vm/opto/type.cpp Changeset: 5b29c2368d93 Author: lana Date: 2010-04-08 15:28 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/5b29c2368d93 Merge ! src/share/vm/opto/type.cpp Changeset: 15836273ac24 Author: lana Date: 2010-04-13 16:36 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/15836273ac24 Merge From michael.wilkerson at sun.com Thu Apr 15 00:21:03 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Thu, 15 Apr 2010 00:21:03 +0000 Subject: hg: jdk7/build/jdk: 76 new changesets Message-ID: <20100415004457.7504944565@hg.openjdk.java.net> Changeset: 0137b5857c63 Author: okutsu Date: 2010-03-10 14:32 +0900 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/0137b5857c63 6932473: (tz) javazic produces incorrect SimpleTimeZone parameters with Sun<=7 Reviewed-by: peytoia ! make/tools/src/build/tools/javazic/RuleDay.java Changeset: 0e0ce1aa1bba Author: peytoia Date: 2010-03-11 11:54 +0900 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/0e0ce1aa1bba 6933032: (tz) Support tzdata2010e Reviewed-by: okutsu ! make/sun/javazic/tzdata/VERSION ! make/sun/javazic/tzdata/asia ! make/sun/javazic/tzdata/australasia ! make/sun/javazic/tzdata/southamerica Changeset: ce3770eadf85 Author: malenkov Date: 2010-03-11 17:39 +0300 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/ce3770eadf85 6707226: java.beans.Statement & java.beans.Expression miss one important usecase Reviewed-by: rupashka ! src/share/classes/java/beans/Expression.java ! src/share/classes/java/beans/Statement.java + test/java/beans/Statement/Test6707226.java Changeset: d86c053ca938 Author: rupashka Date: 2010-03-15 16:16 +0300 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/d86c053ca938 6931347: SynthTabbedPaneUI.paintTabArea() is not called when tabbed pane is painted Reviewed-by: peterz ! src/share/classes/javax/swing/plaf/synth/SynthTabbedPaneUI.java Changeset: 1224c1388e86 Author: rupashka Date: 2010-03-17 12:48 +0300 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/1224c1388e86 6933784: NIMBUS: ImageView getNoImageIcon and getLoadingImageIcon returns nulls instead of an icon Reviewed-by: peterz ! src/share/classes/javax/swing/plaf/synth/SynthLookAndFeel.java + test/javax/swing/plaf/synth/Test6933784.java Changeset: ac4c8e3bf93f Author: lana Date: 2010-03-17 14:19 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/ac4c8e3bf93f Merge - test/java/nio/file/WatchService/OverflowEventIsLoner.java Changeset: 325823a26aac Author: peterz Date: 2010-03-18 12:02 +0300 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/325823a26aac 6932524: NIMBUS: 3 constructors of JSplitPane creates new jsp with continuous layout - they should not. Reviewed-by: alexp ! src/share/classes/javax/swing/JSplitPane.java ! src/share/classes/javax/swing/plaf/nimbus/skin.laf Changeset: ef892cd084ec Author: rupashka Date: 2010-03-24 15:14 +0300 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/ef892cd084ec 6922214: SynthTextPaneUI.installUI() doesn't install the default caret and highlighter Reviewed-by: alexp ! src/share/classes/javax/swing/plaf/basic/BasicTextUI.java Changeset: f799c62ad4f8 Author: peytoia Date: 2010-03-30 18:35 +0900 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/f799c62ad4f8 6939021: (tz) Support tzdata2010g Reviewed-by: okutsu ! make/sun/javazic/tzdata/VERSION ! make/sun/javazic/tzdata/antarctica ! make/sun/javazic/tzdata/asia ! make/sun/javazic/tzdata/australasia ! make/sun/javazic/tzdata/europe ! make/sun/javazic/tzdata/zone.tab ! src/share/classes/sun/util/resources/TimeZoneNames.java Changeset: dbde35ddda78 Author: peytoia Date: 2010-03-30 21:16 +0900 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/dbde35ddda78 6907881: Different undesired behavior for entering Asian characters in Windows IME starting with Java 6.0 Reviewed-by: okutsu ! src/windows/native/sun/windows/awt_Component.cpp Changeset: eb39ccbd95f9 Author: lana Date: 2010-04-08 15:00 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/eb39ccbd95f9 Merge Changeset: d23dcd3e3ce4 Author: andrew Date: 2010-03-12 01:09 +0000 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/d23dcd3e3ce4 6934327: Update linux fontconfigs for Ubuntu and Fedora. Summary: Use fontconfigs suitable for recent Fedora, Ubuntu and Debian releases. Reviewed-by: prr ! src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Fedora.properties ! src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Ubuntu.properties Changeset: 45bd445f6250 Author: lana Date: 2010-03-19 18:49 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/45bd445f6250 Merge - make/java/text/FILES_java.gmk - test/java/nio/file/WatchService/OverflowEventIsLoner.java Changeset: bf23bec88222 Author: lana Date: 2010-04-08 15:01 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/bf23bec88222 Merge Changeset: 47958f76babc Author: chegar Date: 2010-03-10 14:44 +0000 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/47958f76babc 6933618: java/net/MulticastSocket/NoLoopbackPackets.java fails when rerun Reviewed-by: alanb ! test/java/net/MulticastSocket/NoLoopbackPackets.java Changeset: 467484e025d6 Author: martin Date: 2010-03-10 14:53 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/467484e025d6 6931812: A better implementation of sun.nio.cs.Surrogate.isBMP(int) Summary: uc >> 16 == 0 is superior to (int) (char) uc == uc Reviewed-by: sherman Contributed-by: Ulf Zibis ! src/share/classes/sun/nio/cs/Surrogate.java Changeset: 07e1c5a90c6a Author: chegar Date: 2010-03-11 16:17 +0000 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/07e1c5a90c6a 6934054: java/net/Socket/FDClose.java return error in samevm Summary: test is no longer useful Reviewed-by: alanb ! test/ProblemList.txt - test/java/net/Socket/FDClose.java Changeset: c342735a3e58 Author: chegar Date: 2010-03-11 17:37 +0000 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/c342735a3e58 6933629: java/net/HttpURLConnection/HttpResponseCode.java fails if run in samevm mode Reviewed-by: alanb ! test/ProblemList.txt ! test/java/net/CookieHandler/CookieHandlerTest.java Changeset: c6f8c58ed51a Author: chegar Date: 2010-03-11 17:50 +0000 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/c6f8c58ed51a 6223635: Code hangs at connect call even when Timeout is specified when using a socks proxy Reviewed-by: michaelm, chegar Contributed-by: damjan.jov at gmail.com ! src/share/classes/java/net/SocketInputStream.java ! src/share/classes/java/net/SocksSocketImpl.java + test/java/net/Socket/SocksConnectTimeout.java Changeset: ee385b4e2ffb Author: sherman Date: 2010-03-11 14:06 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/ee385b4e2ffb 6929479: Add a system property sun.zip.disableMemoryMapping to disable mmap use in ZipFile Summary: system property sun.zip.disableMemoryMapping to disable mmap use Reviewed-by: alanb ! src/share/classes/java/util/zip/ZipFile.java ! src/share/native/java/util/zip/ZipFile.c ! src/share/native/java/util/zip/zip_util.c ! src/share/native/java/util/zip/zip_util.h Changeset: bf6eb240e718 Author: ohair Date: 2010-03-12 09:03 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/bf6eb240e718 6933294: Fix some test/Makefile issues around Linux ARCH settings, better defaults Reviewed-by: jjg ! test/Makefile ! test/ProblemList.txt Changeset: cda90ceb7176 Author: ohair Date: 2010-03-12 09:06 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/cda90ceb7176 Merge ! test/ProblemList.txt Changeset: f88f6f8ddd21 Author: chegar Date: 2010-03-16 10:05 +0000 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/f88f6f8ddd21 6934923: test/java/net/ipv6tests/TcpTest.java hangs on Solaris 10 Reviewed-by: alanb ! test/java/net/ipv6tests/TcpTest.java ! test/java/net/ipv6tests/Tests.java Changeset: 895a1211b2e1 Author: chegar Date: 2010-03-16 14:31 +0000 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/895a1211b2e1 6935199: java/net regression tests failing with Assertions Reviewed-by: michaelm ! test/ProblemList.txt ! test/java/net/CookieHandler/TestHttpCookie.java ! test/java/net/URLClassLoader/closetest/CloseTest.java Changeset: 0500f7306cbe Author: weijun Date: 2010-03-17 09:55 +0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/0500f7306cbe 6868865: Test: sun/security/tools/jarsigner/oldsig.sh fails under all platforms Reviewed-by: wetmore ! test/sun/security/tools/jarsigner/oldsig.sh Changeset: 2796f839e337 Author: weijun Date: 2010-03-18 18:26 +0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/2796f839e337 6829283: HTTP/Negotiate: Autheticator triggered again when user cancels the first one Reviewed-by: chegar ! src/share/classes/sun/net/www/protocol/http/spnego/NegotiateCallbackHandler.java ! test/sun/security/krb5/auto/HttpNegotiateServer.java Changeset: c52f292a8f86 Author: valeriep Date: 2010-03-18 17:05 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/c52f292a8f86 6695485: SignedObject constructor throws ProviderException if it's called using provider "SunPKCS11-Solaris" Summary: Added checking for RSA key lengths in initSign and initVerify Reviewed-by: vinnie ! src/share/classes/sun/security/pkcs11/P11Signature.java + test/sun/security/pkcs11/Signature/TestRSAKeyLength.java Changeset: df5714cbe76d Author: valeriep Date: 2010-03-18 17:32 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/df5714cbe76d 6591117: Poor preformance of PKCS#11 security provider compared to Sun default provider Summary: Added internal buffering to PKCS11 SecureRandom impl Reviewed-by: wetmore ! src/share/classes/sun/security/pkcs11/P11SecureRandom.java Changeset: dc42c9d9ca16 Author: valeriep Date: 2010-03-18 17:56 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/dc42c9d9ca16 6837847: PKCS#11 A SecureRandom and a serialization error following installation of 1.5.0_18 Summary: Added a custom readObject method to PKCS11 SecureRandom impl Reviewed-by: wetmore ! src/share/classes/sun/security/pkcs11/P11SecureRandom.java + test/sun/security/pkcs11/SecureRandom/TestDeserialization.java Changeset: dff4f51b73d4 Author: lana Date: 2010-03-18 18:52 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/dff4f51b73d4 Merge Changeset: 3bb93c410f41 Author: chegar Date: 2010-03-19 13:07 +0000 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/3bb93c410f41 6935233: java/net/ServerSocket/AcceptCauseFileDescriptorLeak.java fails with modules build Reviewed-by: alanb ! test/ProblemList.txt ! test/java/net/ServerSocket/AcceptCauseFileDescriptorLeak.java + test/java/net/ServerSocket/AcceptCauseFileDescriptorLeak.sh Changeset: c40572afb29e Author: chegar Date: 2010-03-22 11:55 +0000 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/c40572afb29e 6632169: HttpClient and HttpsClient should not try to reverse lookup IP address of a proxy server Reviewed-by: michaelm ! src/share/classes/sun/net/www/protocol/https/HttpsClient.java Changeset: 31dcf23042f9 Author: weijun Date: 2010-03-23 10:41 +0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/31dcf23042f9 6586707: NTLM authentication with proxy fails Reviewed-by: chegar ! src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java Changeset: 8a9ebdc27045 Author: chegar Date: 2010-03-23 13:54 +0000 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/8a9ebdc27045 6614957: HttpsURLConnection not using the set SSLSocketFactory for creating all its Sockets 6771432: createSocket() - smpatch fails using 1.6.0_10 because of "Unconnected sockets not implemented" 6766775: X509 certificate hostname checking is broken in JDK1.6.0_10 Summary: All three bugs are interdependent Reviewed-by: xuelei ! src/share/classes/javax/net/SocketFactory.java ! src/share/classes/sun/net/NetworkClient.java ! src/share/classes/sun/net/www/protocol/https/HttpsClient.java ! src/share/classes/sun/security/ssl/SSLSocketImpl.java + test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/DNSIdentities.java + test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/HttpsCreateSockTest.java + test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/HttpsSocketFacTest.java + test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/IPAddressDNSIdentities.java + test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/IPAddressIPIdentities.java + test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/IPIdentities.java + test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/Identities.java Changeset: f8c9a5e3f5db Author: dcubed Date: 2010-03-23 19:03 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/f8c9a5e3f5db 6915365: 3/4 assert(false,"Unsupported VMGlobal Type") at management.cpp:1540 Summary: Remove exception throw to decouple JDK and HotSpot additions of known types. Reviewed-by: mchung ! src/share/native/sun/management/Flag.c Changeset: 26477628f2d5 Author: weijun Date: 2010-03-25 12:07 +0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/26477628f2d5 6813340: X509Factory should not depend on is.available()==0 Reviewed-by: xuelei ! src/share/classes/sun/security/provider/X509Factory.java ! src/share/classes/sun/security/tools/KeyTool.java + test/java/security/cert/CertificateFactory/ReturnStream.java + test/java/security/cert/CertificateFactory/SlowStream.java + test/java/security/cert/CertificateFactory/slowstream.sh Changeset: 6109b166bf68 Author: chegar Date: 2010-03-25 09:38 +0000 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/6109b166bf68 6937703: java/net regression test issues with samevm Reviewed-by: alanb ! test/ProblemList.txt ! test/java/net/ProxySelector/B6737819.java ! test/java/net/ResponseCache/ResponseCacheTest.java ! test/java/net/ResponseCache/getResponseCode.java ! test/java/net/URL/TestIPv6Addresses.java ! test/java/net/URLClassLoader/HttpTest.java ! test/java/net/URLConnection/B5052093.java ! test/java/net/URLConnection/contentHandler/UserContentHandler.java Changeset: 31517a0345d1 Author: xuelei Date: 2010-03-29 13:27 +0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/31517a0345d1 6693917: regression tests need to update for supporting ECC on solaris 11 Reviewed-by: weijun ! test/sun/security/ssl/etc/keystore ! test/sun/security/ssl/etc/truststore ! test/sun/security/ssl/sanity/ciphersuites/CheckCipherSuites.java Changeset: 3771ac2a8b3b Author: sherman Date: 2010-03-30 19:10 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/3771ac2a8b3b 6902790: Converting/displaying HKSCs characters issue on Vista and Windows7 6911753: NSN wants to add Big5 HKSCS-2004 support Summary: support HKSCS2008 in Big5_HKSCS and MS950_HKSCS Reviewed-by: okutsu ! make/sun/nio/cs/FILES_java.gmk ! make/sun/nio/cs/Makefile + make/tools/CharsetMapping/Big5.c2b + make/tools/CharsetMapping/Big5.map + make/tools/CharsetMapping/Big5.nr + make/tools/CharsetMapping/HKSCS2001.c2b + make/tools/CharsetMapping/HKSCS2001.map + make/tools/CharsetMapping/HKSCS2008.c2b + make/tools/CharsetMapping/HKSCS2008.map + make/tools/CharsetMapping/HKSCS_XP.c2b + make/tools/CharsetMapping/HKSCS_XP.map ! make/tools/CharsetMapping/dbcs - make/tools/src/build/tools/charsetmapping/CharsetMapping.java + make/tools/src/build/tools/charsetmapping/DBCS.java + make/tools/src/build/tools/charsetmapping/EUC_TW.java - make/tools/src/build/tools/charsetmapping/GenerateDBCS.java - make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java - make/tools/src/build/tools/charsetmapping/GenerateMapping.java - make/tools/src/build/tools/charsetmapping/GenerateSBCS.java + make/tools/src/build/tools/charsetmapping/HKSCS.java + make/tools/src/build/tools/charsetmapping/JIS0213.java ! make/tools/src/build/tools/charsetmapping/Main.java + make/tools/src/build/tools/charsetmapping/SBCS.java + make/tools/src/build/tools/charsetmapping/Utils.java ! src/share/classes/sun/awt/HKSCS.java ! src/share/classes/sun/io/ByteToCharBig5.java ! src/share/classes/sun/io/ByteToCharBig5_HKSCS.java ! src/share/classes/sun/io/ByteToCharBig5_Solaris.java - src/share/classes/sun/io/ByteToCharHKSCS.java - src/share/classes/sun/io/ByteToCharHKSCS_2001.java ! src/share/classes/sun/io/ByteToCharMS950_HKSCS.java ! src/share/classes/sun/io/CharToByteBig5.java ! src/share/classes/sun/io/CharToByteBig5_HKSCS.java ! src/share/classes/sun/io/CharToByteBig5_Solaris.java - src/share/classes/sun/io/CharToByteHKSCS.java - src/share/classes/sun/io/CharToByteHKSCS_2001.java ! src/share/classes/sun/io/CharToByteMS950_HKSCS.java - src/share/classes/sun/nio/cs/ext/Big5.java ! src/share/classes/sun/nio/cs/ext/Big5_HKSCS.java + src/share/classes/sun/nio/cs/ext/Big5_HKSCS_2001.java ! src/share/classes/sun/nio/cs/ext/Big5_Solaris.java ! src/share/classes/sun/nio/cs/ext/ExtendedCharsets.java ! src/share/classes/sun/nio/cs/ext/HKSCS.java - src/share/classes/sun/nio/cs/ext/HKSCS_2001.java ! src/share/classes/sun/nio/cs/ext/MS950_HKSCS.java + src/share/classes/sun/nio/cs/ext/MS950_HKSCS_XP.java ! src/solaris/classes/sun/awt/fontconfigs/solaris.fontconfig.properties ! src/solaris/native/java/lang/java_props_md.c ! src/windows/classes/sun/awt/windows/fontconfig.properties ! src/windows/native/java/lang/java_props_md.c ! test/java/nio/charset/Charset/NIOCharsetAvailabilityTest.java ! test/java/nio/charset/Charset/RegisteredCharsets.java Changeset: 1105276dbd6a Author: sherman Date: 2010-04-03 18:29 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/1105276dbd6a 4947220: (process)Runtime.exec() cannot invoke applications with unicode parameters(win) Summary: to use CreateProcessW on Windowns platform Reviewed-by: martin ! src/share/native/java/lang/System.c ! src/share/native/java/lang/java_props.h ! src/solaris/native/java/lang/java_props_md.c ! src/windows/native/java/lang/ProcessImpl_md.c ! src/windows/native/java/lang/java_props_md.c ! test/java/lang/ProcessBuilder/Basic.java Changeset: d3309aae68ef Author: dl Date: 2009-10-06 12:20 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/d3309aae68ef 6888149: AtomicReferenceArray causes SIGSEGV -> SEGV_MAPERR error Summary: Avoid integer overflow by using long arithmetic Reviewed-by: martin, dholmes ! src/share/classes/java/util/concurrent/atomic/AtomicIntegerArray.java ! src/share/classes/java/util/concurrent/atomic/AtomicLongArray.java ! src/share/classes/java/util/concurrent/atomic/AtomicReferenceArray.java Changeset: 08f57141c305 Author: asaha Date: 2009-11-20 14:24 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/08f57141c305 Merge - test/sun/tools/native2ascii/test2 Changeset: b1e8f41ed755 Author: chegar Date: 2009-11-23 12:40 +0000 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/b1e8f41ed755 6639665: ThreadGroup finalizer allows creation of false root ThreadGroups Reviewed-by: alanb, hawtin ! src/share/classes/java/lang/ThreadGroup.java Changeset: e943f6b0b0e9 Author: alanb Date: 2009-11-25 10:02 +0000 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/e943f6b0b0e9 6736390: File TOCTOU deserialization vulnerability Reviewed-by: hawtin ! src/share/classes/java/io/File.java Changeset: ff9c2f53594e Author: sherman Date: 2009-11-25 11:29 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/ff9c2f53594e 6745393: Inflater/Deflater clone issue Summary: To use explicit lobk object. Reviewed-by: alanb ! src/share/classes/java/util/zip/Deflater.java ! src/share/classes/java/util/zip/Inflater.java ! src/share/native/java/util/zip/Deflater.c ! src/share/native/java/util/zip/Inflater.c Changeset: d893f890b4dd Author: sherman Date: 2009-11-25 12:51 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/d893f890b4dd 6904925: Changeset for 6745393 for jdk7 ssr forest was incomplete Summary: To add, commit and push back the ZStreamRef.java Reviewed-by: alanb + src/share/classes/java/util/zip/ZStreamRef.java Changeset: df3091222715 Author: mchung Date: 2009-11-25 09:09 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/df3091222715 6893947: Deserialization of RMIConnectionImpl objects should enforce stricter checks [ZDI-CAN-588] Summary: narrow the doPrivileged block to only set context ClassLoader Reviewed-by: hawtin, emcmanus ! src/share/classes/javax/management/remote/rmi/RMIConnectionImpl.java Changeset: bc309e9233ce Author: mchung Date: 2009-11-25 11:19 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/bc309e9233ce Merge Changeset: 621edf6b03fc Author: mchung Date: 2009-11-25 16:02 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/621edf6b03fc Merge Changeset: 338c8775f0a3 Author: asaha Date: 2009-11-26 07:17 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/338c8775f0a3 Merge Changeset: f0b63b6d9709 Author: asaha Date: 2009-12-01 08:55 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/f0b63b6d9709 Merge - test/tools/launcher/SolarisDataModel.sh - test/tools/launcher/SolarisRunpath.sh - test/tools/launcher/libraryCaller.c - test/tools/launcher/libraryCaller.h - test/tools/launcher/libraryCaller.java Changeset: 121fa73c7185 Author: michaelm Date: 2009-12-02 12:17 +0000 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/121fa73c7185 6893954: Subclasses of InetAddress may incorrectly interpret network addresses Summary: runtime type checks and deserialization check Reviewed-by: chegar, alanb, jccollet ! src/share/classes/java/net/DatagramSocket.java ! src/share/classes/java/net/InetAddress.java ! src/share/classes/java/net/MulticastSocket.java ! src/share/classes/java/net/NetworkInterface.java ! src/share/classes/java/net/Socket.java ! src/share/classes/sun/nio/ch/Net.java Changeset: edaa7e2efd63 Author: asaha Date: 2009-12-04 10:23 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/edaa7e2efd63 Merge - make/tools/CharsetMapping/DoubleByte-X.java - make/tools/CharsetMapping/SingleByte-X.java - src/share/classes/sun/util/CoreResourceBundleControl-XLocales.java - src/share/classes/sun/util/LocaleDataMetaInfo-XLocales.java - test/java/util/Formatter/Basic-X.java Changeset: 3598d6eb087c Author: xuelei Date: 2009-12-07 21:16 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/3598d6eb087c 6898739: TLS renegotiation issue Summary: the interim fix disables TLS/SSL renegotiation Reviewed-by: mullan, chegar, wetmore ! src/share/classes/sun/security/ssl/ClientHandshaker.java ! src/share/classes/sun/security/ssl/Handshaker.java ! src/share/classes/sun/security/ssl/SSLEngineImpl.java ! src/share/classes/sun/security/ssl/SSLSocketImpl.java ! src/share/classes/sun/security/ssl/ServerHandshaker.java ! test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/InvalidateServerSessionRenegotiate.java ! test/sun/security/ssl/javax/net/ssl/NewAPIs/JSSERenegotiate.java ! test/sun/security/ssl/javax/net/ssl/NewAPIs/SSLEngine/CheckStatus.java ! test/sun/security/ssl/javax/net/ssl/NewAPIs/SSLEngine/ConnectionTest.java ! test/sun/security/ssl/javax/net/ssl/NewAPIs/SSLEngine/NoAuthClientAuth.java Changeset: 91a4840fa9b4 Author: mullan Date: 2009-12-08 15:58 -0500 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/91a4840fa9b4 6633872: Policy/PolicyFile leak dynamic ProtectionDomains. Reviewed-by: hawtin ! src/share/classes/java/security/Policy.java ! src/share/classes/java/security/ProtectionDomain.java + src/share/classes/sun/misc/JavaSecurityProtectionDomainAccess.java ! src/share/classes/sun/misc/SharedSecrets.java ! src/share/classes/sun/security/provider/PolicyFile.java Changeset: 7a60d100ffa5 Author: mullan Date: 2009-12-18 09:09 -0500 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/7a60d100ffa5 6904162: Add new VeriSign root CA certificates to JRE and remove some old/unused ones Reviewed-by: asaha - test/lib/security/cacerts/VerifyCACerts.java Changeset: 3dabb7d5be98 Author: malenkov Date: 2009-12-22 17:56 +0300 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/3dabb7d5be98 6904691: Java Applet Trusted Methods Chaining Privilege Escalation Vulnerability Reviewed-by: hawtin, peterz ! src/share/classes/java/beans/EventHandler.java ! src/share/classes/java/beans/Statement.java ! test/java/beans/EventHandler/Test6277246.java ! test/java/beans/EventHandler/Test6277266.java Changeset: c80b6350de63 Author: michaelm Date: 2010-01-12 12:13 +0000 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/c80b6350de63 6910590: Application can modify command array, in ProcessBuilder Summary: clone array returned by List.toArray() Reviewed-by: chegar, alanb ! src/share/classes/java/lang/ProcessBuilder.java Changeset: 0667ab707c48 Author: bae Date: 2010-02-17 12:49 +0300 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/0667ab707c48 6914866: Sun JRE ImagingLib arbitrary code execution vulnerability Reviewed-by: prr, hawtin ! src/share/native/sun/awt/medialib/awt_ImagingLib.c ! src/share/native/sun/awt/medialib/safe_alloc.h Changeset: 494aea51f26f Author: bae Date: 2010-02-17 13:10 +0300 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/494aea51f26f 6914823: Java AWT Library Invalid Index Vulnerability Reviewed-by: flar, hawtin ! src/share/classes/sun/awt/image/ImageRepresentation.java Changeset: 45ead4a2c48b Author: bae Date: 2010-02-17 13:32 +0300 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/45ead4a2c48b 6909597: Sun Java Runtime Environment JPEGImageReader stepX Integer Overflow Vulnerability Reviewed-by: igor ! src/share/native/sun/awt/image/jpeg/imageioJPEG.c Changeset: 1ff19af7b735 Author: bae Date: 2010-02-19 22:30 +0300 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/1ff19af7b735 6899653: Sun Java Runtime CMM readMabCurveData Buffer Overflow Vulnerability Reviewed-by: prr, hawtin ! src/share/native/sun/java2d/cmm/lcms/cmsio1.c ! src/share/native/sun/java2d/cmm/lcms/cmsxform.c Changeset: cda01c4b091c Author: ksrini Date: 2010-02-22 14:33 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/cda01c4b091c 6902299: Java JAR "unpack200" must verify input parameters Summary: Added several checks for addition of values before memory allocation Reviewed-by: asaha ! src/share/native/com/sun/java/util/jar/pack/bytes.cpp ! src/share/native/com/sun/java/util/jar/pack/unpack.cpp Changeset: 7a6b3cc68e92 Author: denis Date: 2010-02-26 03:54 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/7a6b3cc68e92 6887703: Unsigned applet can retrieve the dragged information before drop action occur Reviewed-by: uta ! src/share/classes/sun/awt/dnd/SunDropTargetContextPeer.java Changeset: c5c6f8fa92ae Author: denis Date: 2010-03-06 03:37 +0300 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/c5c6f8fa92ae 6932659: JTreg test files were missed in push of 6887703 Reviewed-by: uta ! test/java/awt/regtesthelpers/process/ProcessCommunicator.java Changeset: 2805db6e6ff6 Author: asaha Date: 2010-03-24 14:16 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/2805db6e6ff6 Merge - make/java/redist/FILES.gmk - make/java/text/FILES_java.gmk - make/sun/nio/FILES_java.gmk ! src/share/classes/java/beans/Statement.java ! src/share/classes/java/util/zip/Deflater.java - src/share/classes/javax/swing/plaf/synth/DefaultMenuLayout.java - src/share/classes/sun/awt/ComponentAccessor.java - src/share/classes/sun/awt/WindowAccessor.java - src/share/classes/sun/dyn/util/BytecodeSignature.java - src/share/classes/sun/security/provider/IdentityDatabase.java ! src/share/classes/sun/security/provider/PolicyFile.java - src/share/classes/sun/security/provider/SystemIdentity.java - src/share/classes/sun/security/provider/SystemSigner.java - src/share/classes/sun/security/x509/X500Signer.java - src/share/classes/sun/security/x509/X509Cert.java - src/share/classes/sun/swing/plaf/synth/SynthUI.java - src/share/classes/sun/tools/jar/JarVerifierStream.java - src/solaris/classes/sun/nio/ch/SctpSocketDispatcher.java ! test/java/awt/regtesthelpers/process/ProcessCommunicator.java - test/java/net/Socket/FDClose.java Changeset: 1dccfa00dc64 Author: asaha Date: 2010-03-24 17:32 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/1dccfa00dc64 Merge ! src/share/classes/sun/security/ssl/SSLSocketImpl.java Changeset: 6ec14b5ede77 Author: asaha Date: 2010-03-25 07:12 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/6ec14b5ede77 Merge Changeset: 3ef9b3446677 Author: asaha Date: 2010-03-29 07:17 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/3ef9b3446677 Merge Changeset: a9fdd143a58e Author: asaha Date: 2010-04-05 16:11 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/a9fdd143a58e Merge - make/tools/src/build/tools/charsetmapping/CharsetMapping.java - make/tools/src/build/tools/charsetmapping/GenerateDBCS.java - make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java - make/tools/src/build/tools/charsetmapping/GenerateMapping.java - make/tools/src/build/tools/charsetmapping/GenerateSBCS.java - src/share/classes/sun/io/ByteToCharHKSCS.java - src/share/classes/sun/io/ByteToCharHKSCS_2001.java - src/share/classes/sun/io/CharToByteHKSCS.java - src/share/classes/sun/io/CharToByteHKSCS_2001.java - src/share/classes/sun/nio/cs/ext/Big5.java - src/share/classes/sun/nio/cs/ext/HKSCS_2001.java Changeset: 69002275e0e2 Author: chegar Date: 2010-04-06 13:47 +0100 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/69002275e0e2 6648001: Cancelling HTTP authentication causes subsequent deadlocks Reviewed-by: michaelm ! src/share/classes/sun/net/www/protocol/http/AuthenticationInfo.java ! src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java + test/java/net/Authenticator/Deadlock.java Changeset: 495ba30cf02f Author: chegar Date: 2010-04-06 15:44 +0100 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/495ba30cf02f 6921111: NullPointerException in PlainDatagramSocketImpl.socketSetOption Reviewed-by: alanb ! src/solaris/native/java/net/PlainDatagramSocketImpl.c ! src/windows/native/java/net/TwoStacksPlainDatagramSocketImpl.c Changeset: 0b7f10901f30 Author: sherman Date: 2010-04-06 15:45 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/0b7f10901f30 6717164: FilterInputStream.skip incorrectly inherits wording specifying how the InputStream.skip works Summary: restoring the javadoc Reviewed-by: alanb ! src/share/classes/java/io/FilterInputStream.java Changeset: fc7c38b2584c Author: martin Date: 2010-04-07 12:30 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/fc7c38b2584c 6941130: Semaphore should throw if number of permits overflows or underflows Summary: Check if release could make number of permits negative Reviewed-by: dl, dholmes ! src/share/classes/java/util/concurrent/Semaphore.java + test/java/util/concurrent/Semaphore/PermitOverflow.java Changeset: 025f9e57566a Author: lana Date: 2010-04-08 15:34 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/025f9e57566a Merge - make/tools/src/build/tools/charsetmapping/CharsetMapping.java - make/tools/src/build/tools/charsetmapping/GenerateDBCS.java - make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java - make/tools/src/build/tools/charsetmapping/GenerateMapping.java - make/tools/src/build/tools/charsetmapping/GenerateSBCS.java ! src/share/classes/java/beans/Statement.java - src/share/classes/sun/io/ByteToCharHKSCS.java - src/share/classes/sun/io/ByteToCharHKSCS_2001.java - src/share/classes/sun/io/CharToByteHKSCS.java - src/share/classes/sun/io/CharToByteHKSCS_2001.java - src/share/classes/sun/nio/cs/ext/Big5.java - src/share/classes/sun/nio/cs/ext/HKSCS_2001.java - test/java/net/Socket/FDClose.java - test/lib/security/cacerts/VerifyCACerts.java Changeset: 4a6abb7e224c Author: lana Date: 2010-04-13 16:41 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/4a6abb7e224c Merge - make/tools/src/build/tools/charsetmapping/CharsetMapping.java - make/tools/src/build/tools/charsetmapping/GenerateDBCS.java - make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java - make/tools/src/build/tools/charsetmapping/GenerateMapping.java - make/tools/src/build/tools/charsetmapping/GenerateSBCS.java - src/share/classes/sun/io/ByteToCharHKSCS.java - src/share/classes/sun/io/ByteToCharHKSCS_2001.java - src/share/classes/sun/io/CharToByteHKSCS.java - src/share/classes/sun/io/CharToByteHKSCS_2001.java - src/share/classes/sun/nio/cs/ext/Big5.java - src/share/classes/sun/nio/cs/ext/HKSCS_2001.java - test/java/net/Socket/FDClose.java - test/lib/security/cacerts/VerifyCACerts.java From michael.wilkerson at sun.com Thu Apr 15 01:01:33 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Thu, 15 Apr 2010 01:01:33 +0000 Subject: hg: jdk7/build/langtools: 9 new changesets Message-ID: <20100415010201.DD78144567@hg.openjdk.java.net> Changeset: 9871ce4fd56f Author: jjg Date: 2010-03-10 16:23 -0800 URL: http://hg.openjdk.java.net/jdk7/build/langtools/rev/9871ce4fd56f 6933914: fix missing newlines Reviewed-by: ohair ! test/tools/javac/OverrideChecks/6738538/T6738538a.java ! test/tools/javac/OverrideChecks/6738538/T6738538b.java ! test/tools/javac/api/6731573/Erroneous.java ! test/tools/javac/api/6731573/T6731573.java ! test/tools/javac/cast/6548436/T6548436d.java ! test/tools/javac/cast/6558559/T6558559a.java ! test/tools/javac/cast/6558559/T6558559b.java ! test/tools/javac/cast/6586091/T6586091.java ! test/tools/javac/enum/T6724345.java ! test/tools/javac/generics/T6557954.java ! test/tools/javac/generics/T6751514.java ! test/tools/javac/generics/T6869075.java ! test/tools/javac/generics/inference/6569789/T6569789.java ! test/tools/javac/generics/inference/6650759/T6650759a.java ! test/tools/javac/generics/wildcards/T6732484.java ! test/tools/javac/processing/model/util/elements/Foo.java ! test/tools/javac/varargs/T6746184.java - test/tools/javap/T6305779.java ! test/tools/javap/T6715251.java ! test/tools/javap/T6715753.java Changeset: f856c0942c06 Author: jjg Date: 2010-03-12 12:00 -0800 URL: http://hg.openjdk.java.net/jdk7/build/langtools/rev/f856c0942c06 6934224: update langtools/test/Makefile Reviewed-by: ohair ! make/jprt.properties ! test/Makefile Changeset: 6fad35d25b1e Author: lana Date: 2010-03-18 18:52 -0700 URL: http://hg.openjdk.java.net/jdk7/build/langtools/rev/6fad35d25b1e Merge Changeset: dd30de080cb9 Author: jjg Date: 2010-03-23 18:05 -0700 URL: http://hg.openjdk.java.net/jdk7/build/langtools/rev/dd30de080cb9 6937244: sqe ws7 tools javap/javap_t10a fail jdk7 b80 used output of javap is changed Reviewed-by: darcy ! src/share/classes/com/sun/tools/javap/ClassWriter.java + test/tools/javap/6937244/T6937244.java + test/tools/javap/6937244/T6937244A.java Changeset: 3058880c0b8d Author: jjg Date: 2010-03-24 12:18 -0700 URL: http://hg.openjdk.java.net/jdk7/build/langtools/rev/3058880c0b8d 6937318: jdk7 b86: javah and javah -help is no output for these commands Reviewed-by: darcy ! src/share/classes/com/sun/tools/javah/JavahTask.java ! test/tools/javah/T6893943.java Changeset: 65e422bbb984 Author: darcy Date: 2010-03-24 17:02 -0700 URL: http://hg.openjdk.java.net/jdk7/build/langtools/rev/65e422bbb984 6937417: javac -Xprint returns IndexOutOfBoundsException Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java + test/tools/javac/processing/model/util/elements/VacuousEnum.java Changeset: de6375751eb7 Author: ohair Date: 2010-03-26 22:37 -0700 URL: http://hg.openjdk.java.net/jdk7/build/langtools/rev/de6375751eb7 6938326: Use of "ant -diagnostics" a problem with ant 1.8.0, exit code 1 now Reviewed-by: jjg ! make/Makefile Changeset: ad1bf317cc57 Author: lana Date: 2010-04-08 15:35 -0700 URL: http://hg.openjdk.java.net/jdk7/build/langtools/rev/ad1bf317cc57 Merge - test/tools/javap/T6305779.java Changeset: 6cea9a143208 Author: lana Date: 2010-04-13 16:42 -0700 URL: http://hg.openjdk.java.net/jdk7/build/langtools/rev/6cea9a143208 Merge - test/tools/javap/T6305779.java From martinrb at google.com Thu Apr 15 20:55:01 2010 From: martinrb at google.com (Martin Buchholz) Date: Thu, 15 Apr 2010 13:55:01 -0700 Subject: Question on how to properly find all the sources going into a JDK In-Reply-To: <4BBE3126.90600@sun.com> References: <4BBE3126.90600@sun.com> Message-ID: On Thu, Apr 8, 2010 at 12:40, Joe Darcy wrote: > Hello. > > From time to time, I want to run an annotation processor over all the Java > sources going into the JDK. ?Annotation processors as compiler plug-ins can > be used to check various structural properties of the code. ?For example, an > annotation processor could be used to find potential methods to be converted > to use var-args. > > The goal is to ideally have a single command like > > ? javac -proc:only -processor MyProcessor $OTHER_OPTIONS ?`Long list of > files` > > and I wanted to verify the proper way to get the long list of files. ?From > the root of a JDK 7 forest with a build directory, does > > find corba/src \ > jaxp/drop/jaxp_src \ > jaxws/drop/jaxws_src \ > langools/src \ > jdk/src/share jdk/src/$OS \ > $BUILDDIR/$PLATFORM/gensrc \ > -name "*.java" > > cover all the files of interest? That looks pretty good; if you wanted to verify its accuracy, you could build a list of class files by running jar tf on the jar files in the images, and correlating with the results from running find on the source files as you did above. Martin From John.Coomes at oracle.com Thu Apr 15 23:23:51 2010 From: John.Coomes at oracle.com (John Coomes) Date: Thu, 15 Apr 2010 16:23:51 -0700 Subject: Building OpenJDK with SunStudio 12u1 on OpenSolaris snv_134 In-Reply-To: <1271274408.8664.2.camel@tiamaria.ams.fredhopper.com> References: <1271008086.14634.9.camel@xentros> <73D2C17D-DC2C-4E14-8065-2D8B7144253E@oracle.com> <1271274408.8664.2.camel@tiamaria.ams.fredhopper.com> Message-ID: <19399.40967.294127.218075@oracle.com> Andreas Kohn (andreas.kohn at fredhopper.com) wrote: > On Mon, 2010-04-12 at 09:58 -0700, Kelly O'Hair wrote: > > You need some of the Sun Studio compiler patches made to 12u1 to build > > hotspot. > > Ah, ok. I'll stick to SS12 then. I'd recommend that for now. There are some mods to hotspot required to compile with ss12u1+patches, including a work around for the assertion failure (the hotspot code was questionable anyway). I don't know if the fix for the assertion is available as a patch to the compiler backend; it may be. > > I'm not exactly sure what that list is yet. I'll CC John, he may know > > that list. Let me know and I can dig up the list. -John > > On Apr 11, 2010, at 10:48 AM, Andreas Kohn wrote: > > > > > Hi, > > > > > > I tried building the latest openjdk forest on opensolaris with the > > > SunStudio 12u1 (from packages), and it failed for both i586 and amd64 > > > builds with an assertion error. > > > Switching to an installation of SunStudio 12 worked without problems. > > > > > > [...] > > > CC -DSOLARIS -DSPARC_WORKS -DAMD64 -DPRODUCT -xF -I../generated/ > > > adfiles > > > -I../generated/jvmtifiles > > > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/asm > > > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/ci > > > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/classfile > > > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/code > > > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/compiler > > > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/ > > > gc_implementation > > > -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/ > > > gc_implementation/parNew -I/export/home/andreas/jdk7/jdk7/hotspot/ > > > src/share/vm/gc_implementation/concurrentMarkSweep -I/export/home/ > > > andreas/jdk7/jdk7/hotspot/src/share/vm/gc_implementation/ > > > parallelScavenge -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/ > > > vm/gc_implementation/shared -I/export/home/andreas/jdk7/jdk7/hotspot/ > > > src/share/vm/gc_implementation/g1 -I/export/home/andreas/jdk7/jdk7/ > > > hotspot/src/share/vm/gc_interface -I/export/home/andreas/jdk7/jdk7/ > > > hotspot/src/share/vm/interpreter -I/export/home/andreas/jdk7/jdk7/ > > > hotspot/src/share/vm/libadt -I/export/home/andreas/jdk7/jdk7/hotspot/ > > > src/share/vm/memory -I/export/home/andreas/jdk7/jdk7/hotspot/src/ > > > share/vm/oops -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/ > > > opto -I/export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/prims -I/ > > > export/home/andreas/jdk7/jdk7/hotspot/src/share/vm/runtime -I/export/ > > > home/andreas/jdk7/jdk7/hotspot/src/share/vm/services -I/export/home/ > > > andreas/jdk7/jdk7/hotspot/src/share/vm/utilities -I/export/home/ > > > andreas/jdk7/jdk7/hotspot/src/cpu/x86/vm -I/export/home/andreas/jdk7/ > > > jdk7/hotspot/src/os/solaris/vm -I/export/home/andreas/jdk7/jdk7/ > > > hotspot/src/os_cpu/solaris_x86/vm -I../generated - > > > DHOTSPOT_RELEASE_VERSION="\"18.0-b02\"" - > > > DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"andreas > > > \"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DJRE_RELEASE_VERSION="\"1.7.0- > > > internal-andreas_2010_04_11_18_54-b00\"" - > > > DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DCOMPILER2 -DSOLARIS_7_OR_LATER - > > > m64 -m64 /export/home/andreas/jdk7/jdk7/hotspot/src/os_cpu/ > > > solaris_x86/vm/solaris_x86_64.il -template=no%extdef -features=no > > > %split_init -D_Crun_inline_placement -library=%none -KPIC -mt -xO4 > > > -DVM_LITTLE_ENDIAN -features=no%except -DHAVE_DTRACE_H - > > > DDTRACE_ENABLED -c -o accessFlags.o /export/home/andreas/jdk7/jdk7/ > > > hotspot/src/share/vm/utilities/accessFlags.cpp > > > > > > assertion failed in function cfg_coalesce_lf_blocks() @ cfg.c:4520 > > > assert(nd_equal_(lab, lf_opnd1_(x_last_lf))) > > > > > > > > > > > > I attached the full build log and sanity messages, here are the > > > versions > > > used: > > > > > > SunOS xentros 5.11 snv_134 i86pc i386 i86pc Solaris > > > cc: Sun C 5.10 SunOS_i386 2009/06/03 > > > CC: Sun C++ 5.10 SunOS_i386 128229-02 2009/09/21 > > > > > > Is this failure known? The error is reproducibly happening, always for > > > accessFlags.cpp. > > > > > > > > > Regards, > > > -- > > > Andreas > > > > > > > -- > Never attribute to malice that which can be adequately explained by > stupidity. -- Hanlon's Razor From ahughes at redhat.com Fri Apr 16 10:14:26 2010 From: ahughes at redhat.com (Andrew John Hughes) Date: Fri, 16 Apr 2010 11:14:26 +0100 Subject: Question on how to properly find all the sources going into a JDK In-Reply-To: References: <4BBE3126.90600@sun.com> Message-ID: On 15 April 2010 21:55, Martin Buchholz wrote: > On Thu, Apr 8, 2010 at 12:40, Joe Darcy wrote: >> Hello. >> >> From time to time, I want to run an annotation processor over all the Java >> sources going into the JDK. ?Annotation processors as compiler plug-ins can >> be used to check various structural properties of the code. ?For example, an >> annotation processor could be used to find potential methods to be converted >> to use var-args. >> >> The goal is to ideally have a single command like >> >> ? javac -proc:only -processor MyProcessor $OTHER_OPTIONS ?`Long list of >> files` >> >> and I wanted to verify the proper way to get the long list of files. ?From >> the root of a JDK 7 forest with a build directory, does >> >> find corba/src \ >> jaxp/drop/jaxp_src \ >> jaxws/drop/jaxws_src \ >> langools/src \ >> jdk/src/share jdk/src/$OS \ >> $BUILDDIR/$PLATFORM/gensrc \ >> -name "*.java" >> >> cover all the files of interest? > > That looks pretty good; > if you wanted to verify its accuracy, > you could build a list of class files > by running jar tf on the jar files in the > images, and correlating with the results > from running find on the source files > as you did above. > > Martin > There are some Java sources in HotSpot as well; hence the need for that patch last week with the source/target settings. -- Andrew :-) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8 From dmdabbs at gmail.com Fri Apr 16 17:24:47 2010 From: dmdabbs at gmail.com (David Dabbs) Date: Fri, 16 Apr 2010 12:24:47 -0500 Subject: JDK build questions Message-ID: <009201cadd89$b7d35960$277a0c20$@com> Hello. My apologies if these questions are OT for this list. On the premise that building my own binaries could yield performance improvements versus the Sun(Oracle)-provided binaries I've decided to tinker with building from source. * My first question is "Is this a reasonable premise?" * If so, is it possible to build using Intel's compiler? * Now that Visual Studio 2010 has been released will there be an option to use it to build the JDK under Windows? * If I build on a recent Xeon with "gcc -march=native ..." would one expect to see performance differences versus the Sun(Oracle)-provided binary to justify the effort? * I have recently been tinkering with Intel's memory allocator and TCMalloc, etc. Would compiling with these be expected to a) even work and b) yield perf improvements worth the effort. Thank you, David Dabbs From martinrb at google.com Fri Apr 16 18:55:42 2010 From: martinrb at google.com (Martin Buchholz) Date: Fri, 16 Apr 2010 11:55:42 -0700 Subject: JDK build questions In-Reply-To: <009201cadd89$b7d35960$277a0c20$@com> References: <009201cadd89$b7d35960$277a0c20$@com> Message-ID: On Fri, Apr 16, 2010 at 10:24, David Dabbs wrote: > > Hello. My apologies if these questions are OT for this list. > > On the premise that building my own binaries could yield performance > improvements versus the Sun(Oracle)-provided binaries I've decided to > tinker with building from source. > > * My first question is "Is this a reasonable premise?" Unlikely, since the code that really counts is generated by the JIT at runtime. The most performance-sensitive native code is probably the GC. > * If so, is it possible to build using Intel's compiler? You'll probably need to port, and to modify some underlying assumptions. I don't recommend it. > * Now that Visual Studio 2010 has been released will there be an > ?option to use it to build the JDK under Windows? > > * If I build on a recent Xeon with "gcc -march=native ..." would one expect > ?to see performance differences versus the Sun(Oracle)-provided binary to > ?justify the effort? > > * I have recently been tinkering with Intel's memory allocator and TCMalloc, > etc. > ?Would compiling with these be expected to a) even work and b) yield perf > ?improvements worth the effort. The JDK doesn't malloc much. I would welcome having more choice of compilers, but I think it's a bigger project than it looks. The IcedTea project has a "configure" infrastructure, that would be more accommodating to your goals. Martin From dmdabbs at gmail.com Fri Apr 16 19:09:31 2010 From: dmdabbs at gmail.com (David Dabbs) Date: Fri, 16 Apr 2010 14:09:31 -0500 Subject: JDK build questions In-Reply-To: References: <009201cadd89$b7d35960$277a0c20$@com> Message-ID: <00c001cadd98$58b33ef0$0a19bcd0$@com> > Subject: Re: JDK build questions > > On Fri, Apr 16, 2010 at 10:24, David Dabbs wrote: > > > > On the premise that building my own binaries could yield performance > > improvements versus the Sun(Oracle)-provided binaries I've decided to > > tinker with building from source. > > > > * My first question is "Is this a reasonable premise?" > > Unlikely, since the code that really counts is generated > by the JIT at runtime. The most performance-sensitive > native code is probably the GC. > Since GC performance is important to me there may still be some relevance, I suppose. > > * If so, is it possible to build using Intel's compiler? > > You'll probably need to port, and to modify > some underlying assumptions. > I don't recommend it. > I'm not sure I understand your reference to "port." The Intel compiler is available on both Windows as well as Linux. > > * Now that Visual Studio 2010 has been released will there be an > > ?option to use it to build the JDK under Windows? > > > > * If I build on a recent Xeon with "gcc -march=native ..." would one > expect > > ?to see performance differences versus the Sun(Oracle)-provided > binary to > > ?justify the effort? > > > > * I have recently been tinkering with Intel's memory allocator and > TCMalloc, > > etc. > > ?Would compiling with these be expected to a) even work and b) yield > perf > > ?improvements worth the effort. > > The JDK doesn't malloc much. > Perhaps my wording was inaccurate. The JDK may not malloc much, but if memory serves, the runtime uses a TLAB mechanism that might be enhanced for Intel multi-core by, say, Intel's TBB's "scalable allocator". http://www.intel.com/technology/itj/2007/v11i4/5-foundations/5-memory.htm > I would welcome having more choice of compilers, > but I think it's a bigger project than it looks. > > The IcedTea project has a "configure" infrastructure, > that would be more accommodating to your goals. > > Martin Thank you for the pointer. I will look into IcedTea. Best, David From martinrb at google.com Fri Apr 16 19:20:00 2010 From: martinrb at google.com (Martin Buchholz) Date: Fri, 16 Apr 2010 12:20:00 -0700 Subject: JDK build questions In-Reply-To: <00c001cadd98$58b33ef0$0a19bcd0$@com> References: <009201cadd89$b7d35960$277a0c20$@com> <00c001cadd98$58b33ef0$0a19bcd0$@com> Message-ID: On Fri, Apr 16, 2010 at 12:09, David Dabbs wrote: >> > * If so, is it possible to build using Intel's compiler? >> >> You'll probably need to port, and to modify >> some underlying assumptions. >> I don't recommend it. >> > > I'm not sure I understand your reference to "port." The Intel > compiler is available on both Windows as well as Linux. What I mean is that you will need to port the JDK Makefiles and source code. You will need to find the (many) places where the code assumes that gcc is used on linux or that microsoft's compiler is used on windows. Also, don't expect to be able to run any 3rd-party native code in your new JDK via JNI, unless it has also been compiled using intel cc. Martin From kelly.ohair at oracle.com Fri Apr 16 20:55:17 2010 From: kelly.ohair at oracle.com (Kelly O'Hair) Date: Fri, 16 Apr 2010 13:55:17 -0700 Subject: JDK build questions In-Reply-To: <009201cadd89$b7d35960$277a0c20$@com> References: <009201cadd89$b7d35960$277a0c20$@com> Message-ID: On Apr 16, 2010, at 10:24 AM, David Dabbs wrote: > > Hello. My apologies if these questions are OT for this list. > > On the premise that building my own binaries could yield performance > improvements versus the Sun(Oracle)-provided binaries I've decided to > tinker with building from source. > > * My first question is "Is this a reasonable premise?" Possibly. Might be worth investigating. > > * If so, is it possible to build using Intel's compiler? I have no idea. Certainly not without changing makefiles to some degree, unless it completely 100% mimics a Visual Studio 2003 compiler. > > > * Now that Visual Studio 2010 has been released will there be an > option to use it to build the JDK under Windows? Our plans have always been to advance OpenJDK7 to use a newer Visual Studio compiler, 2010 would be a good choice, but it will take time to check it out and get it all working. Stay tuned. > > * If I build on a recent Xeon with "gcc -march=native ..." would one > expect > to see performance differences versus the Sun(Oracle)-provided > binary to > justify the effort? > Not sure. This probably would have no impact on the code generated by the VM at runtime, but it might improve the speed of GC code or maybe some of the JNI libraries. Assuming the optimizations don't break something somewhere. So it kind of depends on what the benchmark you would use does. > * I have recently been tinkering with Intel's memory allocator and > TCMalloc, > etc. > Would compiling with these be expected to a) even work and b) yield > perf > improvements worth the effort. Completely unknown to me. So often the raw performance comes down to the VM generated code -kto > > > > Thank you, > > David Dabbs > > > From john.r.rose at oracle.com Fri Apr 16 21:17:02 2010 From: john.r.rose at oracle.com (John Rose) Date: Fri, 16 Apr 2010 14:17:02 -0700 Subject: JDK build questions In-Reply-To: References: <009201cadd89$b7d35960$277a0c20$@com> Message-ID: <1646A96D-0375-49B6-A930-4FACB8DD8585@oracle.com> On Apr 16, 2010, at 1:55 PM, Kelly O'Hair wrote: > So often the raw performance comes down to the VM generated code Yes, that's the main story. Performance is strongly determined by code generated by the dynamic compiler (aka "JIT"). C++-generated instructions are rarely executed, apart from the GC. If we find C++-generated code getting executed in a hot path, we take it over into either VM-compiled code or hand-written assembly. (For an example of the latter, see the arraycopy stubs.) The next most likely bottleneck, IMO, is memory system effects. Occasionally there is a significant effect from the GC code written in C++, so the GC code gets a good share of tweaking. (E.g., see oopDesc::size_given_klass and related functions.) It's rare to find significant overheads in the other C++ code, except during startup. (Therefore the classfile parsing code has received tuning.) -- John From ray at ganymede.org Sat Apr 17 20:35:30 2010 From: ray at ganymede.org (Ray Kiddy) Date: Sat, 17 Apr 2010 13:35:30 -0700 Subject: building and using tests? Message-ID: I am wondering if there has been any change in the policy on the availability of the infrastructure for building and running tests. It is great that so much of the OpenJDK and the build effort is open, but while there is a separate and much more restrictive access policy for the test harness, I am not going to bother with it. I do not have time to work on something where it is not easy to run tests. Or am I misunderstanding the policies? If not, I will wait and continue to lurk, until the day this finally does become, you know, open. thanx - ray From kelly.ohair at oracle.com Sat Apr 17 20:51:53 2010 From: kelly.ohair at oracle.com (Kelly O'Hair) Date: Sat, 17 Apr 2010 13:51:53 -0700 Subject: building and using tests? In-Reply-To: References: Message-ID: <1EB1A03A-A485-4FB1-A032-F5DCF06D6F95@oracle.com> JTREG source: http://openjdk.java.net/jtreg/build.html Using the jdk/test/Makefile (runs jtreg): http://mail.openjdk.java.net/pipermail/build-dev/2009-December/002662.html -kto On Apr 17, 2010, at 1:35 PM, Ray Kiddy wrote: > > I am wondering if there has been any change in the policy on the > availability of the infrastructure for building and running tests. > > It is great that so much of the OpenJDK and the build effort is > open, but while there is a separate and much more restrictive access > policy for the test harness, I am not going to bother with it. I do > not have time to work on something where it is not easy to run > tests. Or am I misunderstanding the policies? > > If not, I will wait and continue to lurk, until the day this finally > does become, you know, open. > > thanx - ray > From ray at ganymede.org Sat Apr 17 21:47:45 2010 From: ray at ganymede.org (Ray Kiddy) Date: Sat, 17 Apr 2010 14:47:45 -0700 Subject: building and using tests? In-Reply-To: <1EB1A03A-A485-4FB1-A032-F5DCF06D6F95@oracle.com> References: <1EB1A03A-A485-4FB1-A032-F5DCF06D6F95@oracle.com> Message-ID: On Apr 17, 2010, at 1:51 PM, Kelly O'Hair wrote: > > JTREG source: > http://openjdk.java.net/jtreg/build.html > > Using the jdk/test/Makefile (runs jtreg): > http://mail.openjdk.java.net/pipermail/build-dev/2009-December/002662.html > > -kto Well. What do you know. I talked about testing in this group and asked specifically about this in the qa list at the end of December of 2009, and I thought I was told the test infrastructure was part of the JCK and that extra signups were needed for that. I guess that I misunderstood. I will see about adding something to the build wiki so that others are not confused also. And since I am on Snow Leopard now, I will probably have to figure out the differences and add or update that also. We'll see. thanx - ray > > On Apr 17, 2010, at 1:35 PM, Ray Kiddy wrote: > >> >> I am wondering if there has been any change in the policy on the availability of the infrastructure for building and running tests. >> >> It is great that so much of the OpenJDK and the build effort is open, but while there is a separate and much more restrictive access policy for the test harness, I am not going to bother with it. I do not have time to work on something where it is not easy to run tests. Or am I misunderstanding the policies? >> >> If not, I will wait and continue to lurk, until the day this finally does become, you know, open. >> >> thanx - ray >> > > From kelly.ohair at oracle.com Sat Apr 17 21:56:53 2010 From: kelly.ohair at oracle.com (Kelly O'Hair) Date: Sat, 17 Apr 2010 14:56:53 -0700 Subject: building and using tests? In-Reply-To: References: <1EB1A03A-A485-4FB1-A032-F5DCF06D6F95@oracle.com> Message-ID: <24BBE2E6-3349-41C3-A5A6-0F1F58FFA025@oracle.com> These are just the jdk regression tests in the jdk/test directory. There are also langtools/test regression tests too. -kto On Apr 17, 2010, at 2:47 PM, Ray Kiddy wrote: > > On Apr 17, 2010, at 1:51 PM, Kelly O'Hair wrote: > >> >> JTREG source: >> http://openjdk.java.net/jtreg/build.html >> >> Using the jdk/test/Makefile (runs jtreg): >> http://mail.openjdk.java.net/pipermail/build-dev/2009-December/002662.html >> >> -kto > > > Well. What do you know. I talked about testing in this group and > asked specifically about this in the qa list at the end of December > of 2009, and I thought I was told the test infrastructure was part > of the JCK and that extra signups were needed for that. I guess that > I misunderstood. > > I will see about adding something to the build wiki so that others > are not confused also. > > And since I am on Snow Leopard now, I will probably have to figure > out the differences and add or update that also. We'll see. > > thanx - ray > >> >> On Apr 17, 2010, at 1:35 PM, Ray Kiddy wrote: >> >>> >>> I am wondering if there has been any change in the policy on the >>> availability of the infrastructure for building and running tests. >>> >>> It is great that so much of the OpenJDK and the build effort is >>> open, but while there is a separate and much more restrictive >>> access policy for the test harness, I am not going to bother with >>> it. I do not have time to work on something where it is not easy >>> to run tests. Or am I misunderstanding the policies? >>> >>> If not, I will wait and continue to lurk, until the day this >>> finally does become, you know, open. >>> >>> thanx - ray >>> >> >> > From erik.trimble at oracle.com Mon Apr 19 02:57:52 2010 From: erik.trimble at oracle.com (Erik Trimble) Date: Sun, 18 Apr 2010 19:57:52 -0700 Subject: building and using tests? In-Reply-To: <24BBE2E6-3349-41C3-A5A6-0F1F58FFA025@oracle.com> References: <1EB1A03A-A485-4FB1-A032-F5DCF06D6F95@oracle.com> <24BBE2E6-3349-41C3-A5A6-0F1F58FFA025@oracle.com> Message-ID: <4BCBC6B0.5040802@oracle.com> Kelly O'Hair wrote: > These are just the jdk regression tests in the jdk/test directory. > There are also langtools/test regression tests too. > > -kto > In most of the repos, there's a top-level directory named "test", which contains the regression/unit tests for a whole bunch of stuff. However, IIRC, the JCK itself still isn't available to non-licensees, and we have a significant number of tests which are non-free (they're owned by someone else and we can't give them away), that we haven't had time to audit them for free-ness, or are very licensee-specific (and contain confidential info). The first and second categories obviously are never going to be made publicly available. The second category is slowly getting smaller, as people eventually look at the stuff and move it over into the free sections, but honestly, it's a very low priority. Frankly, we're still trying to get around to doing a full test audit to see if we actually need to even run everything we're doing right now (and, if we should start adding some other stuff for better coverage). Other than the full JCK suite, what is in the "test" directories should suffice for the vast majority of folks - they're fairly comprehensive, and cover a lot of ground. If they're not good enough, well, might I direct you over here to the licensee-section of the company.... -- Erik Trimble Java System Support Mailstop: usca22-123 Phone: x17195 Santa Clara, CA Timezone: US/Pacific (GMT-0800) From Thomas.Salter at unisys.com Mon Apr 19 13:27:07 2010 From: Thomas.Salter at unisys.com (Salter, Thomas A) Date: Mon, 19 Apr 2010 08:27:07 -0500 Subject: building and using tests? In-Reply-To: <4BCBC6B0.5040802@oracle.com> References: <1EB1A03A-A485-4FB1-A032-F5DCF06D6F95@oracle.com> <24BBE2E6-3349-41C3-A5A6-0F1F58FFA025@oracle.com> <4BCBC6B0.5040802@oracle.com> Message-ID: Am I right that the jtreg tests run in the build environment and require gnu make? If so, they can't replace the JCK for those of us who cross-compile to a target system which doesn't support gnu make or an appropriate unix-style shell. -----Original Message----- From: build-dev-bounces at openjdk.java.net [mailto:build-dev-bounces at openjdk.java.net] On Behalf Of Erik Trimble Sent: Sunday, April 18, 2010 10:58 PM Cc: build-dev at openjdk.java.net Subject: Re: building and using tests? Kelly O'Hair wrote: > These are just the jdk regression tests in the jdk/test directory. > There are also langtools/test regression tests too. > > -kto > In most of the repos, there's a top-level directory named "test", which contains the regression/unit tests for a whole bunch of stuff. However, IIRC, the JCK itself still isn't available to non-licensees, and we have a significant number of tests which are non-free (they're owned by someone else and we can't give them away), that we haven't had time to audit them for free-ness, or are very licensee-specific (and contain confidential info). The first and second categories obviously are never going to be made publicly available. The second category is slowly getting smaller, as people eventually look at the stuff and move it over into the free sections, but honestly, it's a very low priority. Frankly, we're still trying to get around to doing a full test audit to see if we actually need to even run everything we're doing right now (and, if we should start adding some other stuff for better coverage). Other than the full JCK suite, what is in the "test" directories should suffice for the vast majority of folks - they're fairly comprehensive, and cover a lot of ground. If they're not good enough, well, might I direct you over here to the licensee-section of the company.... -- Erik Trimble Java System Support Mailstop: usca22-123 Phone: x17195 Santa Clara, CA Timezone: US/Pacific (GMT-0800) From kelly.ohair at oracle.com Mon Apr 19 16:54:28 2010 From: kelly.ohair at oracle.com (Kelly O'Hair) Date: Mon, 19 Apr 2010 09:54:28 -0700 Subject: building and using tests? In-Reply-To: References: <1EB1A03A-A485-4FB1-A032-F5DCF06D6F95@oracle.com> <24BBE2E6-3349-41C3-A5A6-0F1F58FFA025@oracle.com> <4BCBC6B0.5040802@oracle.com> Message-ID: <540A2151-5F84-413A-96D4-A8F5130D059E@oracle.com> jtreg is a test harness, the GNU Makefile is just being used to run jtreg. Nothing is "replacing the JCK" here, has nothing to do with the JCK at all. It's just a way for developers to use the regression tests in the repositories to test the jdk they have built. It's not a cross-compilation testing solution. -kto On Apr 19, 2010, at 6:27 AM, Salter, Thomas A wrote: > Am I right that the jtreg tests run in the build environment and > require gnu make? If so, they can't replace the JCK for those of us > who cross-compile to a target system which doesn't support gnu make > or an appropriate unix-style shell. > > > > -----Original Message----- > From: build-dev-bounces at openjdk.java.net [mailto:build-dev-bounces at openjdk.java.net > ] On Behalf Of Erik Trimble > Sent: Sunday, April 18, 2010 10:58 PM > Cc: build-dev at openjdk.java.net > Subject: Re: building and using tests? > > Kelly O'Hair wrote: >> These are just the jdk regression tests in the jdk/test directory. >> There are also langtools/test regression tests too. >> >> -kto >> > > In most of the repos, there's a top-level directory named "test", > which > contains the regression/unit tests for a whole bunch of stuff. > > However, IIRC, the JCK itself still isn't available to non-licensees, > and we have a significant number of tests which are non-free (they're > owned by someone else and we can't give them away), that we haven't > had > time to audit them for free-ness, or are very licensee-specific (and > contain confidential info). The first and second categories obviously > are never going to be made publicly available. The second category is > slowly getting smaller, as people eventually look at the stuff and > move > it over into the free sections, but honestly, it's a very low > priority. > Frankly, we're still trying to get around to doing a full test audit > to > see if we actually need to even run everything we're doing right now > (and, if we should start adding some other stuff for better coverage). > > > > Other than the full JCK suite, what is in the "test" directories > should > suffice for the vast majority of folks - they're fairly comprehensive, > and cover a lot of ground. If they're not good enough, well, might I > direct you over here to the licensee-section of the company.... > > -- > Erik Trimble > Java System Support > Mailstop: usca22-123 > Phone: x17195 > Santa Clara, CA > Timezone: US/Pacific (GMT-0800) > From Alan.Bateman at Sun.COM Tue Apr 20 07:32:14 2010 From: Alan.Bateman at Sun.COM (Alan Bateman) Date: Tue, 20 Apr 2010 08:32:14 +0100 Subject: 6939646 Remove obsolete com.sun.corba.se.internal.io package Message-ID: <4BCD587E.5020003@sun.com> Kelly - do you mind reviewing this? It's a change to the corba repo so that it doesn't build libioser. It hasn't been needed since jdk5 and the builds don't even include it anymore (since CORBA was split out into its own repo). http://cr.openjdk.java.net/~alanb/6939646/webrev.00/ Thanks, Alan. From deepak2427 at gmail.com Tue Apr 20 07:49:45 2010 From: deepak2427 at gmail.com (Deepak Panickal) Date: Tue, 20 Apr 2010 13:19:45 +0530 Subject: Successful cross compilation of OpenJDK for x86_64 on 32 bit host Message-ID: Hi, My goal was to successfully cross compile OpenJDK for x86_64 on 32 bit host , Linux Platform. I also wanted to separate some third party library dependencies from the build process. I made changes in the makefiles which contained hard coded values pertaining to the host machine. Even now the changes are not completely automated. But I could do that soon. Could I publish these changes somewhere so that it could be made available in the later builds. What would be the proper format and method to do so. Thanks and Regards, Deepak Mathews Panickal -------------- next part -------------- An HTML attachment was scrubbed... URL: From kelly.ohair at oracle.com Tue Apr 20 16:26:29 2010 From: kelly.ohair at oracle.com (Kelly O'Hair) Date: Tue, 20 Apr 2010 09:26:29 -0700 Subject: 6939646 Remove obsolete com.sun.corba.se.internal.io package In-Reply-To: <4BCD587E.5020003@sun.com> References: <4BCD587E.5020003@sun.com> Message-ID: Looks fine to me. -kto On Apr 20, 2010, at 12:32 AM, Alan Bateman wrote: > > Kelly - do you mind reviewing this? It's a change to the corba repo > so that it doesn't build libioser. It hasn't been needed since jdk5 > and the builds don't even include it anymore (since CORBA was split > out into its own repo). > > http://cr.openjdk.java.net/~alanb/6939646/webrev.00/ > > Thanks, > Alan. From kelly.ohair at oracle.com Tue Apr 20 16:32:07 2010 From: kelly.ohair at oracle.com (Kelly O'Hair) Date: Tue, 20 Apr 2010 09:32:07 -0700 Subject: Successful cross compilation of OpenJDK for x86_64 on 32 bit host In-Reply-To: References: Message-ID: <3F4CFD14-F6BD-4C5C-8097-785ADD1EDC48@oracle.com> See: http://openjdk.java.net/contribute/ Not exactly sure how Oracle is handling the SCA right now, but an SCA is needed for us to accept any contribution. -kto On Apr 20, 2010, at 12:49 AM, Deepak Panickal wrote: > Hi, > > My goal was to successfully cross compile OpenJDK for x86_64 on 32 > bit host , Linux Platform. > > I also wanted to separate some third party library dependencies from > the build process. I made changes in the makefiles which contained > hard coded values pertaining to the host machine. Even now the > changes are not completely automated. But I could do that soon. > > Could I publish these changes somewhere so that it could be made > available in the later builds. > What would be the proper format and method to do so. > > Thanks and Regards, > Deepak Mathews Panickal > > From raffaello.giulietti at gmail.com Wed Apr 21 12:58:16 2010 From: raffaello.giulietti at gmail.com (Raffaello Giulietti) Date: Wed, 21 Apr 2010 14:58:16 +0200 Subject: Building with MinGW? Message-ID: <4BCEF668.7090705@gmail.com> Hello, I'm wondering if anybody has already tried to build OpenJDK7 on Windows using the MinGW suite. * Is there anything known to be a hard to circumvent show stopper? * Is it known why Visual C++ is still the reference build system on Windows? Thanks Raffaello From kelly.ohair at oracle.com Wed Apr 21 16:40:54 2010 From: kelly.ohair at oracle.com (Kelly O'Hair) Date: Wed, 21 Apr 2010 09:40:54 -0700 Subject: Building with MinGW? In-Reply-To: <4BCEF668.7090705@gmail.com> References: <4BCEF668.7090705@gmail.com> Message-ID: <99BEE236-F590-4CCE-AE6C-8613CD28DD12@oracle.com> On Apr 21, 2010, at 5:58 AM, Raffaello Giulietti wrote: > Hello, > > I'm wondering if anybody has already tried to build OpenJDK7 on > Windows > using the MinGW suite. If they have, I never heard from them. > > * Is there anything known to be a hard to circumvent show stopper? To me the basic problem is that with "Windows" it is hard to separate the code dependencies on the OS, some Windows SDK, something specific to Visual Studio, etc. I'm not saying it would be impossible, but it is not a simple change and parts of the jdk might be very difficult to disconnect from Visual Studio dependencies. The code has assumed Visual Studio for a long long time. If someone did it, and we were able to build either way, and the changes weren't too outrageous, I'm sure we consider accepting that contribution. But I just don't think it will be that simple. > * Is it known why Visual C++ is still the reference build system on > Windows? It was probably chosen as the defacto standard on Windows a long time ago and there was never any value in changing that. The performance was probably a key issue, and whether or not you could convert to a different compiler set, before the official builds would ever change you would need some very detailed performance measurements to verify no loss of performance. That's not an easy job, or simple either. --- Any change to the compilers used to create the binary JDKs we distribute is always a change made very carefully. It might provide significant benefits, but the hidden dangers are often difficult to find and diagnose. I know this binary distribution model is of less interest to some who just want to build the openjdk source for a particular platform, but it certainly is a critical issue for us. Compiler changes are carefully tracked. -kto > > Thanks > Raffaello From michael.wilkerson at sun.com Thu Apr 22 02:58:21 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Thu, 22 Apr 2010 02:58:21 +0000 Subject: hg: jdk7/build: Added tag jdk7-b89 for changeset 7f1ba4459972 Message-ID: <20100422025821.6AB9E4464D@hg.openjdk.java.net> Changeset: 425ba3efabbf Author: mikejwre Date: 2010-04-15 13:54 -0700 URL: http://hg.openjdk.java.net/jdk7/build/rev/425ba3efabbf Added tag jdk7-b89 for changeset 7f1ba4459972 ! .hgtags From michael.wilkerson at sun.com Thu Apr 22 02:58:26 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Thu, 22 Apr 2010 02:58:26 +0000 Subject: hg: jdk7/build/corba: Added tag jdk7-b89 for changeset bb4424c5e778 Message-ID: <20100422025828.9D26C4464E@hg.openjdk.java.net> Changeset: 56ce07b0eb47 Author: mikejwre Date: 2010-04-15 13:54 -0700 URL: http://hg.openjdk.java.net/jdk7/build/corba/rev/56ce07b0eb47 Added tag jdk7-b89 for changeset bb4424c5e778 ! .hgtags From michael.wilkerson at sun.com Thu Apr 22 02:59:33 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Thu, 22 Apr 2010 02:59:33 +0000 Subject: hg: jdk7/build/hotspot: 33 new changesets Message-ID: <20100422030116.DCF924464F@hg.openjdk.java.net> Changeset: 765578777b6e Author: mikejwre Date: 2010-04-15 13:54 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/765578777b6e Added tag jdk7-b89 for changeset 15836273ac24 ! .hgtags Changeset: 4c78b7c16824 Author: trims Date: 2010-04-15 19:08 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/4c78b7c16824 6944398: Bump the HS18 build number to 03 Summary: Update the HS18 build number to 03 Reviewed-by: jcoomes ! make/hotspot_version Changeset: fdd57634910e Author: never Date: 2010-03-18 14:31 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/fdd57634910e 6926979: should simplify catch_inline_exception Reviewed-by: twisti ! src/share/vm/opto/doCall.cpp ! src/share/vm/opto/parse.hpp ! src/share/vm/opto/parse1.cpp ! src/share/vm/runtime/globals.hpp Changeset: 747d26efc5fa Author: twisti Date: 2010-03-30 00:57 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/747d26efc5fa 6939180: Zero locking fix Summary: When Zero is running with Shark enabled threads can be left with their _do_not_unlock_if_synchronized flag incorrectly set. Reviewed-by: twisti Contributed-by: Gary Benson ! src/cpu/zero/vm/cppInterpreter_zero.cpp Changeset: 47742b654fcb Author: twisti Date: 2010-03-31 08:03 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/47742b654fcb 6939731: JSR 292 Zero build fix after 6934494 Summary: The changes of 6934494 have broken the Zero build. Reviewed-by: twisti Contributed-by: Gary Benson ! src/cpu/zero/vm/methodHandles_zero.cpp ! src/cpu/zero/vm/stubRoutines_zero.hpp Changeset: f61d795ce6de Author: never Date: 2010-03-31 11:54 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/f61d795ce6de 6939845: zero needs fallback path in C++ interpreter for platform dependent fast bytecodes Reviewed-by: never Contributed-by: ed at camswl.com ! src/share/vm/interpreter/bytecodeInterpreter.cpp Changeset: 7f4deda46b04 Author: never Date: 2010-03-31 16:29 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/7f4deda46b04 Merge Changeset: 547cbe6dacc5 Author: never Date: 2010-04-01 16:06 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/547cbe6dacc5 6936709: AsyncGetCallTrace doesn't handle inexact stack walking properly Reviewed-by: kvn ! src/share/vm/prims/forte.cpp Changeset: 1c9c45172908 Author: kvn Date: 2010-04-02 11:55 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/1c9c45172908 6939804: ciConstant::print() prints incorrect bool value Summary: Fix typo. Reviewed-by: never ! src/share/vm/ci/ciConstant.cpp Changeset: 9bb91718aaf2 Author: kvn Date: 2010-04-02 15:55 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/9bb91718aaf2 Merge ! src/share/vm/runtime/globals.hpp Changeset: 895d9ade6111 Author: asaha Date: 2010-04-06 22:06 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/895d9ade6111 Merge ! src/share/vm/opto/type.cpp Changeset: a2ea687fdc7c Author: coleenp Date: 2010-03-31 16:51 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/a2ea687fdc7c 6938627: Make temporary directory use property java.io.tmpdir when specified Summary: Get java.io.tmpdir property in os::get_temp_directory() and call this instead of harcoding "/tmp". Don't assume trailing file_separator either. Reviewed-by: dholmes, kamg ! src/os/linux/vm/attachListener_linux.cpp ! src/os/linux/vm/os_linux.cpp ! src/os/linux/vm/perfMemory_linux.cpp ! src/os/solaris/vm/attachListener_solaris.cpp ! src/os/solaris/vm/os_solaris.cpp ! src/os/solaris/vm/perfMemory_solaris.cpp ! src/os/windows/vm/os_windows.cpp ! src/os/windows/vm/perfMemory_windows.cpp ! src/share/vm/compiler/compileBroker.cpp ! src/share/vm/utilities/ostream.cpp ! src/share/vm/utilities/vmError.cpp Changeset: 0fd6320854d3 Author: jcoomes Date: 2010-04-02 17:04 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/0fd6320854d3 Merge Changeset: 6ccd32c284ac Author: kamg Date: 2010-04-07 12:28 -0400 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/6ccd32c284ac Merge Changeset: 56507bcd639e Author: tonyp Date: 2010-03-30 15:36 -0400 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/56507bcd639e 6937160: G1: should observe GCTimeRatio Summary: Remove the G1GCPercent parameter, that specifies the desired GC overhead percentage in G1, and observe the GCTimeRatio parameter instead. Reviewed-by: jmasa, johnc ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp ! src/share/vm/gc_implementation/g1/g1_globals.hpp ! src/share/vm/runtime/arguments.cpp Changeset: 781e29eb8e08 Author: tonyp Date: 2010-04-02 12:10 -0400 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/781e29eb8e08 6677708: G1: re-enable parallel RSet updating and scanning Summary: Enable parallel RSet updating and scanning. Reviewed-by: iveresov, jmasa ! src/share/vm/gc_implementation/g1/g1_globals.hpp Changeset: 72f725c5a7be Author: tonyp Date: 2010-04-05 12:19 -0400 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/72f725c5a7be 6940310: G1: MT-unsafe calls to CM::region_stack_push() / CM::region_stack_pop() Summary: Calling the methods region_stack_push() and region_stack_pop() concurrent is not MT-safe. The assumption is that we will only call region_stack_push() during a GC pause and region_stack_pop() during marking. Unfortunately, we also call region_stack_push() during marking which seems to be introducing subtle marking failures. This change introduces lock-based methods for pushing / popping to be called during marking. Reviewed-by: iveresov, johnc ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/concurrentMark.hpp ! src/share/vm/runtime/mutexLocker.cpp ! src/share/vm/runtime/mutexLocker.hpp Changeset: 23b1b27ac76c Author: tonyp Date: 2010-04-06 10:59 -0400 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/23b1b27ac76c 6909756: G1: guarantee(G1CollectedHeap::heap()->mark_in_progress(),"Precondition.") Summary: Make sure that two marking cycles do not overlap, i.e., a new one can only start after the concurrent marking thread finishes all its work. In the fix I piggy-back a couple of minor extra fixes: some general code reformatting for consistency (only around the code I modified), the removal of a field (G1CollectorPolicy::_should_initiate_conc_mark) which doesn't seem to be used at all (it's only set but never read), as well as moving the "is GC locker active" test earlier into the G1 pause / Full GC and using a more appropriate method for it. Reviewed-by: johnc, jmasa, jcoomes, ysr ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/concurrentMarkThread.hpp ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp ! src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp Changeset: bda703475ded Author: johnc Date: 2010-04-07 11:43 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/bda703475ded 6940894: G1: assert(new_obj != 0 || ... "should be forwarded") for compaction tests Summary: Humongous regions may contain multiple objects as a result of being retained as to-space from a previous GC and then re-used as to-space after being tagged as humongous. These changes include a check that causes retained to-space regions that are now tagged as humongous to be disregarded and a new to-space region allocated. Reviewed-by: tonyp, iveresov ! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp Changeset: 6b73e879f1c2 Author: tonyp Date: 2010-04-09 13:08 -0400 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/6b73e879f1c2 Merge Changeset: e4c77b879561 Author: tonyp Date: 2010-04-09 15:01 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/e4c77b879561 Merge Changeset: ed4f78aa9282 Author: twisti Date: 2010-04-06 13:39 +0200 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/ed4f78aa9282 6940520: CodeCache::scavenge_root_nmethods_do must fix oop relocations Summary: ScavengeRootsInCode can lead to unfixed code-embedded oops. Reviewed-by: kvn, never ! src/share/vm/code/codeCache.cpp Changeset: 0dc88ad3244e Author: kvn Date: 2010-04-06 15:18 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/0dc88ad3244e 6940677: Use 64 bytes chunk copy for arraycopy on Sparc Summary: For large arrays we should use 64 bytes chunks copy. Reviewed-by: twisti ! src/cpu/sparc/vm/stubGenerator_sparc.cpp Changeset: 6476042f815c Author: kvn Date: 2010-04-07 09:37 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/6476042f815c 6940701: Don't align loops in stubs for Niagara sparc Summary: Don't align loops in stubs for Niagara sparc since NOPs are expensive. Reviewed-by: twisti, never ! src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp ! src/cpu/sparc/vm/c2_globals_sparc.hpp ! src/cpu/sparc/vm/globals_sparc.hpp ! src/cpu/sparc/vm/stubGenerator_sparc.cpp ! src/cpu/sparc/vm/vm_version_sparc.cpp ! src/cpu/x86/vm/c2_globals_x86.hpp ! src/cpu/x86/vm/globals_x86.hpp ! src/cpu/x86/vm/stubGenerator_x86_32.cpp ! src/cpu/x86/vm/stubGenerator_x86_64.cpp ! src/share/vm/opto/c2_globals.hpp ! src/share/vm/runtime/globals.hpp Changeset: b9d85fcdf743 Author: kvn Date: 2010-04-07 10:35 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/b9d85fcdf743 6940733: allocate non static oop fields in super and sub classes together Summary: Use FieldsAllocationStyle=2 to allocate non static oop fields in super and sub classes together Reviewed-by: twisti ! src/share/vm/classfile/classFileParser.cpp ! src/share/vm/runtime/globals.hpp Changeset: 9e321dcfa5b7 Author: kvn Date: 2010-04-07 12:39 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/9e321dcfa5b7 6940726: Use BIS instruction for allocation prefetch on Sparc Summary: Use BIS instruction for allocation prefetch on Sparc Reviewed-by: twisti ! src/cpu/sparc/vm/sparc.ad ! src/cpu/sparc/vm/vm_version_sparc.cpp ! src/share/vm/memory/threadLocalAllocBuffer.hpp ! src/share/vm/opto/macro.cpp ! src/share/vm/opto/memnode.hpp ! src/share/vm/runtime/globals.hpp Changeset: 93767e6a2dfd Author: twisti Date: 2010-04-08 10:55 +0200 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/93767e6a2dfd 6941529: SharedRuntime::raw_exception_handler_for_return_address must reset thread MethodHandle flag Summary: During testing a bug was hit when an exception returned to the interpreter and the SP was wrong. Reviewed-by: kvn, never ! src/cpu/x86/vm/c1_Runtime1_x86.cpp ! src/cpu/x86/vm/runtime_x86_32.cpp ! src/cpu/x86/vm/sharedRuntime_x86_64.cpp ! src/cpu/x86/vm/stubGenerator_x86_32.cpp ! src/share/vm/opto/runtime.cpp ! src/share/vm/runtime/sharedRuntime.cpp ! src/share/vm/runtime/thread.hpp Changeset: 0a43776437b6 Author: iveresov Date: 2010-04-08 12:13 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/0a43776437b6 6942223: c1 64 bit fixes Summary: This fixes lir_cmp_l2i on x64 and sparc 64bit, and the debug info generation. Reviewed-by: never ! src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp ! src/cpu/x86/vm/assembler_x86.cpp ! src/cpu/x86/vm/c1_LIRAssembler_x86.cpp ! src/share/vm/c1/c1_LinearScan.cpp Changeset: 213fbcf54799 Author: jrose Date: 2010-04-08 17:45 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/213fbcf54799 Merge Changeset: fc3cd2277dc7 Author: jrose Date: 2010-04-13 13:01 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/fc3cd2277dc7 Merge Changeset: e16cca0aa5e1 Author: trims Date: 2010-04-15 19:08 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/e16cca0aa5e1 Merge Changeset: 25f53b53aaa3 Author: trims Date: 2010-04-15 19:09 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/25f53b53aaa3 Added tag hs18-b02 for changeset 4b60f23c4223 ! .hgtags Changeset: 605c9707a766 Author: trims Date: 2010-04-20 21:38 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/605c9707a766 Merge ! .hgtags From michael.wilkerson at sun.com Thu Apr 22 03:05:41 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Thu, 22 Apr 2010 03:05:41 +0000 Subject: hg: jdk7/build/jaxp: Added tag jdk7-b89 for changeset d2818fd2b036 Message-ID: <20100422030542.0F24244650@hg.openjdk.java.net> Changeset: c5d932ee326d Author: mikejwre Date: 2010-04-15 13:54 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jaxp/rev/c5d932ee326d Added tag jdk7-b89 for changeset d2818fd2b036 ! .hgtags From michael.wilkerson at sun.com Thu Apr 22 03:05:47 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Thu, 22 Apr 2010 03:05:47 +0000 Subject: hg: jdk7/build/jaxws: Added tag jdk7-b89 for changeset bf3675aa7f20 Message-ID: <20100422030547.DD2CF44651@hg.openjdk.java.net> Changeset: ead7c4566a00 Author: mikejwre Date: 2010-04-15 13:54 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jaxws/rev/ead7c4566a00 Added tag jdk7-b89 for changeset bf3675aa7f20 ! .hgtags From michael.wilkerson at sun.com Thu Apr 22 03:05:55 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Thu, 22 Apr 2010 03:05:55 +0000 Subject: hg: jdk7/build/jdk: Added tag jdk7-b89 for changeset 4a6abb7e224c Message-ID: <20100422030626.008B044652@hg.openjdk.java.net> Changeset: 7f90d0b9dbb7 Author: mikejwre Date: 2010-04-15 13:55 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/7f90d0b9dbb7 Added tag jdk7-b89 for changeset 4a6abb7e224c ! .hgtags From deepak2427 at gmail.com Thu Apr 22 03:07:40 2010 From: deepak2427 at gmail.com (Deepak Panickal) Date: Thu, 22 Apr 2010 08:37:40 +0530 Subject: Security vulnerabilities and patches announcements in OpenJDK Message-ID: Hi, I was wondering how are security vulnerabilities and patches announcements made in OpenJDK. Could somebody please guide me in this. Regards, Deepak -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.wilkerson at sun.com Thu Apr 22 03:10:36 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Thu, 22 Apr 2010 03:10:36 +0000 Subject: hg: jdk7/build/langtools: Added tag jdk7-b89 for changeset 6cea9a143208 Message-ID: <20100422031041.5BF3D44653@hg.openjdk.java.net> Changeset: 71c2c23a7c35 Author: mikejwre Date: 2010-04-15 13:55 -0700 URL: http://hg.openjdk.java.net/jdk7/build/langtools/rev/71c2c23a7c35 Added tag jdk7-b89 for changeset 6cea9a143208 ! .hgtags From Dalibor.Topic at Sun.COM Thu Apr 22 10:25:29 2010 From: Dalibor.Topic at Sun.COM (Dalibor Topic) Date: Thu, 22 Apr 2010 12:25:29 +0200 Subject: Successful cross compilation of OpenJDK for x86_64 on 32 bit host In-Reply-To: <3F4CFD14-F6BD-4C5C-8097-785ADD1EDC48@oracle.com> References: <3F4CFD14-F6BD-4C5C-8097-785ADD1EDC48@oracle.com> Message-ID: <4BD02419.2020200@sun.com> Kelly O'Hair wrote: > See: > > http://openjdk.java.net/contribute/ > > Not exactly sure how Oracle is handling the SCA right now, As described in the OpenJDK contribution document -> send it in properly (i.e. with your java.net user name) filled out for OpenJDK, and someone will take care of processing it. Once it's processed it will show up on https://sca.dev.java.net/CA_signatories.htm and your patches could, provided they pass reviews, etc, flow into OpenJDK. cheers, dalibor topic -- ******************************************************************* Dalibor Topic Tel: (+49 40) 23 646 738 Java F/OSS Ambassador AIM: robiladonaim Sun Microsystems GmbH Mobile: (+49 177) 2664 192 Nagelsweg 55 http://openjdk.java.net D-20097 Hamburg mailto:Dalibor.Topic at sun.com Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten Amtsgericht M?nchen: HRB 161028 Gesch?ftsf?hrer: J?rgen Kunz From Dalibor.Topic at Sun.COM Thu Apr 22 10:28:42 2010 From: Dalibor.Topic at Sun.COM (Dalibor Topic) Date: Thu, 22 Apr 2010 12:28:42 +0200 Subject: Security vulnerabilities and patches announcements in OpenJDK In-Reply-To: References: Message-ID: <4BD024DA.3010302@sun.com> Deepak Panickal wrote: > Hi, > > I was wondering how are security vulnerabilities and > patches announcements made in OpenJDK. > > Could somebody please guide me in this. That's pretty off-topic for the build-dev mailing list. Assuming you are asking about OpenJDK 6, please ask about it on the jdk6-dev mailing list. cheers, dalibor topic -- ******************************************************************* Dalibor Topic Tel: (+49 40) 23 646 738 Java F/OSS Ambassador AIM: robiladonaim Sun Microsystems GmbH Mobile: (+49 177) 2664 192 Nagelsweg 55 http://openjdk.java.net D-20097 Hamburg mailto:Dalibor.Topic at sun.com Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten Amtsgericht M?nchen: HRB 161028 Gesch?ftsf?hrer: J?rgen Kunz From Dalibor.Topic at Sun.COM Thu Apr 22 10:31:23 2010 From: Dalibor.Topic at Sun.COM (Dalibor Topic) Date: Thu, 22 Apr 2010 12:31:23 +0200 Subject: Successful cross compilation of OpenJDK for x86_64 on 32 bit host In-Reply-To: References: Message-ID: <4BD0257B.7080302@sun.com> Deepak Panickal wrote: > Hi, > > My goal was to successfully cross compile OpenJDK for x86_64 on 32 bit > host , Linux Platform. > > I also wanted to separate some third party library dependencies from the > build process. I made changes in the makefiles which contained hard > coded values pertaining to the host machine. Even now the changes are > not completely automated. But I could do that soon. > > Could I publish these changes somewhere so that it could be made > available in the later builds. > What would be the proper format and method to do so. Out of curiosity - do your changes apply to OpenJDK directly, or are they based on Robert Schuster's cross-compilation work in Jalimo for the IcedTea build harness? [1] cheers, dalibor topic [1] https://wiki.evolvis.org/jalimo/index.php/CrossCompilingOpenJDK -- ******************************************************************* Dalibor Topic Tel: (+49 40) 23 646 738 Java F/OSS Ambassador AIM: robiladonaim Sun Microsystems GmbH Mobile: (+49 177) 2664 192 Nagelsweg 55 http://openjdk.java.net D-20097 Hamburg mailto:Dalibor.Topic at sun.com Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten Amtsgericht M?nchen: HRB 161028 Gesch?ftsf?hrer: J?rgen Kunz From deepak2427 at gmail.com Thu Apr 22 10:48:46 2010 From: deepak2427 at gmail.com (Deepak Panickal) Date: Thu, 22 Apr 2010 16:18:46 +0530 Subject: Successful cross compilation of OpenJDK for x86_64 on 32 bit host In-Reply-To: <4BD0257B.7080302@sun.com> References: <4BD0257B.7080302@sun.com> Message-ID: I had applied the changes to OpenJDK directly. Other than the cross compilation task, I also had to separate the paths to ALSA, X11 which were hard coded in the makefiles, to user-defined paths. These were also modified directly. Thanks, Deepak On Thu, Apr 22, 2010 at 4:01 PM, Dalibor Topic wrote: > Deepak Panickal wrote: > > Hi, > > > > My goal was to successfully cross compile OpenJDK for x86_64 on 32 bit > > host , Linux Platform. > > > > I also wanted to separate some third party library dependencies from the > > build process. I made changes in the makefiles which contained hard > > coded values pertaining to the host machine. Even now the changes are > > not completely automated. But I could do that soon. > > > > Could I publish these changes somewhere so that it could be made > > available in the later builds. > > What would be the proper format and method to do so. > > Out of curiosity - do your changes apply to OpenJDK directly, or are they > based on Robert Schuster's cross-compilation work in Jalimo for the > IcedTea build harness? [1] > > cheers, > dalibor topic > > > [1] https://wiki.evolvis.org/jalimo/index.php/CrossCompilingOpenJDK > -- > ******************************************************************* > Dalibor Topic Tel: (+49 40) 23 646 738 > Java F/OSS Ambassador AIM: robiladonaim > Sun Microsystems GmbH Mobile: (+49 177) 2664 192 > Nagelsweg 55 http://openjdk.java.net > D-20097 Hamburg mailto:Dalibor.Topic at sun.com > Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten > Amtsgericht M?nchen: HRB 161028 > Gesch?ftsf?hrer: J?rgen Kunz > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From raffaello.giulietti at gmail.com Fri Apr 23 15:42:20 2010 From: raffaello.giulietti at gmail.com (Raffaello Giulietti) Date: Fri, 23 Apr 2010 17:42:20 +0200 Subject: Building with MinGW? In-Reply-To: <99BEE236-F590-4CCE-AE6C-8613CD28DD12@oracle.com> References: <4BCEF668.7090705@gmail.com> <99BEE236-F590-4CCE-AE6C-8613CD28DD12@oracle.com> Message-ID: <4BD1BFDC.1080205@gmail.com> Let me put things in perspective. I'm not interested in building OpenJDK7 per se. I would use the binary snapshots, were it not for the fact that, for my purposes, I need the latest extensions provided by the MLVM project. Unfortunately, there is no binary snapshot for that, so I need to download the Mercurial repository, apply the MLVM specific patches and build it. Now, I invested two frustrating days in trying to build the "pure" OpenJDK7, i.e., without the MLVM extensions. I did it according to the details described in the quite complete "OpenJDK Build README" page. So I used the expected licensed VisualStudio compiler. The problems I encountered can be generally grouped in the "path not found" category, be it because of spaces in the path, because of \ versus /, etc. As a consequence, I didn't even try a build with the MLVM extensions. To be clear, I'm not complaining about the README or the like. I'm only reporting my experience with such a complex system and its build. So, the real reason behind my request for a MinGW based build is that it would be a second chance to try a build of the MLVM. But since nobody seems to have first-hand experience with OpenJDK7/MinGW, I'll gather my energies and my patience and retry with VisualStudio. RG On 2010-04-21 18:40, Kelly O'Hair wrote: > > On Apr 21, 2010, at 5:58 AM, Raffaello Giulietti wrote: > >> Hello, >> >> I'm wondering if anybody has already tried to build OpenJDK7 on Windows >> using the MinGW suite. > > If they have, I never heard from them. > >> >> * Is there anything known to be a hard to circumvent show stopper? > > To me the basic problem is that with "Windows" it is hard to separate > the code > dependencies on the OS, some Windows SDK, something specific to Visual > Studio, > etc. I'm not saying it would be impossible, but it is not a simple > change and > parts of the jdk might be very difficult to disconnect from Visual Studio > dependencies. The code has assumed Visual Studio for a long long time. > > If someone did it, and we were able to build either way, and the changes > weren't > too outrageous, I'm sure we consider accepting that contribution. > But I just don't think it will be that simple. > >> * Is it known why Visual C++ is still the reference build system on >> Windows? > > It was probably chosen as the defacto standard on Windows a long time > ago and > there was never any value in changing that. > The performance was probably a key issue, and whether or not you could > convert > to a different compiler set, before the official builds would ever > change you > would need some very detailed performance measurements to verify no loss of > performance. That's not an easy job, or simple either. > > --- > > Any change to the compilers used to create the binary JDKs we distribute > is always > a change made very carefully. It might provide significant benefits, but > the > hidden dangers are often difficult to find and diagnose. > I know this binary distribution model is of less interest to some who > just want > to build the openjdk source for a particular platform, but it certainly > is a > critical issue for us. Compiler changes are carefully tracked. > > -kto > >> >> Thanks >> Raffaello > From Dalibor.Topic at Sun.COM Fri Apr 23 19:09:51 2010 From: Dalibor.Topic at Sun.COM (Dalibor Topic) Date: Fri, 23 Apr 2010 21:09:51 +0200 Subject: Building with MinGW? In-Reply-To: <4BD1BFDC.1080205@gmail.com> References: <4BCEF668.7090705@gmail.com> <99BEE236-F590-4CCE-AE6C-8613CD28DD12@oracle.com> <4BD1BFDC.1080205@gmail.com> Message-ID: <4BD1F07F.4060206@sun.com> Raffaello Giulietti wrote: > So, the real reason behind my request for a MinGW based build is that it > would be a second chance to try a build of the MLVM. But since nobody > seems to have first-hand experience with OpenJDK7/MinGW, I'll gather my > energies and my patience and retry with VisualStudio. I think that getting OpenJDK to build with just with MinGW (or just the Cygwin gcc with -mno-cygwin, for the matter) would be quite nice to have, if you'd get it to work. What Kelly's saying is that there is likely a lot more to that then just changing the CC variable. But of course, don't let that discourage you - I am not aware of anyone actually attempting the build with MinGW, so your experience (if you post it to this list) would be valuable at least in knowing where the obstacles would be. cheers, dalibor topic -- ******************************************************************* Dalibor Topic Tel: (+49 40) 23 646 738 Java F/OSS Ambassador AIM: robiladonaim Sun Microsystems GmbH Mobile: (+49 177) 2664 192 Nagelsweg 55 http://openjdk.java.net D-20097 Hamburg mailto:Dalibor.Topic at sun.com Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten Amtsgericht M?nchen: HRB 161028 Gesch?ftsf?hrer: J?rgen Kunz From martinrb at google.com Sat Apr 24 16:27:38 2010 From: martinrb at google.com (Martin Buchholz) Date: Sat, 24 Apr 2010 09:27:38 -0700 Subject: Building with MinGW? In-Reply-To: <4BD1BFDC.1080205@gmail.com> References: <4BCEF668.7090705@gmail.com> <99BEE236-F590-4CCE-AE6C-8613CD28DD12@oracle.com> <4BD1BFDC.1080205@gmail.com> Message-ID: Building OpenJDK is known to be difficult, and that is especially so on Windows, but people do it regularly. E.g. http://blogs.tedneward.com/2007/12/15/Let+The+JDK+Hacking+Begin.aspx Don't use any paths containing spaces. Martin On Fri, Apr 23, 2010 at 08:42, Raffaello Giulietti wrote: > Let me put things in perspective. > > I'm not interested in building OpenJDK7 per se. I would use the binary > snapshots, were it not for the fact that, for my purposes, I need the > latest extensions provided by the MLVM project. Unfortunately, there is > no binary snapshot for that, so I need to download the Mercurial > repository, apply the MLVM specific patches and build it. > > Now, I invested two frustrating days in trying to build the "pure" > OpenJDK7, i.e., without the MLVM extensions. I did it according to the > details described in the quite complete "OpenJDK Build README" page. So > I used the expected licensed VisualStudio compiler. The problems I > encountered can be generally grouped in the "path not found" category, > be it because of spaces in the path, because of \ versus /, etc. As a > consequence, I didn't even try a build with the MLVM extensions. > > To be clear, I'm not complaining about the README or the like. I'm only > reporting my experience with such a complex system and its build. > > So, the real reason behind my request for a MinGW based build is that it > would be a second chance to try a build of the MLVM. But since nobody > seems to have first-hand experience with OpenJDK7/MinGW, I'll gather my > energies and my patience and retry with VisualStudio. > > RG > > > > On 2010-04-21 18:40, Kelly O'Hair wrote: >> >> On Apr 21, 2010, at 5:58 AM, Raffaello Giulietti wrote: >> >>> Hello, >>> >>> I'm wondering if anybody has already tried to build OpenJDK7 on Windows >>> using the MinGW suite. >> >> If they have, I never heard from them. >> >>> >>> * Is there anything known to be a hard to circumvent show stopper? >> >> To me the basic problem is that with "Windows" it is hard to separate >> the code >> dependencies on the OS, some Windows SDK, something specific to Visual >> Studio, >> etc. I'm not saying it would be impossible, but it is not a simple >> change and >> parts of the jdk might be very difficult to disconnect from Visual Studio >> dependencies. The code has assumed Visual Studio for a long long time. >> >> If someone did it, and we were able to build either way, and the changes >> weren't >> too outrageous, I'm sure we consider accepting that contribution. >> But I just don't think it will be that simple. >> >>> * Is it known why Visual C++ is still the reference build system on >>> Windows? >> >> It was probably chosen as the defacto standard on Windows a long time >> ago and >> there was never any value in changing that. >> The performance was probably a key issue, and whether or not you could >> convert >> to a different compiler set, before the official builds would ever >> change you >> would need some very detailed performance measurements to verify no loss of >> performance. That's not an easy job, or simple either. >> >> --- >> >> Any change to the compilers used to create the binary JDKs we distribute >> is always >> a change made very carefully. It might provide significant benefits, but >> the >> hidden dangers are often difficult to find and diagnose. >> I know this binary distribution model is of less interest to some who >> just want >> to build the openjdk source for a particular platform, but it certainly >> is a >> critical issue for us. Compiler changes are carefully tracked. >> >> -kto >> >>> >>> Thanks >>> Raffaello >> > > From yong.huang at sun.com Mon Apr 26 09:39:18 2010 From: yong.huang at sun.com (yong.huang at sun.com) Date: Mon, 26 Apr 2010 09:39:18 +0000 Subject: hg: jdk7/build/jdk: 6 new changesets Message-ID: <20100426094049.727984416B@hg.openjdk.java.net> Changeset: 9bf334e32d35 Author: yhuang Date: 2010-01-21 22:05 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/9bf334e32d35 6916787: Ukrainian currency name needs to be fixed Reviewed-by: yhuang, peytoia ! src/share/classes/sun/util/resources/CurrencyNames_uk_UA.properties ! test/sun/text/resources/LocaleData ! test/sun/text/resources/LocaleDataTest.java Changeset: 00890dd53f45 Author: yhuang Date: 2010-01-27 23:19 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/00890dd53f45 6919624: minimalDaysInFirstWeek ressource for hungarian is wrong Reviewed-by: yhuang, peytoia ! src/share/classes/sun/util/resources/CalendarData_hu.properties ! test/sun/text/resources/LocaleData ! test/sun/text/resources/LocaleDataTest.java Changeset: 0173ef08dcc8 Author: yhuang Date: 2010-02-11 20:59 -0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/0173ef08dcc8 6776102: sun/util/resources/TimeZone/Bug6317929.java test failed against 6u12b01 and passed against 6u11b03 Reviewed-by: yhuang, peytoia ! test/sun/util/resources/TimeZone/Bug6317929.java Changeset: b2485d8eba40 Author: yhuang Date: 2010-04-11 21:04 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/b2485d8eba40 Merge - make/java/redist/FILES.gmk - make/java/text/FILES_java.gmk - make/sun/nio/FILES_java.gmk - src/share/classes/sun/dyn/util/BytecodeSignature.java - src/solaris/classes/sun/nio/ch/SctpSocketDispatcher.java Changeset: babd3f260d32 Author: yhuang Date: 2010-04-11 23:21 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/babd3f260d32 6875904: Java 7 message synchronization 1 Reviewed-by: ogino, faryad ! make/sun/launcher/Makefile ! src/share/classes/com/sun/rowset/RowSetResourceBundle_de.properties ! src/share/classes/com/sun/rowset/RowSetResourceBundle_es.properties ! src/share/classes/com/sun/rowset/RowSetResourceBundle_fr.properties ! src/share/classes/com/sun/rowset/RowSetResourceBundle_it.properties ! src/share/classes/com/sun/rowset/RowSetResourceBundle_ja.properties ! src/share/classes/com/sun/rowset/RowSetResourceBundle_ko.properties ! src/share/classes/com/sun/rowset/RowSetResourceBundle_sv.properties ! src/share/classes/com/sun/rowset/RowSetResourceBundle_zh_CN.properties ! src/share/classes/com/sun/rowset/RowSetResourceBundle_zh_TW.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_de.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_es.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_fr.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_it.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_ja.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_ko.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_sv.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_zh_CN.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_zh_TW.properties + src/share/classes/sun/launcher/resources/launcher_de.properties + src/share/classes/sun/launcher/resources/launcher_es.properties + src/share/classes/sun/launcher/resources/launcher_fr.properties + src/share/classes/sun/launcher/resources/launcher_it.properties + src/share/classes/sun/launcher/resources/launcher_ja.properties + src/share/classes/sun/launcher/resources/launcher_ko.properties + src/share/classes/sun/launcher/resources/launcher_sv.properties + src/share/classes/sun/launcher/resources/launcher_zh_CN.properties + src/share/classes/sun/launcher/resources/launcher_zh_TW.properties ! src/share/classes/sun/management/resources/agent_de.properties ! src/share/classes/sun/management/resources/agent_es.properties ! src/share/classes/sun/management/resources/agent_fr.properties ! src/share/classes/sun/management/resources/agent_it.properties ! src/share/classes/sun/management/resources/agent_ja.properties ! src/share/classes/sun/management/resources/agent_ko.properties ! src/share/classes/sun/management/resources/agent_sv.properties ! src/share/classes/sun/management/resources/agent_zh_CN.properties ! src/share/classes/sun/management/resources/agent_zh_TW.properties ! src/share/classes/sun/security/tools/JarSignerResources_ja.java ! src/share/classes/sun/security/tools/JarSignerResources_zh_CN.java ! src/share/classes/sun/security/util/AuthResources_de.java ! src/share/classes/sun/security/util/AuthResources_es.java ! src/share/classes/sun/security/util/AuthResources_fr.java ! src/share/classes/sun/security/util/AuthResources_it.java ! src/share/classes/sun/security/util/AuthResources_ja.java ! src/share/classes/sun/security/util/AuthResources_ko.java ! src/share/classes/sun/security/util/AuthResources_sv.java ! src/share/classes/sun/security/util/AuthResources_zh_CN.java ! src/share/classes/sun/security/util/AuthResources_zh_TW.java ! src/share/classes/sun/tools/jconsole/resources/JConsoleResources_ja.java ! src/share/classes/sun/tools/jconsole/resources/JConsoleResources_zh_CN.java Changeset: 7794a4a38e99 Author: yhuang Date: 2010-04-20 01:24 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/7794a4a38e99 Merge - make/tools/src/build/tools/charsetmapping/CharsetMapping.java - make/tools/src/build/tools/charsetmapping/GenerateDBCS.java - make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java - make/tools/src/build/tools/charsetmapping/GenerateMapping.java - make/tools/src/build/tools/charsetmapping/GenerateSBCS.java - src/share/classes/sun/io/ByteToCharHKSCS.java - src/share/classes/sun/io/ByteToCharHKSCS_2001.java - src/share/classes/sun/io/CharToByteHKSCS.java - src/share/classes/sun/io/CharToByteHKSCS_2001.java - src/share/classes/sun/nio/cs/ext/Big5.java - src/share/classes/sun/nio/cs/ext/HKSCS_2001.java - test/java/net/Socket/FDClose.java - test/lib/security/cacerts/VerifyCACerts.java From yong.huang at sun.com Mon Apr 26 09:46:28 2010 From: yong.huang at sun.com (yong.huang at sun.com) Date: Mon, 26 Apr 2010 09:46:28 +0000 Subject: hg: jdk7/build/langtools: 2 new changesets Message-ID: <20100426094634.7A99A4416C@hg.openjdk.java.net> Changeset: 06e06ec0d6f2 Author: yhuang Date: 2010-04-11 23:24 -0700 URL: http://hg.openjdk.java.net/jdk7/build/langtools/rev/06e06ec0d6f2 6875904: Java 7 message synchronization 1 Reviewed-by: ogino, faryad ! src/share/classes/com/sun/tools/apt/resources/apt_ja.properties ! src/share/classes/com/sun/tools/apt/resources/apt_zh_CN.properties ! src/share/classes/com/sun/tools/doclets/formats/html/resources/standard_ja.properties ! src/share/classes/com/sun/tools/doclets/formats/html/resources/standard_zh_CN.properties ! src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_ja.properties ! src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_zh_CN.properties ! src/share/classes/com/sun/tools/javac/resources/compiler_ja.properties ! src/share/classes/com/sun/tools/javac/resources/compiler_zh_CN.properties ! src/share/classes/com/sun/tools/javac/resources/javac_ja.properties ! src/share/classes/com/sun/tools/javac/resources/javac_zh_CN.properties Changeset: 053bf290d575 Author: yhuang Date: 2010-04-20 01:30 -0700 URL: http://hg.openjdk.java.net/jdk7/build/langtools/rev/053bf290d575 Merge - test/tools/javap/T6305779.java From michael.wilkerson at sun.com Thu Apr 29 03:28:59 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Thu, 29 Apr 2010 03:28:59 +0000 Subject: hg: jdk7/build: Added tag jdk7-b90 for changeset 425ba3efabbf Message-ID: <20100429032859.C4E6844286@hg.openjdk.java.net> Changeset: 97d8b6c659c2 Author: mikejwre Date: 2010-04-22 16:54 -0700 URL: http://hg.openjdk.java.net/jdk7/build/rev/97d8b6c659c2 Added tag jdk7-b90 for changeset 425ba3efabbf ! .hgtags From michael.wilkerson at sun.com Thu Apr 29 03:29:02 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Thu, 29 Apr 2010 03:29:02 +0000 Subject: hg: jdk7/build/corba: Added tag jdk7-b90 for changeset 56ce07b0eb47 Message-ID: <20100429032903.88F0644287@hg.openjdk.java.net> Changeset: bcd2fc089227 Author: mikejwre Date: 2010-04-22 16:54 -0700 URL: http://hg.openjdk.java.net/jdk7/build/corba/rev/bcd2fc089227 Added tag jdk7-b90 for changeset 56ce07b0eb47 ! .hgtags From michael.wilkerson at sun.com Thu Apr 29 03:30:19 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Thu, 29 Apr 2010 03:30:19 +0000 Subject: hg: jdk7/build/hotspot: Added tag jdk7-b90 for changeset 605c9707a766 Message-ID: <20100429033022.11A5844288@hg.openjdk.java.net> Changeset: e0a1a502e402 Author: mikejwre Date: 2010-04-22 16:54 -0700 URL: http://hg.openjdk.java.net/jdk7/build/hotspot/rev/e0a1a502e402 Added tag jdk7-b90 for changeset 605c9707a766 ! .hgtags From michael.wilkerson at sun.com Thu Apr 29 03:33:16 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Thu, 29 Apr 2010 03:33:16 +0000 Subject: hg: jdk7/build/jaxp: Added tag jdk7-b90 for changeset c5d932ee326d Message-ID: <20100429033316.153A54428A@hg.openjdk.java.net> Changeset: b89b2c3044a2 Author: mikejwre Date: 2010-04-22 16:54 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jaxp/rev/b89b2c3044a2 Added tag jdk7-b90 for changeset c5d932ee326d ! .hgtags From michael.wilkerson at sun.com Thu Apr 29 03:33:18 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Thu, 29 Apr 2010 03:33:18 +0000 Subject: hg: jdk7/build/jaxws: Added tag jdk7-b90 for changeset ead7c4566a00 Message-ID: <20100429033318.E2D134428B@hg.openjdk.java.net> Changeset: cf4686bf35ab Author: mikejwre Date: 2010-04-22 16:54 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jaxws/rev/cf4686bf35ab Added tag jdk7-b90 for changeset ead7c4566a00 ! .hgtags From michael.wilkerson at sun.com Thu Apr 29 03:34:07 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Thu, 29 Apr 2010 03:34:07 +0000 Subject: hg: jdk7/build/jdk: 29 new changesets Message-ID: <20100429034016.864064428C@hg.openjdk.java.net> Changeset: 471c3c1f18d1 Author: bae Date: 2010-04-20 11:06 +0400 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/471c3c1f18d1 6936389: FontManager.fileCloser may cause memory leak in applets Reviewed-by: igor, prr, ant ! src/share/classes/sun/font/SunFontManager.java ! src/share/classes/sun/java2d/Disposer.java ! src/share/classes/sun/java2d/loops/GraphicsPrimitive.java ! src/solaris/classes/sun/awt/X11/XToolkit.java ! src/solaris/classes/sun/awt/X11GraphicsDevice.java ! src/solaris/classes/sun/awt/motif/MToolkit.java ! src/windows/classes/sun/awt/windows/WToolkit.java ! src/windows/classes/sun/java2d/d3d/D3DScreenUpdateManager.java + test/sun/awt/font/ClassLoaderLeakTest.java Changeset: bd5d1afc00ab Author: lana Date: 2010-04-20 16:47 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/bd5d1afc00ab Merge Changeset: 43b8a8bc8208 Author: uta Date: 2010-04-14 15:28 +0400 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/43b8a8bc8208 6920842: Wheel events do not bubbling to the browser if they was not treated in applet. Reviewed-by: art, anthony, peterz ! src/share/classes/java/awt/Component.java ! src/share/classes/java/awt/Container.java ! src/share/classes/javax/swing/plaf/basic/BasicScrollPaneUI.java Changeset: ba8ecdbf0b88 Author: lana Date: 2010-04-15 15:19 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/ba8ecdbf0b88 Merge - make/tools/src/build/tools/charsetmapping/CharsetMapping.java - make/tools/src/build/tools/charsetmapping/GenerateDBCS.java - make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java - make/tools/src/build/tools/charsetmapping/GenerateMapping.java - make/tools/src/build/tools/charsetmapping/GenerateSBCS.java - src/share/classes/sun/io/ByteToCharHKSCS.java - src/share/classes/sun/io/ByteToCharHKSCS_2001.java - src/share/classes/sun/io/CharToByteHKSCS.java - src/share/classes/sun/io/CharToByteHKSCS_2001.java - src/share/classes/sun/nio/cs/ext/Big5.java - src/share/classes/sun/nio/cs/ext/HKSCS_2001.java - test/java/net/Socket/FDClose.java - test/lib/security/cacerts/VerifyCACerts.java Changeset: f51dc9fc72d3 Author: lana Date: 2010-04-20 16:48 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/f51dc9fc72d3 Merge Changeset: b48c141258e1 Author: peytoia Date: 2010-04-13 13:47 +0900 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/b48c141258e1 6709938: RFE: Support more scripts in JDK logical fonts using new fonts in Windows XP and later. Reviewed-by: okutsu ! src/windows/classes/sun/awt/windows/fontconfig.properties Changeset: 98359a01cbe0 Author: okutsu Date: 2010-04-14 13:53 +0900 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/98359a01cbe0 6941948: NumaricShaper.shape() doesn't work with NumericShaper.Range.EASTERN_ARABIC Reviewed-by: peytoia ! src/share/classes/java/awt/font/NumericShaper.java + test/java/awt/font/NumericShaper/EasternArabicTest.java Changeset: 4d8b1b04544c Author: lana Date: 2010-04-15 11:51 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/4d8b1b04544c Merge - make/tools/src/build/tools/charsetmapping/CharsetMapping.java - make/tools/src/build/tools/charsetmapping/GenerateDBCS.java - make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java - make/tools/src/build/tools/charsetmapping/GenerateMapping.java - make/tools/src/build/tools/charsetmapping/GenerateSBCS.java - src/share/classes/sun/io/ByteToCharHKSCS.java - src/share/classes/sun/io/ByteToCharHKSCS_2001.java - src/share/classes/sun/io/CharToByteHKSCS.java - src/share/classes/sun/io/CharToByteHKSCS_2001.java - src/share/classes/sun/nio/cs/ext/Big5.java - src/share/classes/sun/nio/cs/ext/HKSCS_2001.java ! src/windows/classes/sun/awt/windows/fontconfig.properties - test/java/net/Socket/FDClose.java - test/lib/security/cacerts/VerifyCACerts.java Changeset: 17d17234a1d9 Author: okutsu Date: 2010-04-16 15:53 +0900 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/17d17234a1d9 6609675: [Fmt-Da] DateFormat.parse() on a timezone changes its calendar's timezone Reviewed-by: peytoia ! src/share/classes/java/text/DateFormat.java ! src/share/classes/java/text/SimpleDateFormat.java Changeset: f75f5e2274d5 Author: rupashka Date: 2010-04-16 13:05 +0400 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/f75f5e2274d5 6922179: SynthTextPaneUI.installUI() doesn't set component to opaque as specified Reviewed-by: alexp ! src/share/classes/javax/swing/plaf/basic/BasicTextUI.java Changeset: 584dcb7ecaf9 Author: naoto Date: 2010-04-19 14:48 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/584dcb7ecaf9 6943941: Rebranding issues with some tests in jdk/test/java/util Reviewed-by: ohair ! test/java/util/Locale/Bug4175998Test.java ! test/java/util/ResourceBundle/Bug4083270Test.java ! test/java/util/ResourceBundle/Bug4165815Test.java ! test/java/util/ResourceBundle/Bug4168625Class.java ! test/java/util/ResourceBundle/Bug4168625Getter.java ! test/java/util/ResourceBundle/Bug4168625Resource.java ! test/java/util/ResourceBundle/Bug4168625Resource2.java ! test/java/util/ResourceBundle/Bug4168625Resource2_en_US.java ! test/java/util/ResourceBundle/Bug4168625Resource3.java ! test/java/util/ResourceBundle/Bug4168625Resource3_en.java ! test/java/util/ResourceBundle/Bug4168625Resource3_en_CA.java ! test/java/util/ResourceBundle/Bug4168625Resource3_en_IE.java ! test/java/util/ResourceBundle/Bug4168625Resource3_en_US.java ! test/java/util/ResourceBundle/Bug4177489Test.java ! test/java/util/ResourceBundle/Bug4177489_Resource.java ! test/java/util/ResourceBundle/Bug4177489_Resource_jf.java Changeset: 2571720800a6 Author: peytoia Date: 2010-04-20 15:01 +0900 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/2571720800a6 6945238: (tz) Support tzdata2010i Reviewed-by: okutsu ! make/sun/javazic/tzdata/VERSION ! make/sun/javazic/tzdata/africa ! make/sun/javazic/tzdata/asia ! make/sun/javazic/tzdata/southamerica Changeset: 0d9662f62d0d Author: lana Date: 2010-04-20 16:50 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/0d9662f62d0d Merge Changeset: 710c4493902f Author: mullan Date: 2010-04-09 07:21 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/710c4493902f 6909281: 6u19 b99(pit):Error loading first applet in browser session( both FF && IE, windows ): NPE is thrown Summary: Fix for 6633872 causes NPE due to uninitialised ProtectionDomain class Reviewed-by: andrew ! src/share/classes/sun/misc/SharedSecrets.java Changeset: 89f4ec9e4b33 Author: xuelei Date: 2010-04-10 09:13 +0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/89f4ec9e4b33 6941936: Broken pipe error of test case DNSIdentities.java Reviewed-by: chegar ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/DNSIdentities.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/HttpsPost.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/IPAddressDNSIdentities.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/IPAddressIPIdentities.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/IPIdentities.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/Identities.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/Redirect.java Changeset: 507cd94489e7 Author: sherman Date: 2010-04-12 10:57 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/507cd94489e7 6942707: nwe Big5.map for HKSCS2008 missed 5 codepoints Summary: updated the Big5.map table to add 5 entries Reviewed-by: okutsu - make/tools/CharsetMapping/Big5.c2b ! make/tools/CharsetMapping/Big5.map Changeset: 6b641c576e77 Author: valeriep Date: 2010-04-07 17:20 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/6b641c576e77 6918573: sun.security.pkcs11.P11RSACipher.finalize() is a scalability blocker Summary: Removed the finalize() methods and use PhantomReference in Session to do auto clean up. Reviewed-by: wetmore ! src/share/classes/sun/security/pkcs11/P11Cipher.java ! src/share/classes/sun/security/pkcs11/P11Digest.java ! src/share/classes/sun/security/pkcs11/P11Key.java ! src/share/classes/sun/security/pkcs11/P11Mac.java ! src/share/classes/sun/security/pkcs11/P11RSACipher.java ! src/share/classes/sun/security/pkcs11/P11Signature.java ! src/share/classes/sun/security/pkcs11/Session.java ! src/share/classes/sun/security/pkcs11/SessionManager.java Changeset: a45217204978 Author: valeriep Date: 2010-04-12 15:53 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/a45217204978 Merge - make/tools/CharsetMapping/Big5.c2b Changeset: 1672f0212f02 Author: chegar Date: 2010-04-13 12:02 +0100 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/1672f0212f02 6706251: api/java_net/NetworkInterface/index.html#misc: getDisplayName() returned non null but empty String Reviewed-by: alanb, michaelm, andrew ! src/share/classes/java/net/NetworkInterface.java Changeset: ed61accf772e Author: chegar Date: 2010-04-15 16:37 +0100 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/ed61accf772e 6943219: test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/DNSIdentities.java fail in linux Reviewed-by: andrew ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/DNSIdentities.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/IPAddressDNSIdentities.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/IPAddressIPIdentities.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/IPIdentities.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/Identities.java Changeset: c70d4266d474 Author: sherman Date: 2010-04-15 17:00 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/c70d4266d474 6931676: TEST_BUG: wrong value for bugid in comments Summary: update to the correct bugid Reviewed-by: martin ! test/java/util/regex/RegExTest.java Changeset: db4fd2fdf196 Author: weijun Date: 2010-04-16 10:06 +0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/db4fd2fdf196 6937978: let keytool -gencert generate the chain Reviewed-by: mullan ! src/share/classes/sun/security/tools/KeyTool.java ! test/sun/security/tools/keytool/selfissued.sh Changeset: 0d989dc383d3 Author: weijun Date: 2010-04-16 10:13 +0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/0d989dc383d3 6939248: Jarsigner can't extract Extended Key Usage from Timestamp Reply correctly Reviewed-by: xuelei, mullan ! src/share/classes/sun/security/tools/TimestampedSigner.java + test/sun/security/tools/jarsigner/TimestampCheck.java + test/sun/security/tools/jarsigner/ts.sh Changeset: c444651077d2 Author: andrew Date: 2010-04-16 09:54 +0100 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/c444651077d2 6944361: Missing CKR_ values in PKCS11Exception Summary: Allow native NSS errors to be observed and correctly reported Reviewed-by: wetmore, valeriep ! src/share/classes/sun/security/pkcs11/wrapper/PKCS11Exception.java ! src/share/classes/sun/security/x509/X509Key.java Changeset: 7ecc023957d8 Author: lana Date: 2010-04-17 08:12 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/7ecc023957d8 Merge Changeset: 97fb6f6d230a Author: weijun Date: 2010-04-20 19:30 +0800 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/97fb6f6d230a 6944847: native gss lib names on linux Reviewed-by: valeriep ! src/share/classes/sun/security/jgss/wrapper/SunNativeProvider.java + test/sun/security/krb5/Krb5NameEquals.java + test/sun/security/krb5/runNameEquals.sh Changeset: d8ad2da3ecf3 Author: wetmore Date: 2010-04-20 14:24 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/d8ad2da3ecf3 6945604: wrong error message in CardImpl.java Reviewed-by: mullan ! src/share/classes/sun/security/smartcardio/CardImpl.java Changeset: 884df20e9cce Author: lana Date: 2010-04-20 16:51 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/884df20e9cce Merge - make/tools/CharsetMapping/Big5.c2b Changeset: b5ae88dd3dbd Author: mikejwre Date: 2010-04-28 20:04 -0700 URL: http://hg.openjdk.java.net/jdk7/build/jdk/rev/b5ae88dd3dbd Merge From michael.wilkerson at sun.com Thu Apr 29 03:46:47 2010 From: michael.wilkerson at sun.com (michael.wilkerson at sun.com) Date: Thu, 29 Apr 2010 03:46:47 +0000 Subject: hg: jdk7/build/langtools: 5 new changesets Message-ID: <20100429034656.56ECE44294@hg.openjdk.java.net> Changeset: 96072ad00783 Author: jjg Date: 2010-04-09 15:39 -0700 URL: http://hg.openjdk.java.net/jdk7/build/langtools/rev/96072ad00783 6942649: add hidden option to identify location and version of javac classes Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/main/Main.java + test/tools/javac/T6942649.java Changeset: 396b117c1743 Author: mcimadamore Date: 2010-04-14 12:23 +0100 URL: http://hg.openjdk.java.net/jdk7/build/langtools/rev/396b117c1743 6939618: Revert 'simple' diamond implementation Summary: backout changeset for 6840638 Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/code/Source.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Check.java ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java - test/tools/javac/generics/diamond/neg/Neg01.java - test/tools/javac/generics/diamond/neg/Neg01.out - test/tools/javac/generics/diamond/neg/Neg02.java - test/tools/javac/generics/diamond/neg/Neg02.out - test/tools/javac/generics/diamond/neg/Neg03.java - test/tools/javac/generics/diamond/neg/Neg03.out - test/tools/javac/generics/diamond/neg/Neg04.java - test/tools/javac/generics/diamond/neg/Neg04.out - test/tools/javac/generics/diamond/neg/Neg05.java - test/tools/javac/generics/diamond/neg/Neg05.out - test/tools/javac/generics/diamond/pos/Pos01.java - test/tools/javac/generics/diamond/pos/Pos02.java - test/tools/javac/generics/diamond/pos/Pos03.java - test/tools/javac/generics/diamond/pos/Pos04.java ! test/tools/javac/processing/environment/round/TestElementsAnnotatedWith.java ! test/tools/javac/processing/model/element/TestAnonClassNames.java Changeset: 9d9d08922405 Author: mcimadamore Date: 2010-04-14 12:31 +0100 URL: http://hg.openjdk.java.net/jdk7/build/langtools/rev/9d9d08922405 6939620: Switch to 'complex' diamond inference scheme Summary: Implement new inference scheme for diamond operator that takes into account type of actual arguments supplied to constructor Reviewed-by: jjg, darcy ! src/share/classes/com/sun/tools/javac/code/Source.java ! src/share/classes/com/sun/tools/javac/code/Symbol.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Check.java ! src/share/classes/com/sun/tools/javac/comp/Resolve.java ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java ! test/tools/javac/6840059/T6840059.out + test/tools/javac/generics/diamond/neg/Neg01.java + test/tools/javac/generics/diamond/neg/Neg01.out + test/tools/javac/generics/diamond/neg/Neg02.java + test/tools/javac/generics/diamond/neg/Neg02.out + test/tools/javac/generics/diamond/neg/Neg03.java + test/tools/javac/generics/diamond/neg/Neg03.out + test/tools/javac/generics/diamond/neg/Neg04.java + test/tools/javac/generics/diamond/neg/Neg04.out + test/tools/javac/generics/diamond/neg/Neg05.java + test/tools/javac/generics/diamond/neg/Neg05.out + test/tools/javac/generics/diamond/neg/Neg06.java + test/tools/javac/generics/diamond/neg/Neg06.out + test/tools/javac/generics/diamond/neg/Neg07.java + test/tools/javac/generics/diamond/neg/Neg07.out + test/tools/javac/generics/diamond/neg/Neg08.java + test/tools/javac/generics/diamond/neg/Neg08.out + test/tools/javac/generics/diamond/neg/Neg09.java + test/tools/javac/generics/diamond/neg/Neg09.out + test/tools/javac/generics/diamond/neg/Neg10.java + test/tools/javac/generics/diamond/neg/Neg10.out + test/tools/javac/generics/diamond/neg/Neg11.java + test/tools/javac/generics/diamond/neg/Neg11.out + test/tools/javac/generics/diamond/pos/Pos01.java + test/tools/javac/generics/diamond/pos/Pos02.java + test/tools/javac/generics/diamond/pos/Pos03.java + test/tools/javac/generics/diamond/pos/Pos04.java + test/tools/javac/generics/diamond/pos/Pos05.java Changeset: 37fa8cd046ab Author: lana Date: 2010-04-17 08:12 -0700 URL: http://hg.openjdk.java.net/jdk7/build/langtools/rev/37fa8cd046ab Merge Changeset: b68de5eee27b Author: mikejwre Date: 2010-04-28 20:04 -0700 URL: http://hg.openjdk.java.net/jdk7/build/langtools/rev/b68de5eee27b Merge