496 Commits

Author SHA1 Message Date
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
Andrew Brygin
01ea5d17ec 8004801: The image of BufferedImage.TYPE_INT_ARGB is blank
Reviewed-by: prr
2013-02-01 20:06:27 +04:00
Chris Hegarty
d0830009e8 8006395: Race in async socket close on Linux
Reviewed-by: alanb, dsamersoff
2013-02-01 06:51:37 +00:00
Alan Bateman
69b0c6aad4 6939260: (fs) BasicFileAttributes.lastModifiedTime() should return last modified time with higher precision
Reviewed-by: chegar
2013-01-18 18:48:44 +00:00
Brent Christian
b21bc8e16d 8003228: (props) sun.jnu.encoding should be set to UTF-8 [macosx]
Hard-code sun.jnu.encoding to UTF-8 on Mac

Reviewed-by: naoto
2013-01-07 13:19:03 -08:00
David Katleman
306cab1006 8004982: JDK8 source with GPL header errors
Reviewed-by: ohair
2012-12-20 16:24:50 -08:00
Michael McMahon
724cfc1897 8000724: Improve networking serialization
Delegate InetAddress fields to a holder object

Reviewed-by: alanb, chegar
2013-02-13 10:40:31 +00:00
Edvard Wendelin
f92370665e Merge 2013-02-03 23:25:38 +01:00
Lana Steuck
0e089aadcd Merge 2012-12-04 11:46:27 -08:00
Dan Xu
00ad2900dd 7142921: (fs) Files.probeContentType reports a MIME type of "text/plain" on Ubuntu 11.04
7144997: (fs) Files.probeContentType returns null on Solaris 64-bit

Reviewed-by: alanb, mduigou
2012-12-04 14:07:30 +00:00
Andrew Haley
0b8ff32553 8004344: Fix a crash in ToolkitErrorHandler() in XlibWrapper.c
Code does not check for JNU_GetEnv returning NULL.

Reviewed-by: anthony
2012-12-04 14:02:08 +00:00
Alexey Utkin
68a92f6e88 8003898: X11 toolkit can be chosen as the default toolkit
XToolkit is not selected for any values of system-wide environment variables (ex. DISPLAY).

Reviewed-by: anthony, art
2012-11-23 13:07:54 +04:00
Brent Christian
a9594cbceb 7178922: (props) re-visit how os.name is determined on Mac
Reviewed-by: alanb, mchung, skovatch, serb
2012-11-16 17:01:19 -08:00
Chris Hegarty
90f2168fa2 7201071: InetSocketAddress serialization issue
Reviewed-by: alanb, michaelm, skoivu
2012-11-07 14:26:41 +00:00
John Zavgren
1f34c4e8ad 8001579: Cleanup warnings in security native code
Reviewed-by: chegar, alanb, vinnie
2012-11-07 10:49:19 +00:00
Alan Bateman
430592a30e 7197491: update copyright year to match last edit in jdk8 jdk repository
Reviewed-by: chegar, ksrini
2012-11-02 15:50:11 +00:00
Lana Steuck
bbf2d20d03 Merge 2012-10-31 08:29:44 -07:00
Dan Xu
ed483ab38b 4239752: FileSystem should be a platform-specific class to avoid native code
Reviewed-by: alanb, dholmes, erikj, jgish
2012-10-26 11:21:02 +01:00
John Zavgren
3877e3dda4 8000203: File descriptor leak in src/solaris/native/java/net/net_util_md.c
Reviewed-by: dsamersoff, khazra, chegar
2012-10-24 21:20:40 +01:00
Lana Steuck
4048bc01c6 Merge 2012-10-23 09:41:52 -07:00
John Zavgren
28475942c9 8000204: Memory leak in com/sun/security/auth/module/Unix.c
Reviewed-by: dsamersoff, wetmore, khazra, chegar
2012-10-23 11:57:47 +01:00
John Zavgren
3c2e0ae2ac 8000206: Uninitialized variable in PlainDatagramSocketImpl.c
Reviewed-by: dsamersoff, khazra, chegar
2012-10-19 11:43:59 +01:00
Mikhail Cherkasov
1fd51fa05e 6818083: When DISPLAY is bad, InternalError thrown, not AWTError
Throw AWTError instead of InternalError if the DISPLAY is bad

Reviewed-by: anthony, serb
2012-10-16 20:11:19 +04:00
Lana Steuck
703702096b Merge 2012-10-08 15:39:33 -07:00
Rob McKenna
2102c5a5b6 7184932: Remove the temporary Selector usage in the NIO socket adapters
Reviewed-by: alanb
2012-10-04 19:53:08 +01:00
Oleg Pekhovskiy
ebff918cc7 7171412: awt Choice doesn't fire ItemStateChange when selecting item after select() call
Reviewed-by: art, denis
2012-10-03 21:01:47 +04:00
Naoto Sato
73ff23b7f7 6336885: RFE: Locale Data Deployment Enhancements
4609153: Provide locale data for Indic locales
5104387: Support for gl_ES locale (galician language)
6337471: desktop/system locale preferences support
7056139: (cal) SPI support for locale-dependent Calendar parameters
7058206: Provide CalendarData SPI for week params and display field value names
7073852: Support multiple scripts for digits and decimal symbols per locale
7079560: [Fmt-Da] Context dependent month names support in SimpleDateFormat
7171324: getAvailableLocales() of locale sensitive services should return the actual availability of locales
7151414: (cal) Support calendar type identification
7168528: LocaleServiceProvider needs to be aware of Locale extensions
7171372: (cal) locale's default Calendar should be created if unknown calendar is specified

JEP 127: Improve Locale Data Packaging and Adopt Unicode CLDR Data (part 1 w/o packaging changes. by Naoto Sato and Masayoshi Okutsu)

Reviewed-by: erikj, sherman, peytoia
2012-08-21 11:00:30 -07:00
Frank Ding
6a7bd4b00c 7191275: Cleanup OS specific blocks in PlainDatagramSocketImpl.c to support more unix-like platforms
Reviewed-by: chegar
2012-08-17 17:10:56 +08:00