hg: bsd-port/bsd-port: 7 new changesets

2009-10-18 Thread glewis
Changeset: e76b72562a98
Author:ohair
Date:  2009-09-03 17:44 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/rev/e76b72562a98

6855174: Improve log output when builds transition from one workspace to another
Reviewed-by: jjg

! make/Defs-internal.gmk
! make/corba-rules.gmk
! make/deploy-rules.gmk
! make/hotspot-rules.gmk
! make/install-rules.gmk
! make/jaxp-rules.gmk
! make/jaxws-rules.gmk
! make/jdk-rules.gmk
! make/langtools-rules.gmk
! make/sponsors-rules.gmk

Changeset: 931f7f7501da
Author:ohair
Date:  2009-09-17 13:17 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/rev/931f7f7501da

Merge


Changeset: 76f6380ac0b4
Author:xdono
Date:  2009-09-18 09:39 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/rev/76f6380ac0b4

Merge


Changeset: d70b157f6407
Author:xdono
Date:  2009-09-22 14:06 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/rev/d70b157f6407

6884624: Update copyright year
Summary: Update copyright for files that have been modified in 2009 through 
Septermber
Reviewed-by: tbell, ohair

! make/corba-rules.gmk
! make/hotspot-rules.gmk
! make/install-rules.gmk
! make/jaxp-rules.gmk
! make/jaxws-rules.gmk
! make/langtools-rules.gmk
! make/sponsors-rules.gmk

Changeset: 3ac6dcf78232
Author:robilad
Date:  2009-09-23 20:06 +0200
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/rev/3ac6dcf78232

6872735: Further update build readme for new platforms
6641691: Bring build readme's up-to-date
Summary: Added build instructions for Debian, Ubuntu 8.04, 8.10, 9.04, Fedora 
10, 11, OpenSolaris 2009.06, OpenSUSE and Mandriva
Reviewed-by: ohair, andrew

! README-builds.html

Changeset: 2c88089b6e1c
Author:xdono
Date:  2009-10-02 11:26 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/rev/2c88089b6e1c

Added tag jdk7-b73 for changeset 3ac6dcf78232

! .hgtags

Changeset: bba1bc47d320
Author:gle...@misty.eyesbeyond.com
Date:  2009-10-05 22:35 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/rev/bba1bc47d320

Merge from main OpenJDK repository





hg: bsd-port/bsd-port/corba: 9 new changesets

2009-10-18 Thread glewis
Changeset: 1c130e7b7a2e
Author:ohair
Date:  2009-09-02 09:20 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/1c130e7b7a2e

6875240: Reduce Makefile build time by limiting repeated exec's (mostly for 
cygwin building)
Reviewed-by: jjg, iris

! make/Makefile
! make/common/BuildToolJar.gmk
! make/common/CancelImplicits.gmk
! make/common/Defs.gmk
! make/common/Rules.gmk
! make/common/shared/Compiler-msvc.gmk
! make/common/shared/Defs-utils.gmk
! make/common/shared/Defs-windows.gmk
! make/common/shared/Defs.gmk
! make/common/shared/Platform.gmk
! make/jprt.properties

Changeset: 085333867e39
Author:xdono
Date:  2009-09-14 10:57 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/085333867e39

Merge


Changeset: 546970b224ca
Author:xdono
Date:  2009-09-18 09:39 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/546970b224ca

Merge


Changeset: 31ce3cac3cc1
Author:ohair
Date:  2009-09-18 16:26 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/31ce3cac3cc1

6883790: corba build problem related to wildcard and vpath, regression
Reviewed-by: tbell

! make/common/Rules.gmk

Changeset: 2aa5665d86a5
Author:ohair
Date:  2009-09-18 17:10 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/2aa5665d86a5

6883816: corba fix for missing javax/transaction/xa classes (the real fix)
Reviewed-by: tbell

! make/common/Rules.gmk

Changeset: b751c528c555
Author:xdono
Date:  2009-09-22 14:06 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/b751c528c555

6884624: Update copyright year
Summary: Update copyright for files that have been modified in 2009 through 
Septermber
Reviewed-by: tbell, ohair

! make/common/CancelImplicits.gmk

Changeset: 5d0cf59a3203
Author:xdono
Date:  2009-10-02 11:26 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/5d0cf59a3203

Added tag jdk7-b73 for changeset b751c528c555

! .hgtags

Changeset: 912b1896711d
Author:gle...@misty.eyesbeyond.com
Date:  2009-10-06 06:59 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/912b1896711d

Merge from main OpenJDK repository

! make/common/Defs.gmk
! make/common/shared/Defs-utils.gmk
! make/common/shared/Platform.gmk

Changeset: 5e7357a31ab7
Author:gle...@misty.eyesbeyond.com
Date:  2009-10-18 09:58 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/5e7357a31ab7

. Merge in changes from BSD repository.

! make/common/shared/Platform.gmk




hg: bsd-port/bsd-port/hotspot: 39 new changesets

2009-10-18 Thread glewis
Changeset: 89e0543e1737
Author:xdono
Date:  2009-09-22 14:06 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/89e0543e1737

6884624: Update copyright year
Summary: Update copyright for files that have been modified in 2009 through 
Septermber
Reviewed-by: tbell, ohair

! agent/make/saenv.sh
! agent/make/saenv64.sh
! agent/src/os/solaris/proc/Makefile
! agent/src/os/solaris/proc/mapfile
! agent/src/share/classes/sun/jvm/hotspot/memory/CompactibleFreeListSpace.java
! agent/src/share/classes/sun/jvm/hotspot/memory/FreeChunk.java
! src/cpu/x86/vm/c1_LIRGenerator_x86.cpp
! src/os_cpu/solaris_sparc/vm/atomic_solaris_sparc.inline.hpp
! src/os_cpu/solaris_x86/vm/atomic_solaris_x86.inline.hpp
! src/share/vm/c1/c1_IR.cpp
! src/share/vm/c1/c1_IR.hpp
! src/share/vm/c1/c1_LIRAssembler.cpp
! src/share/vm/ci/ciObjectFactory.cpp
! src/share/vm/classfile/classLoader.hpp
! src/share/vm/code/debugInfoRec.hpp
! src/share/vm/code/nmethod.hpp
! src/share/vm/compiler/oopMap.cpp
! src/share/vm/compiler/oopMap.hpp
! src/share/vm/gc_implementation/g1/concurrentZFThread.cpp
! src/share/vm/gc_implementation/g1/g1MMUTracker.cpp
! 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/shared/markSweep.cpp
! src/share/vm/gc_implementation/shared/markSweep.hpp
! src/share/vm/memory/genMarkSweep.cpp
! src/share/vm/memory/iterator.cpp
! src/share/vm/memory/iterator.hpp
! src/share/vm/memory/serialize.cpp
! src/share/vm/oops/arrayKlass.cpp
! src/share/vm/oops/instanceKlassKlass.hpp
! src/share/vm/oops/instanceRefKlass.cpp
! src/share/vm/oops/methodDataOop.hpp
! src/share/vm/oops/objArrayOop.hpp
! src/share/vm/opto/compile.hpp
! src/share/vm/opto/idealKit.cpp
! src/share/vm/opto/idealKit.hpp
! src/share/vm/opto/ifnode.cpp
! src/share/vm/opto/phaseX.cpp
! src/share/vm/opto/phaseX.hpp
! src/share/vm/opto/postaloc.cpp
! src/share/vm/prims/jvm.h
! src/share/vm/runtime/atomic.hpp
! src/share/vm/runtime/perfData.hpp
! src/share/vm/runtime/sweeper.cpp
! src/share/vm/runtime/vframeArray.hpp
! src/share/vm/runtime/vframe_hp.hpp
! src/share/vm/services/threadService.cpp
! src/share/vm/services/threadService.hpp

Changeset: 489a4f8dcd0f
Author:twisti
Date:  2009-08-27 06:17 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/489a4f8dcd0f

6865583: Verbose CIPrintMethodCodes asserts when ldc an empty String
Summary: ldc seems to load an empty String and that leads to an assert on 
offset < length, which are both zero.
Reviewed-by: kvn, never

! src/share/vm/classfile/javaClasses.cpp

Changeset: 8fe1963e3964
Author:kvn
Date:  2009-08-28 11:19 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/8fe1963e3964

6875577: CTW fails with /hotspot/src/share/vm/opto/memnode.cpp
Summary: Fix do_null_check to check for unloaded klass for all oop pointers.
Reviewed-by: never, cfang

! src/share/vm/opto/graphKit.cpp
! src/share/vm/opto/library_call.cpp

Changeset: 1fbd5d696bf4
Author:twisti
Date:  2009-08-31 02:24 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/1fbd5d696bf4

6875967: CTW fails with./generated/adfiles/ad_sparc.cpp:6711
Reviewed-by: cfang, never

! src/cpu/sparc/vm/sparc.ad

Changeset: ace8397c8563
Author:cfang
Date:  2009-08-31 08:31 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/ace8397c8563

6876276: assert(!is_visited,"visit only once")
Summary: schedule the superword loads based on dependence constraints
Reviewed-by: kvn, never

! src/share/vm/opto/superword.cpp
! test/compiler/6636138/Test1.java
! test/compiler/6636138/Test2.java

Changeset: ff1a29907b6c
Author:never
Date:  2009-08-31 17:07 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/ff1a29907b6c

6855215: Calculation error (NaN) after about 1500 calculations
Reviewed-by: kvn

! src/cpu/x86/vm/c1_LIRGenerator_x86.cpp
! src/cpu/x86/vm/c1_LinearScan_x86.cpp
! src/share/vm/c1/c1_LIR.cpp
! src/share/vm/c1/c1_LIR.hpp
+ test/compiler/6855215/Test6855215.java

Changeset: 0f1c19b7a52d
Author:kvn
Date:  2009-09-08 10:42 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/0f1c19b7a52d

6875619: CTW fails with /hotspot/src/share/vm/opto/type.hpp
Summary: In load_array_length() cast array's type to TypeOopPtr when calling 
make_ideal_length() method.
Reviewed-by: never

! src/share/vm/opto/graphKit.cpp

Changeset: 26fbe81d30cf
Author:kvn
Date:  2009-09-08 16:56 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/26fbe81d30cf

6880052: SIGSEGV in GraphKit::null_check_common()
Summary: Check that a klass is not NULL before the is_loaded() call.
Reviewed-by: never

! src/share/vm/opto/graphKit.cpp

Changeset: 9a4e87ba1a90
Author:kvn
Date:  2009-09-09 16:28 -0700
URL

hg: bsd-port/bsd-port/jaxp: 6 new changesets

2009-10-18 Thread glewis
Changeset: 534e23823a1b
Author:ohair
Date:  2009-09-21 13:54 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jaxp/rev/534e23823a1b

6856630: Restructure jaxp/jaxws repositories
Reviewed-by: darcy, tbell

! .hgignore
! README
+ build-defs.xml
+ build-drop-template.xml
+ build.properties
+ build.xml
+ jaxp.properties
! make/Makefile
- make/build.properties
- make/build.xml
! make/jprt.properties
- make/tools/StripProperties/StripProperties.java
- make/tools/StripProperties/StripPropertiesTask.java
+ nbproject/findbugs.settings
+ nbproject/project.xml
+ nbproject/sqe.properties
+ patches/jaxp_src/README

Changeset: 0748962aa825
Author:ohair
Date:  2009-09-21 17:21 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jaxp/rev/0748962aa825

6884220: Have drop sources ignore the output.dir property
Reviewed-by: xdono

! build.properties

Changeset: ee9c7578aca5
Author:xdono
Date:  2009-09-22 14:06 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jaxp/rev/ee9c7578aca5

6884624: Update copyright year
Summary: Update copyright for files that have been modified in 2009 through 
Septermber
Reviewed-by: tbell, ohair

! src/share/classes/com/sun/org/apache/xerces/internal/impl/XMLScanner.java

Changeset: feb05980f9f2
Author:ohair
Date:  2009-09-28 19:39 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jaxp/rev/feb05980f9f2

6886359: Missing jaxws property files and missing changes in jaxp/jaxws drop 
bundles
Reviewed-by: jjg, tbell

! build-defs.xml
! jaxp.properties

Changeset: ea7b88c676dd
Author:xdono
Date:  2009-10-02 11:26 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jaxp/rev/ea7b88c676dd

Added tag jdk7-b73 for changeset feb05980f9f2

! .hgtags

Changeset: 325f73f13556
Author:gle...@misty.eyesbeyond.com
Date:  2009-10-05 22:35 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jaxp/rev/325f73f13556

Merge from main OpenJDK repository

- make/build.properties
- make/build.xml
- make/tools/StripProperties/StripProperties.java
- make/tools/StripProperties/StripPropertiesTask.java




hg: bsd-port/bsd-port/jaxws: 5 new changesets

2009-10-18 Thread glewis
Changeset: ae2bec597586
Author:ohair
Date:  2009-09-21 13:57 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jaxws/rev/ae2bec597586

6856630: Restructure jaxp/jaxws repositories
Reviewed-by: darcy, tbell

! .hgignore
! README
+ build-defs.xml
+ build-drop-template.xml
+ build.properties
+ build.xml
+ jaxws.properties
! make/Makefile
- make/build.properties
- make/build.xml
! make/jprt.properties
- make/tools/StripProperties/StripProperties.java
- make/tools/StripProperties/StripPropertiesTask.java
+ nbproject/findbugs.settings
+ nbproject/project.xml
+ nbproject/sqe.properties
+ patches/jaxws_src/README

Changeset: 77708e68db52
Author:ohair
Date:  2009-09-21 17:21 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jaxws/rev/77708e68db52

6884220: Have drop sources ignore the output.dir property
Reviewed-by: xdono

! build.properties

Changeset: 558985e26fe1
Author:ohair
Date:  2009-09-28 19:38 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jaxws/rev/558985e26fe1

6886359: Missing jaxws property files and missing changes in jaxp/jaxws drop 
bundles
Reviewed-by: jjg, tbell

! build-defs.xml
! jaxws.properties

Changeset: f4466e1b6080
Author:xdono
Date:  2009-10-02 11:26 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jaxws/rev/f4466e1b6080

Added tag jdk7-b73 for changeset 558985e26fe1

! .hgtags

Changeset: 031337762b4b
Author:gle...@misty.eyesbeyond.com
Date:  2009-10-05 22:35 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jaxws/rev/031337762b4b

Merge from main OpenJDK repository

- make/build.properties
- make/build.xml
- make/tools/StripProperties/StripProperties.java
- make/tools/StripProperties/StripPropertiesTask.java




Re: OpenJDK 7 build fails on Snow Leopard

2009-10-18 Thread Greg Lewis
G'day John,

On Fri, Oct 02, 2009 at 06:06:01PM -0700, John Rose wrote:
> With the current bsd-port plus unrelated MLVM patches I got a clean  
> Snow Leopard build.  It passed the MLVM regression tests.
> 
> I had to use GCC 4.0 as Michael suggested.
> 
> The 4.2 compiler is offering some porting resistance.  I put a patch  
> into MLVM which copes with the new "printf" warnings it generates:
>
> http://hg.openjdk.java.net/mlvm/mlvm/hotspot/raw-file/f9a6cda5b465/snowleopard.patch

Looking at the patch, it defines FORMATL32_MODIFIER for all gcc >= 4.2.
Interestingly, FreeBSD (7.x) uses gcc 4.2.1 and doesn't have any problem
compiling HotSpot (its my main platform).  So perhaps this is overly
broad?  I'll give the patch a try and see if it causes any compile
problems.  If so then we probably want to restrict this to just MacOS X
and not all platforms in general.

I'd like to push this in before I start the b74 merge (just pushing the
b73 merge now).

> This patch is a bunch of lint-type fixes, and works fine on GCC 4.0.   
> (Haven't tested on Solaris, etc, but s.b. OK.)  It's probably not  
> worth the effort of pushing this patch upstream until we have a  
> working GCC 4.2 build.
> 
> The current problem with GCC 4.2 is that when I build on x86_32, the  
> JVM crashes in at least two places:  Under -Xint mode, the JVMG mode  
> throws an assert on exit, and otherwise it throws asserts or crashes  
> in compiler-related code.  The 64-bit version of the JVM appears to  
> work, but I haven't exercised it much.

FreeBSD 7.x/i386 doesn't exhibit these problems with gcc 4.2.1, so it
seems to be something specific to either MacOS X or Apple's version of
gcc 4.2.

> Since I'm chasing other problems, I'm going to leave GCC 4.2 alone for  
> now.  If anyone wants to pick up this issue, help yourself to  
> snowleopard.patch above.
> 
> -- John

> 


-- 
Greg Lewis  Email   : gle...@eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology  FreeBSD : gle...@freebsd.org



hg: bsd-port/bsd-port/jdk: 40 new changesets

2009-10-18 Thread glewis
Changeset: fdf11ce72e8e
Author:mchung
Date:  2009-08-06 11:25 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/fdf11ce72e8e

4917309: (cl) Reduce internal usage of ClassNotFoundExceptions during 
class-loading
Summary: Change findBootstrapClass to return null instead of throwing CNFE if 
class not found
Reviewed-by: alanb, dholmes, iris

! src/share/classes/java/lang/ClassLoader.java
! src/share/javavm/export/jvm.h
! src/share/native/java/lang/ClassLoader.c

Changeset: 3323e6c925f9
Author:mchung
Date:  2009-08-06 16:35 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/3323e6c925f9

6864028: Update the java launcher to use the new entry point 
JVM_FindClassFromBootLoader
Summary: Update the java launcher to use the new entry point 
JVM_FindClassFromBootLoader
Reviewed-by: ksrini

! src/share/bin/java.h
! src/solaris/bin/java_md.c
! src/windows/bin/java_md.c

Changeset: 1f1c824e6244
Author:mchung
Date:  2009-08-24 10:33 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/1f1c824e6244

Merge

- src/share/classes/com/sun/crypto/provider/JarVerifier.java
- src/share/classes/javax/swing/plaf/basic/DesktopIconMover.java
- src/share/classes/sun/nio/ch/AbstractFuture.java
- src/share/classes/sun/security/pkcs11/JarVerifier.java
- src/windows/classes/sun/security/mscapi/JarVerifier.java

Changeset: 799731b1cd03
Author:mchung
Date:  2009-08-27 12:58 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/799731b1cd03

Merge

- src/share/native/java/util/zip/zlib-1.1.3/ChangeLog
- src/share/native/java/util/zip/zlib-1.1.3/README
- src/share/native/java/util/zip/zlib-1.1.3/compress.c
- src/share/native/java/util/zip/zlib-1.1.3/deflate.c
- src/share/native/java/util/zip/zlib-1.1.3/deflate.h
- src/share/native/java/util/zip/zlib-1.1.3/doc/algorithm.doc
- src/share/native/java/util/zip/zlib-1.1.3/example.c
- src/share/native/java/util/zip/zlib-1.1.3/gzio.c
- src/share/native/java/util/zip/zlib-1.1.3/infblock.c
- src/share/native/java/util/zip/zlib-1.1.3/infblock.h
- src/share/native/java/util/zip/zlib-1.1.3/infcodes.c
- src/share/native/java/util/zip/zlib-1.1.3/infcodes.h
- src/share/native/java/util/zip/zlib-1.1.3/inffast.c
- src/share/native/java/util/zip/zlib-1.1.3/inffast.h
- src/share/native/java/util/zip/zlib-1.1.3/inffixed.h
- src/share/native/java/util/zip/zlib-1.1.3/inflate.c
- src/share/native/java/util/zip/zlib-1.1.3/inftrees.c
- src/share/native/java/util/zip/zlib-1.1.3/inftrees.h
- src/share/native/java/util/zip/zlib-1.1.3/infutil.c
- src/share/native/java/util/zip/zlib-1.1.3/infutil.h
- src/share/native/java/util/zip/zlib-1.1.3/minigzip.c
- src/share/native/java/util/zip/zlib-1.1.3/trees.c
- src/share/native/java/util/zip/zlib-1.1.3/trees.h
- src/share/native/java/util/zip/zlib-1.1.3/uncompr.c
- src/share/native/java/util/zip/zlib-1.1.3/zadler32.c
- src/share/native/java/util/zip/zlib-1.1.3/zconf.h
- src/share/native/java/util/zip/zlib-1.1.3/zcrc32.c
- src/share/native/java/util/zip/zlib-1.1.3/zlib.h
- src/share/native/java/util/zip/zlib-1.1.3/zutil.c
- src/share/native/java/util/zip/zlib-1.1.3/zutil.h
- test/java/util/concurrent/LinkedBlockingQueue/LastElement.java
- test/java/util/concurrent/LinkedBlockingQueue/OfferRemoveLoops.java

Changeset: dfb5cf81d8cd
Author:mchung
Date:  2009-09-03 16:09 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/dfb5cf81d8cd

Merge


Changeset: b9b7f56bdfa3
Author:mchung
Date:  2009-09-04 15:44 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/b9b7f56bdfa3

Merge


Changeset: 466915134131
Author:mchung
Date:  2009-09-08 12:59 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/466915134131

Merge


Changeset: 0d50d40a4a39
Author:martin
Date:  2009-09-08 14:33 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/0d50d40a4a39

6850958: Honor -XX:OnOutOfMemoryError when array size exceeds VM limit
Summary: Test hotspot/jvmti fix 6850957 using ProcessBuilder test infrastructure
Reviewed-by: tbell, dholmes, alanb, ysr

! test/java/lang/ProcessBuilder/Basic.java

Changeset: 8252729d51a3
Author:mullan
Date:  2009-09-09 09:54 -0400
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jdk/rev/8252729d51a3

6745437: Add option to only check revocation of end-entity certificate in a 
chain of certificates
6869739: Cannot check revocation of single certificate without validating the 
entire chain
Reviewed-by: xuelei

+ src/share/classes/sun/security/action/GetBooleanSecurityPropertyAction.java
! src/share/classes/sun/security/provider/certpath/Builder.java
! src/share/classes/sun/security/provider/certpath/CertId.java
! src/share/classes/sun/security/provider/certpath/CrlRevocationChecker.java
! src/share/classes/sun/security/provider/certpath/DistributionPointFetcher.java
! src/share/classes/sun/security/provider/certpath/ForwardBuilder.java
+ src/share/classes/sun/s

hg: bsd-port/bsd-port/langtools: 11 new changesets

2009-10-18 Thread glewis
Changeset: 14735c7932d7
Author:xdono
Date:  2009-09-22 14:06 -0700
URL:   
http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/14735c7932d7

6884624: Update copyright year
Summary: Update copyright for files that have been modified in 2009 through 
Septermber
Reviewed-by: tbell, ohair

! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/file/BaseFileObject.java
! src/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/share/classes/com/sun/tools/javac/file/RegularFileObject.java
! src/share/classes/com/sun/tools/javac/file/SymbolArchive.java
! src/share/classes/com/sun/tools/javac/file/ZipArchive.java
! src/share/classes/com/sun/tools/javac/file/ZipFileIndexArchive.java
! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/share/classes/com/sun/tools/javap/JavapTask.java
! test/com/sun/javadoc/lib/JavadocTester.java
! test/com/sun/javadoc/testCRLineSeparator/TestCRLineSeparator.java
! test/com/sun/javadoc/testCRLineSeparator/pkg/MyClass.java
! test/com/sun/javadoc/testNoPackagesFile/TestNoPackagesFile.java
! test/com/sun/javadoc/testOverridenMethods/TestMultiInheritence.java
! test/com/sun/javadoc/testTaglets/TestTaglets.java
! test/tools/apt/Basics/apt.sh
! test/tools/apt/Basics/print.sh
! test/tools/apt/Compile/compile.sh
! test/tools/javac/4846262/Test.sh
! test/tools/javac/6302184/T6302184.sh
! test/tools/javac/6627362/T6627362.java
! test/tools/javac/ClassPathTest/ClassPathTest.sh
! test/tools/javac/ExtDirs/ExtDirs.sh
! test/tools/javac/MissingInclude.sh
! test/tools/javac/ProtectedInnerClass/ProtectedInnerClass.sh
! test/tools/javac/T5090006/compiler.sh
! test/tools/javac/api/6440333/T6440333.java
! test/tools/javac/api/Sibling.java
! test/tools/javac/code/ArrayClone.java
! test/tools/javac/constDebug/ConstDebug.sh
! test/tools/javac/fatalErrors/NoJavaLang.sh
! test/tools/javac/generics/inference/6302954/T6476073.java
! test/tools/javac/innerClassFile/Driver.sh
! test/tools/javac/javazip/Test.sh
! test/tools/javac/meth/MakeNegTests.sh
! test/tools/javac/newlines/Newlines.sh
! test/tools/javac/quid/MakeNegTests.sh
! test/tools/javac/quid/QuotedIdent.java
! test/tools/javac/quid/QuotedIdent2.java
! test/tools/javac/stackmap/T4955930.sh
! test/tools/javac/unicode/SupplementaryJavaID6.sh
! test/tools/javah/6257087/foo.sh
! test/tools/javah/ConstMacroTest.sh
! test/tools/javah/MissingParamClassTest.sh
! test/tools/javah/ReadOldClass.sh
! test/tools/javap/T4975569.java
! test/tools/javap/pathsep.sh
! test/tools/javap/stackmap/T6271292.sh

Changeset: ebb6ad5a95bb
Author:jjg
Date:  2009-09-08 13:53 -0700
URL:   
http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/ebb6ad5a95bb

5093723: REGRESSION: ClassCastException in SingleIndexWriter
Reviewed-by: jjg
Contributed-by: a...@google.com

! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java
! 
src/share/classes/com/sun/tools/doclets/formats/html/resources/standard.properties
+ test/com/sun/javadoc/5093723/DocumentedClass.java
+ test/com/sun/javadoc/5093723/T5093723.java
+ test/com/sun/javadoc/5093723/UndocumentedClass.java

Changeset: 071a4e36cd87
Author:jjg
Date:  2009-09-08 14:08 -0700
URL:   
http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/071a4e36cd87

6709246: ClassCastException in javadoc
Reviewed-by: jjg
Contributed-by: a...@google.com

! src/share/classes/com/sun/tools/javadoc/AnnotationDescImpl.java
+ test/tools/javadoc/annotations/missing/Main.java
+ test/tools/javadoc/annotations/missing/somepackage/MissingAnnotationClass.java

Changeset: f8be8bf150c3
Author:jjg
Date:  2009-09-14 17:13 -0700
URL:   
http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/f8be8bf150c3

6881317: regression: NPE in CloseableURLClassLoader
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/file/CloseableURLClassLoader.java

Changeset: 9dd34ed62341
Author:jjg
Date:  2009-09-15 12:20 -0700
URL:   
http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/9dd34ed62341

6882235: invalid exponent causes silent javac crash
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
+ test/tools/javac/T6882235.java
+ test/tools/javac/T6882235.out

Changeset: 69eaccd3ea85
Author:jjg
Date:  2009-09-15 18:36 -0700
URL:   
http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/69eaccd3ea85

6860965: Project Coin: binary literals
6860973: Project Coin: Underscores in literals
Summary: [Portions contributed by Bruce Chapman]
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/code/Source.java
! src/share/classes/com/sun/tools/javac/parser/Scanner.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/tools/javac/enum/6384542/T6384542.out
+ test/tools/javac/literals/BadBinaryLiterals.6.out
+ test/tools/javac/literals/BadBinaryLiterals.7.out
+ test/tools/javac/literals/BadBinaryLiterals.java
+ test/tools/javac/literals/Bad

sendfile() in FileChannelImpl.c

2009-10-18 Thread Michael Allman
Can someone explain why we aren't using sendfile() in the transferTo0 call 
for the case of a file transfer to a network socket in FileChannelImpl.c?

Also, my understanding is that if this call cannot do a sendfile(), it 
should return IOS_UNSUPPORTED_CASE.  This will tell the caller to do a 
loop-based transfer (see sun.nio.ch.FileChannelImpl.transferTo(), line 
531).

Cheers,

Michael



Re: OpenJDK 7 build fails on Snow Leopard

2009-10-18 Thread Greg Lewis
G'day John,

On Sun, Oct 18, 2009 at 01:06:36PM -0700, Greg Lewis wrote:
> On Fri, Oct 02, 2009 at 06:06:01PM -0700, John Rose wrote:
> > With the current bsd-port plus unrelated MLVM patches I got a clean  
> > Snow Leopard build.  It passed the MLVM regression tests.
> > 
> > I had to use GCC 4.0 as Michael suggested.
> > 
> > The 4.2 compiler is offering some porting resistance.  I put a patch  
> > into MLVM which copes with the new "printf" warnings it generates:
> >
> > http://hg.openjdk.java.net/mlvm/mlvm/hotspot/raw-file/f9a6cda5b465/snowleopard.patch
> 
> Looking at the patch, it defines FORMATL32_MODIFIER for all gcc >= 4.2.
> Interestingly, FreeBSD (7.x) uses gcc 4.2.1 and doesn't have any problem
> compiling HotSpot (its my main platform).  So perhaps this is overly
> broad?  I'll give the patch a try and see if it causes any compile
> problems.  If so then we probably want to restrict this to just MacOS X
> and not all platforms in general.

Following up my own email...

I did do a test compile without any problems on FreeBSD.  Looking further
at the patch I have to wonder why the OpenJDK code is essentially doing a
mini version of the printf defines from .  Thats a standard
C99 header file, so why not just use the defines there?  E.g. just use
PRIdPTR instead of the JVM defining its own PTR_FORMAT.

-- 
Greg Lewis  Email   : gle...@eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology  FreeBSD : gle...@freebsd.org



Re: sendfile() in FileChannelImpl.c

2009-10-18 Thread Greg Lewis
G'day Michael,

On Fri, Oct 16, 2009 at 04:55:08PM -0700, Michael Allman wrote:
> Can someone explain why we aren't using sendfile() in the transferTo0 call 
> for the case of a file transfer to a network socket in FileChannelImpl.c?
> 
> Also, my understanding is that if this call cannot do a sendfile(), it 
> should return IOS_UNSUPPORTED_CASE.  This will tell the caller to do a 
> loop-based transfer (see sun.nio.ch.FileChannelImpl.transferTo(), line 
> 531).

I think the reason is basically historical.  I don't recall there being
a fallback when we originally ported the NIO code, so sendfile() didn't
make sense since it only transferred to network sockets.

Before switching I'd want to see what sort of affect that had performance
wise on the case of transferring to a file descriptor.

-- 
Greg Lewis  Email   : gle...@eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology  FreeBSD : gle...@freebsd.org



hg: bsd-port/bsd-port: 2 new changesets

2009-10-18 Thread glewis
Changeset: d1516b9f2395
Author:xdono
Date:  2009-10-15 16:40 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/rev/d1516b9f2395

Added tag jdk7-b74 for changeset 2c88089b6e1c

! .hgtags

Changeset: d7f4d0dd8d30
Author:gle...@misty.eyesbeyond.com
Date:  2009-10-18 13:40 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/rev/d7f4d0dd8d30

Merge from main OpenJDK repository





hg: bsd-port/bsd-port/corba: 2 new changesets

2009-10-18 Thread glewis
Changeset: 0fb137085952
Author:xdono
Date:  2009-10-15 16:40 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/0fb137085952

Added tag jdk7-b74 for changeset 5d0cf59a3203

! .hgtags

Changeset: d08a9e6b5186
Author:gle...@misty.eyesbeyond.com
Date:  2009-10-18 13:40 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/corba/rev/d08a9e6b5186

Merge from main OpenJDK repository





hg: bsd-port/bsd-port/hotspot: 19 new changesets

2009-10-18 Thread glewis
Changeset: 685e959d09ea
Author:cfang
Date:  2009-09-14 09:49 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/685e959d09ea

6877254: Server vm crashes with no branches off of store slice" when run with 
CMS and UseSuperWord(default)
Summary: design StoreCMNode::Ideal to promote its oopStore input if the input 
is a MergeMem node
Reviewed-by: kvn, never

! src/share/vm/opto/graphKit.cpp
! src/share/vm/opto/graphKit.hpp
! src/share/vm/opto/idealKit.cpp
! src/share/vm/opto/idealKit.hpp
! src/share/vm/opto/memnode.cpp
! src/share/vm/opto/memnode.hpp
! src/share/vm/opto/superword.cpp
+ test/compiler/6877254/Test.java

Changeset: 62001a362ce9
Author:kvn
Date:  2009-09-14 12:14 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/62001a362ce9

6827605: new String intrinsics may prevent EA scalar replacement
6875866: Intrinsic for String.indexOf() is broken on x86 with SSE4.2
Summary: Modify String intrinsic methods to pass char[] pointers instead of 
string oops.
Reviewed-by: never

! src/cpu/sparc/vm/assembler_sparc.cpp
! src/cpu/sparc/vm/assembler_sparc.hpp
! src/cpu/sparc/vm/sparc.ad
! src/cpu/x86/vm/assembler_x86.cpp
! src/cpu/x86/vm/assembler_x86.hpp
! src/cpu/x86/vm/x86_32.ad
! src/cpu/x86/vm/x86_64.ad
! src/share/vm/adlc/formssel.cpp
! src/share/vm/opto/library_call.cpp
! src/share/vm/opto/matcher.cpp
! src/share/vm/opto/memnode.cpp
! src/share/vm/opto/memnode.hpp
+ test/compiler/6875866/Test.java

Changeset: 00977607da34
Author:cfang
Date:  2009-09-15 11:09 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/00977607da34

6879921: CTW failure 
jdk6_18/hotspot/src/share/vm/utilities/globalDefinitions.cpp:268
Summary: filter out non-primitives before deciding whether two ops can be packed
Reviewed-by: kvn, never

! src/share/vm/opto/superword.cpp

Changeset: 7e309ecb83ce
Author:kvn
Date:  2009-09-15 19:03 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/7e309ecb83ce

6879362: assert(!klass_is_exact(),"only non-exact klass")
Summary: Do nothing for AddP node which has type not related to the type of 
allocated object.
Reviewed-by: never

! src/share/vm/opto/escape.cpp

Changeset: 148e5441d916
Author:jrose
Date:  2009-09-15 21:53 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/148e5441d916

6863023: need non-perm oops in code cache for JSR 292
Summary: Make a special root-list for those few nmethods which might contain 
non-perm oops.
Reviewed-by: twisti, kvn, never, jmasa, ysr

! agent/src/share/classes/sun/jvm/hotspot/code/CodeCache.java
! agent/src/share/classes/sun/jvm/hotspot/code/NMethod.java
! src/cpu/sparc/vm/c1_LIRAssembler_sparc.cpp
! src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp
! src/cpu/x86/vm/c1_LIRAssembler_x86.cpp
! src/cpu/x86/vm/c1_LIRGenerator_x86.cpp
! src/cpu/x86/vm/x86_32.ad
! src/cpu/x86/vm/x86_64.ad
! src/share/vm/c1/c1_GraphBuilder.cpp
! src/share/vm/c1/c1_InstructionPrinter.cpp
! src/share/vm/c1/c1_LIRGenerator.cpp
! src/share/vm/c1/c1_ValueType.cpp
! src/share/vm/ci/ciEnv.cpp
! src/share/vm/ci/ciEnv.hpp
! src/share/vm/ci/ciObject.cpp
! src/share/vm/ci/ciObject.hpp
! src/share/vm/ci/ciObjectFactory.cpp
! src/share/vm/classfile/systemDictionary.cpp
! src/share/vm/code/codeBlob.hpp
! src/share/vm/code/codeCache.cpp
! src/share/vm/code/codeCache.hpp
! src/share/vm/code/debugInfoRec.cpp
! src/share/vm/code/dependencies.cpp
! src/share/vm/code/nmethod.cpp
! src/share/vm/code/nmethod.hpp
! src/share/vm/gc_implementation/concurrentMarkSweep/cmsOopClosures.hpp
! 
src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp
! src/share/vm/gc_implementation/g1/concurrentMark.cpp
! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
! src/share/vm/gc_implementation/g1/g1MarkSweep.cpp
! src/share/vm/gc_implementation/includeDB_gc_parallelScavenge
! src/share/vm/gc_implementation/parNew/parNewGeneration.cpp
! src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp
! src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.hpp
! src/share/vm/gc_implementation/parallelScavenge/pcTasks.cpp
! src/share/vm/gc_implementation/parallelScavenge/pcTasks.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/parallelScavenge/psScavenge.cpp
! src/share/vm/gc_implementation/parallelScavenge/psTasks.cpp
! src/share/vm/gc_implementation/parallelScavenge/psTasks.hpp
! src/share/vm/gc_implementation/shared/markSweep.cpp
! src/share/vm/gc_implementation/shared/markSweep.hpp
! src/share/vm/gc_interface/collectedHeap.hpp
! src/share/vm/memory/defNewGeneration.cpp
! src/share/vm/memory/genCollectedHeap.cpp
! src/share/vm/memory/genCollectedHeap.hpp
! src/share/vm/memory/genMarkSweep.cpp
! src/share/vm/memory/iterator.cpp

hg: bsd-port/bsd-port/jaxp: 2 new changesets

2009-10-18 Thread glewis
Changeset: 555fb78ee4ce
Author:xdono
Date:  2009-10-15 16:40 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jaxp/rev/555fb78ee4ce

Added tag jdk7-b74 for changeset ea7b88c676dd

! .hgtags

Changeset: 0810d407b621
Author:gle...@misty.eyesbeyond.com
Date:  2009-10-18 13:41 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jaxp/rev/0810d407b621

Merge from main OpenJDK repository





hg: bsd-port/bsd-port/jaxws: 2 new changesets

2009-10-18 Thread glewis
Changeset: fcf2b8b5d606
Author:xdono
Date:  2009-10-15 16:40 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jaxws/rev/fcf2b8b5d606

Added tag jdk7-b74 for changeset f4466e1b6080

! .hgtags

Changeset: 0af23cad88bb
Author:gle...@misty.eyesbeyond.com
Date:  2009-10-18 13:41 -0700
URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/jaxws/rev/0af23cad88bb

Merge from main OpenJDK repository





hg: bsd-port/bsd-port/langtools: 9 new changesets

2009-10-18 Thread glewis
Changeset: e992e602788e
Author:darcy
Date:  2009-09-23 18:29 -0700
URL:   
http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/e992e602788e

6517779: javax.lang.model.util.Elements.getConstantExpression() doesn't throw 
any exception
6517907: javax.lang.model.util.Elements.getConstantExpression() with negative 
byte value fails
Summary: Fix various problems with Elements.getConstantExpression()
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/util/Constants.java
! src/share/classes/com/sun/tools/javac/util/Convert.java
+ test/tools/javac/processing/model/util/elements/Foo.java
+ test/tools/javac/processing/model/util/elements/TestGetConstantExpression.java

Changeset: 49359d0e6a9c
Author:jjg
Date:  2009-09-23 18:48 -0700
URL:   
http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/49359d0e6a9c

6410637: Make decision on deprecated methods in DefaultFileManager and 
BaseFileObject.
6747645: ZipFileObject.getName is incorrectly deprecated
6885123: JavaFileObject getName issues
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/apt/mirror/util/SourcePositionImpl.java
! src/share/classes/com/sun/tools/javac/file/BaseFileObject.java
! src/share/classes/com/sun/tools/javac/file/JavacFileManager.java
- src/share/classes/com/sun/tools/javac/file/Old199.java
! src/share/classes/com/sun/tools/javac/file/RegularFileObject.java
! src/share/classes/com/sun/tools/javac/file/SymbolArchive.java
! src/share/classes/com/sun/tools/javac/file/ZipArchive.java
! src/share/classes/com/sun/tools/javac/file/ZipFileIndexArchive.java
! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
! src/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/DiagnosticSource.java
! src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
! src/share/classes/com/sun/tools/javac/util/Log.java
! src/share/classes/com/sun/tools/javac/util/RawDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javadoc/SourcePositionImpl.java
! src/share/classes/javax/tools/SimpleJavaFileObject.java
+ test/tools/javac/4241573/T4241573.java
! test/tools/javac/6589361/T6589361.java
! test/tools/javac/Diagnostics/6769027/T6769027.java
! test/tools/javac/T6705935.java
! test/tools/javac/api/6411310/T6411310.java
+ test/tools/javac/api/6411310/Test.java
! test/tools/javac/api/6733837/T6733837.java

Changeset: c287d51c57da
Author:jjg
Date:  2009-09-23 19:15 -0700
URL:   
http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/c287d51c57da

6572945: javah should be written as an annotation processor, not a doclet
Reviewed-by: darcy

! make/build.xml
! src/share/classes/com/sun/tools/javah/Gen.java
+ src/share/classes/com/sun/tools/javah/InternalError.java
! src/share/classes/com/sun/tools/javah/JNI.java
+ src/share/classes/com/sun/tools/javah/JavahFileManager.java
+ src/share/classes/com/sun/tools/javah/JavahTask.java
+ src/share/classes/com/sun/tools/javah/JavahTool.java
! src/share/classes/com/sun/tools/javah/LLNI.java
! src/share/classes/com/sun/tools/javah/Main.java
- src/share/classes/com/sun/tools/javah/MainDoclet.java
! src/share/classes/com/sun/tools/javah/Mangle.java
+ src/share/classes/com/sun/tools/javah/NativeHeaderTool.java
! src/share/classes/com/sun/tools/javah/TypeSignature.java
! src/share/classes/com/sun/tools/javah/Util.java
- src/share/classes/com/sun/tools/javah/resources/Linux_ppc.properties
- src/share/classes/com/sun/tools/javah/resources/Linux_sparc.properties
- src/share/classes/com/sun/tools/javah/resources/SunOS_sparc.properties
- src/share/classes/com/sun/tools/javah/resources/SunOS_sparcv9.properties
! src/share/classes/com/sun/tools/javah/resources/l10n.properties
- src/share/classes/com/sun/tools/javah/resources/win32_x86.properties
! src/share/classes/com/sun/tools/javap/DisassemblerTool.java
+ test/tools/javah/6572945/T6572945.java
+ test/tools/javah/6572945/TestClass1.java
+ test/tools/javah/6572945/TestClass2.java
+ test/tools/javah/6572945/TestClass3.java
+ test/tools/javah/6572945/gold/jni.dir.1/TestClass1.h
+ test/tools/javah/6572945/gold/jni.dir.1/TestClass1_Inner1.h
+ test/tools/javah/6572945/gold/jni.dir.1/TestClass1_Inner2.h
+ test/tools/javah/6572945/gold/jni.dir.1/TestClass2.h
+ test/tools/javah/6572945/gold/jni.file.1
+ test/tools/javah/6572945/gold/jni.file.2
+ test/tools/javah/6572945/gold/jni.file.3
! test/tools/javah/MissingParamClassTest.sh
+ test/tools/javah/compareTest/CompareTest.java
+ test/tools/javah/compareTest/CompareTest.sh
+ test/tools/javah/compareTest/FindNativeFiles.java
+ test/tools/javah/compareTest/README

Changeset: d0f541480556
Author:darcy
Date:  2009-09-24 16:00 -0700
URL:   
http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/d0f541480556

6337964: should ignore last comma in annotation array
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
+ te

Re: hg: bsd-port/bsd-port: 2 new changesets

2009-10-18 Thread Greg Lewis
On Mon, Oct 19, 2009 at 03:45:15AM +, gle...@eyesbeyond.com wrote:
> Changeset: d1516b9f2395
> Author:xdono
> Date:  2009-10-15 16:40 -0700
> URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/rev/d1516b9f2395
> 
> Added tag jdk7-b74 for changeset 2c88089b6e1c
> 
> ! .hgtags
> 
> Changeset: d7f4d0dd8d30
> Author:gle...@misty.eyesbeyond.com
> Date:  2009-10-18 13:40 -0700
> URL:   http://hg.openjdk.java.net/bsd-port/bsd-port/rev/d7f4d0dd8d30
> 
> Merge from main OpenJDK repository

FWIW I needed to define JAVA_TOOLS_DIR to get the build to work after
this merge.  E.g.,

export JAVA_TOOLS_DIR ${ALT_BOOTDIR}/bin

or something similar.

-- 
Greg Lewis  Email   : gle...@eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology  FreeBSD : gle...@freebsd.org



Re: sendfile() in FileChannelImpl.c

2009-10-18 Thread Michael Allman
On Sun, 18 Oct 2009, Greg Lewis wrote:

> G'day Michael,
>
> On Fri, Oct 16, 2009 at 04:55:08PM -0700, Michael Allman wrote:
>> Can someone explain why we aren't using sendfile() in the transferTo0 call
>> for the case of a file transfer to a network socket in FileChannelImpl.c?
>>
>> Also, my understanding is that if this call cannot do a sendfile(), it
>> should return IOS_UNSUPPORTED_CASE.  This will tell the caller to do a
>> loop-based transfer (see sun.nio.ch.FileChannelImpl.transferTo(), line
>> 531).
>
> I think the reason is basically historical.  I don't recall there being
> a fallback when we originally ported the NIO code, so sendfile() didn't
> make sense since it only transferred to network sockets.
>
> Before switching I'd want to see what sort of affect that had performance
> wise on the case of transferring to a file descriptor.

Hi Greg,

>From a Darwin perspective, it would be awful nice if Apple open-sourced 
their implementation.  I recall finding a while back that Apple's Java 
runtime used sendfile() by using DTrace.

Thanks for the info.  If I had a knowledge of C++ and system programming 
on BSD platforms, I'd be happy to submit a patch.

Cheers,

Michael