65 Commits

Author SHA1 Message Date
Erik Joelsson
7df86108cb 8252145: Unify Info.plist files with correct version strings
Reviewed-by: ihse, serb
2020-08-28 06:23:41 -07:00
Mikael Vidstedt
e7289aa4d4 Merge 2020-07-27 22:26:00 -07:00
Erik Joelsson
fcd5d414d6 8246094: [macos] Sound Recording and playback is not working
Reviewed-by: prr, serb
2020-07-24 10:52:02 -07:00
Vyom Tewari
955aee3bfa 8237858: PlainSocketImpl.socketAccept() handles EINTR incorrectly
PlainSocketImpl.socketAccept() handles EINTR incorrectly

Reviewed-by: alanb, dfuchs, martin
2020-07-17 11:15:00 +05:30
Sean Mullan
da6daad2e5 8234042: Better factory production of certificates
Reviewed-by: weijun, rhalade, mschoene
2020-01-17 08:04:14 -05:00
Mikael Vidstedt
44a0a08991 8245600: Clean up libjli
Reviewed-by: dholmes, alanb
2020-05-26 10:18:32 -07:00
Valerie Peng
080b3b83eb 8242151: Improve OID mapping and reuse among JDK security providers for aliases registration
Use sun.security.util.KnownOIDs enum instead of hardcoding oid strings everywhere

Reviewed-by: weijun
2020-05-19 04:05:03 +00:00
Lin Zang
b317d0ee39 8241638: launcher time metrics always report 1 on Linux when _JAVA_LAUNCHER_DEBUG set
Reviewed-by: alanb, dholmes
2020-04-07 03:25:11 +00:00
Daniel Fuchs
f541970b31 8241786: Improve heuristic to determine default network interface on macOS
DefaultInetrface.getDefault is updated to prefer interfaces that have non link-local addresses. NetworkConfiguration is updated to skip interface that have only link-local addresses, whether IPv4 or IPv6, for multicasting.

Reviewed-by: chegar, alanb
2020-04-03 14:27:03 +01:00
Ivan Gerasimov
3790e58090 8241761: Typos: empty lines in javadoc, inconsistent indents, etc. (security-libs only)
Reviewed-by: weijun
2020-04-01 18:38:05 -07:00
Mandy Chung
d5d6dc0caa 8228336: Refactor native library loading implementation
Reviewed-by: alanb, dholmes
2020-03-12 11:54:11 -07:00
Xue-Lei Andrew Fan
0ab5b968fb 8240193: loadLibrary("osxsecurity") should not be removed
Reviewed-by: ascarpino
2020-02-27 21:14:59 -08:00
Xue-Lei Andrew Fan
4e430ffbb6 8239264: Clearup the legacy ObjectIdentifier constructor from int array
Reviewed-by: jnimeh
2020-02-17 18:52:50 -08:00
Erik Joelsson
f1332640d4 8238225: Issues reported after replacing symlink at Contents/MacOS/libjli.dylib with binary
Reviewed-by: clanger, alanb, ihse
2020-02-05 09:33:25 -08:00
Claes Redestad
0414acb5d6 8237576: Missing import in macosx/../ClassLoaderHelper
Reviewed-by: dfuchs
2020-01-21 14:08:43 +01:00
Claes Redestad
c639682887 8236075: Minor bootstrap improvements
Reviewed-by: mchung, alanb
2020-01-21 13:28:15 +01:00
Alan Bateman
c6a4cea7a0 8236246: SelectorProvider support for creating a DatagramChannel that is not interruptible
Reviewed-by: chegar
2019-12-20 09:28:57 +00:00
Matthias Baesken
673c732a33 8234821: remove unused functions from libjli
Reviewed-by: clanger, alanb
2019-11-28 13:02:39 +01:00
Matthias Baesken
20a03807b8 8234501: remove obsolete NET_ReadV
Reviewed-by: alanb, vtewari
2019-11-20 14:16:29 +01:00
Alan Bateman
7e42642939 8231259: (dc) DatagramChannel::disconnect re-binds socket to the wildcard address (macOS)
Reviewed-by: dfuchs, chegar
2019-11-20 08:35:53 +00:00
Naoto Sato
9803a8dcb2 8232860: Error formatting integer values with MessageFormat.format() using HOST provider
Reviewed-by: rriggs
2019-11-12 14:05:18 -08:00
Naoto Sato
c1a99a0f33 8232871: Host Locale Provider on Mac does not return translated values of Japanese calendar
Reviewed-by: bchristi
2019-11-07 11:34:01 -08:00
Michael McMahon
aa5329e0d3 8231187: SelectorProvider.inheritedChannel() returns TCP socket channel for Unix domain socket
Reviewed-by: alanb, chegar
2019-09-24 16:19:11 +01:00
Matthias Baesken
e2ebf7b822 8231171: remove remaining sun.java.launcher.pid references
Reviewed-by: alanb, dholmes
2019-09-20 10:28:48 +02:00
Brian Burkhalter
c57ad7ffc0 8230085: (fs) FileStore::isReadOnly is always true on macOS Catalina
Reviewed-by: alanb
2019-09-13 16:03:31 -07:00
Matthias Baesken
4449a99f84 8228578: fix CFData object leak in macosx KeystoreImpl.m
Reviewed-by: weijun
2019-07-24 12:36:12 +02:00
Matthias Baesken
ff6b5404eb 8228501: java_props_macosx.c - provide missing CFRelease for CFLocaleCopyCurrent
Reviewed-by: naoto
2019-07-24 09:28:48 +02:00
Claes Redestad
78a1c8ea0a 8227587: Add internal privileged System.loadLibrary
Reviewed-by: rriggs, mchung, chegar
2019-07-17 12:35:46 +02:00
Prasanta Sadhukhan
4651ce7fc9 Merge 2019-06-03 11:06:24 +05:30
Chris Hegarty
89c51948ff 8225060: java.net.DefaultInterface invokes NetworkInterface::getInetAddresses without doPriv
Reviewed-by: alanb
2019-05-30 18:10:34 +01:00
Sean Coffey
61c0225c71 8042904: apple.security.KeychainStore.getSalt() calling generateSeed()
Reviewed-by: jnimeh
2019-05-28 19:19:58 +01:00
Phil Race
5c2948942f 8222819: Remove setting of headless property on MacOS from launcher code
Reviewed-by: serb, rriggs
2019-05-03 17:06:42 -07:00
Phil Race
1726e8728f 8223804: [macos] remove obsoleted reference to security framework in launcher code
Reviewed-by: rriggs, erikj
2019-05-17 13:05:21 -07:00
Dmitry Chuyko
b818234d2a 8215009: GCC 8 compilation error in libjli
Reviewed-by: dholmes, mikael, rriggs
2019-02-27 13:13:15 +03:00
Brian Burkhalter
dce16304c1 8218882: NET_Writev is declared, NET_WriteV is defined
Reviewed-by: alanb, chegar
2019-02-13 07:58:04 -08:00
Sean Coffey
63663b64d1 8218553: Enhance keystore load debug output
Reviewed-by: weijun
2019-02-07 12:09:17 +00:00
Matthias Baesken
e4b1f82bbd 8215411: some GetByteArrayElements calls miss corresponding Release
Reviewed-by: dholmes, jcbeyler
2018-12-19 10:30:43 +01:00
Priyanka Mangal
7c6cb8cd7e 8213362: [macOS] Could not find libjava.dylib error when initializing JVM via JNI_CreateJavaVM
Reviewed-by: alanb, ihse
2018-11-30 13:42:49 -08:00
Stuart Marks
9aff87efc9 8214460: MacosX build is broken because of JDK-8214014
Reviewed-by: dholmes, tbell
2018-11-28 18:16:39 -08:00
Martin Buchholz
7212bf0a77 8213406: (fs) More than one instance of built-in FileSystem observed in heap
Reviewed-by: alanb, cushon, weijun
2018-11-28 14:28:28 -08:00
Roger Riggs
48d68d182a 8214014: Remove vestiges of gopher: protocol proxy support
Reviewed-by: lancea, alanb
2018-11-28 16:04:36 -05:00
Sergey Bylokhov
550af18f08 8212213: All tests for splashscreen stopped worked in jdk12b13
Reviewed-by: ihse, prr
2018-10-19 11:15:57 -07:00
Phil Race
42ecae239b 8211031: Remove un-needed qualified export to java.desktop from java.base on macos
Reviewed-by: serb, mchung
2018-10-03 11:10:09 -07:00
Magnus Ihse Bursie
aa16ed8006 8210931: JLI and launchers normalization and cleanup
Reviewed-by: alanb, erikj
2018-09-20 21:05:00 +02:00
Magnus Ihse Bursie
fe67f09af3 8210924: Remove PACKAGE_PATH
Reviewed-by: tbell
2018-09-20 00:19:46 +02:00
Naoto Sato
602a497270 8206886: Java does not set the default format locale correctly on mac10.13
Reviewed-by: rriggs
2018-07-19 11:15:38 -07:00
Roger Riggs
4098f2560a 8066709: Make some JDK system properties read only
Reviewed-by: lancea, sundar, bchristi, weijun, mchung, alanb, mullan
2018-06-27 09:36:34 -04:00
Alan Bateman
db61a602f6 8199433: (se) select(Consumer<SelectionKey> action) as alternative to selected-key set
Reviewed-by: bpb
2018-06-16 10:10:54 +01:00
Naoto Sato
8220e4135a 8203324: Use out of scope in getMacOSXLocale of java_props_macosx.c:120
Reviewed-by: rriggs
2018-06-05 08:33:40 -07:00
Erik Joelsson
ad3144f97f 8202920: jvm.cfg generation incorrect
Reviewed-by: ihse, shade, dholmes, ksrini
2018-05-16 09:40:57 -07:00