523 Commits

Author SHA1 Message Date
Lana Steuck
5ab44a5a66 Merge 2013-06-19 18:30:21 -07:00
Petr Pchelko
d792da6ac6 8005661: [parfait] Possible buffer overrun in jdk/src/solaris/native/sun/awt/awt_GraphicsEnv.c
8005695: [parfait] Format string argument mismatch in jdk/src/solaris/native/sun/xawt/XToolkit.c
8005752: [parfait] False positive function call mismatch at jdk/src/solaris/native/sun/xawt/XWindow.c

Reviewed-by: art, serb
2013-06-19 17:12:23 +04:00
Chris Hegarty
5864e2de68 Merge 2013-06-17 11:26:16 +01:00
Chris Hegarty
a294d4b6a4 8017271: Crash may occur in java.net.DualStackPlainSocketImpl::initIDs due to unchecked values returned from JNI functions
Reviewed-by: alanb, khazra
2013-06-22 08:14:54 +01:00
Alan Bateman
a7f93a5480 8014377: (dc) DatagramChannel should set IP_MULTICAST_ALL=0 (lnx)
Reviewed-by: chegar, jzavgren
2013-06-20 19:14:30 +01:00
Chris Hegarty
92d31ec9c3 8014499: MulticastSocket should enable IP_MULTICAST_ALL (lnx)
Co-authored-by: John Zavgren <john.zavgren@oracle.com>
Reviewed-by: alanb, chegar
2013-06-20 18:53:57 +01:00
Lana Steuck
17b2b94a22 Merge 2013-06-05 12:31:59 -07:00
Dmitry Markov
d7c42983fb 8015375: Edits to text components hang for clipboard access
Reviewed-by: art, anthony
2013-06-05 14:21:31 +04:00
Lana Steuck
d983033c28 Merge 2013-06-04 21:37:15 -07:00
Lana Steuck
9a0b18efc0 Merge 2013-05-22 17:37:05 -07:00
Anton Litvinov
075f3e82d9 8005607: Recursion in J2DXErrHandler() Causes a Stack Overflow on Linux
Reviewed-by: art, anthony, prr
2013-05-21 05:02:21 +04:00
Lana Steuck
8f6d37ee8e Merge 2013-05-17 10:11:35 -07:00
Lana Steuck
17d9dc0227 Merge 2013-05-09 19:17:43 -07:00
Volker Simonis
dbb7fe4b2a 7191872: Xrender: No text displayed using 64 bit JDK on solaris11-sparc
Reviewed-by: prr, ceisserer
2013-05-06 12:57:42 -07:00
Kurchi Subhra Hazra
3dbbc23195 8013140: Heap corruption with NetworkInterface.getByInetAddress() and long i/f name
Remove buffer overruns in native code

Reviewed-by: alanb, chegar
2013-05-02 14:26:51 -07:00
Chris Hegarty
22126efe5a Merge 2013-06-10 10:38:33 +01:00
Chris Hegarty
a5477b8630 Merge 2013-05-23 12:58:51 +01:00
Chris Hegarty
6983122cde Merge 2013-05-08 11:22:25 +01:00
Chris Hegarty
5f108f0ea5 Merge 2013-04-23 11:13:38 +01:00
Anthony Petrov
48b654d67d 8009071: Improve shape handling
Reviewed-by: art, mschoene
2013-04-18 13:52:38 +01:00
Alan Bateman
6c1e93b7c6 8011536: (fs) BasicFileAttributes.creationTime() should return birth time (mac)
Reviewed-by: chegar
2013-04-18 11:13:18 +01:00
Chris Hegarty
c0de159c91 Merge 2013-04-16 13:30:19 +01:00
Martin Buchholz
67e05359fc 8008509: 6588413 changed JNIEXPORT visibility for GCC on HSX, jdk's jni_md.h needs similar change
Define JNIEXPORT to use "default" visibility where possible.

Reviewed-by: coleenp, ddehaven, dcubed, anthony
2013-04-15 14:07:17 -07:00
Chris Hegarty
cd4711df4d Merge 2013-04-13 21:51:36 +01:00
Chris Hegarty
be8d5c723d Merge 2013-04-13 20:16:00 +01:00
John Zavgren
f82212cd86 8008118: (process) Possible null pointer dereference in jdk/src/solaris/native/java/lang/UNIXProcess_md.c
Modified the path processing code so that it detects and handles out of memory errors.

Reviewed-by: chegar, martin, christos, alanb, msheppar
2013-04-11 12:33:33 -04:00
Valerie Peng
4ce74c065e 7155720: PKCS11 minor issues in native code
Added OOM handling to address the two issues found by parfait.

Reviewed-by: weijun
2013-04-04 20:05:47 -07:00
Dan Xu
209e92f4fe 8000406: change files using @GenerateNativeHeader to use @Native
Use @Native annotation to mark constants interested by native codes

Reviewed-by: alanb, anthony, prr
2013-04-04 15:39:17 -07:00
Peter Allwin
830c248500 8009985: [parfait] Uninitialised variable at jdk/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c
Reviewed-by: sla, rbackman, alanb, dholmes, rdurbin
2013-04-24 14:49:49 +02:00
Lana Steuck
e82dcb36d6 Merge 2013-04-02 11:59:34 -07:00
Dan Xu
2ffe97f06e 8010837: FileInputStream.available() throw IOException when encountering negative available values
Remove the check in the native code to allow negative values

Reviewed-by: mchung
2013-03-27 09:00:34 -07:00
Lana Steuck
bd671cb7fa Merge 2013-03-26 12:04:35 -07:00
Denis Fokin
439ddacaac 7123476: DesktopOpenTests:When enter the file path and click the open button,it crash
Reviewed-by: art, anthony
2013-03-22 19:56:20 +04:00
John Zavgren
08e50cc4ce 8007607: security native code doesn't always use malloc, realloc, and calloc correctly
Reviewed-by: chegar, dsamersoff, valeriep
2013-03-18 14:21:13 -04:00
Kurchi Subhra Hazra
ebbaaa0f18 7170730: Improve Windows network stack support
Enable exclusive binding of ports on Windows

Reviewed-by: alanb, chegar, ahgross
2013-03-14 13:46:15 -07:00
Lana Steuck
4f62a2b334 Merge 2013-03-15 23:31:19 -07:00
Bill Pittore
b938257957 8005716: Enhance JNI specification to allow support of static JNI libraries in Embedded JREs
Co-authored-by: Bob Vandette <bob.vandette@oracle.com>
Reviewed-by: dlong, alanb, mduigou
2013-03-14 16:03:10 +00:00
Dan Xu
f3e45cd062 8001334: Remove use of JVM_* functions from java.io code
Replace JVM_* functions with direct system calls in java io area

Reviewed-by: alanb, uta, martin
2013-03-13 14:50:40 -07:00
Edvard Wendelin
f5518d2c81 Merge 2013-02-27 18:13:20 +01:00
Andrew Brygin
14d39ee359 8001034: Memory management improvements
Reviewed-by: mschoene, prr, jgodinez
2013-02-27 12:10:59 +04:00
Vladimir Danushevsky
78a060dbde 8005545: Add System property to identify ARCH specific details such as ARM hard-float binaries
Adding sun.os.abi Java Property support

Reviewed-by: bobv, alanb, dholmes
2013-02-22 17:12:35 -05:00
Edvard Wendelin
2f5be3ab0d Merge 2013-02-25 08:44:00 +01:00
Edvard Wendelin
cbfc80d987 Merge 2013-02-19 21:48:01 +01:00
Lana Steuck
61363dfe99 Merge 2013-02-13 13:01:16 -08:00
Naoto Sato
7037ed261e 7006052: awt_InputMethod.c cleanup is needed
Reviewed-by: anthony
2013-05-31 11:20:51 -07:00
Chris Hegarty
608c513883 7107883: getNetworkPrefixLength() does not return correct prefix length
Reviewed-by: alanb, michaelm
2013-05-31 09:30:44 +01:00
Jia-Hong Chen
c3e1c6d07b 8005261: [parfait] #415 sun/java2d/opengl/GLXSurfaceData.c Memory leak of pointer 'glxsdo' allocated with malloc
Reviewed-by: prr, vadim
2013-02-08 11:36:18 -08:00
Lana Steuck
bab241d2e7 Merge 2013-02-05 11:11:53 -08:00
Edvard Wendelin
11036fb4d5 Merge 2013-02-05 15:35:35 +01:00
Jia-Hong Chen
78b547afa7 8005052: [parfait] #416 X11SurfaceData.c UNINITIALISED OR MISSING RETURN VALUE
8005054: [parfait] #417 X11SurfaceData.c UNINITIALISED OR MISSING RETURN VALUE

Reviewed-by: prr, vadim
2013-02-04 12:04:38 -08:00