043cf32d293e3d1ca449a0e0195556ae7bdbd6d6 |
|
22-May-2017 |
Adam Vartanian <flooey@google.com> |
java.security: Add Android-changed markers, remove unneeded diffs Bug: 38488710 Test: make Change-Id: Ie1b0a75a7e81ec7101a847ea20bd05c8fc894a05
|
c38b350c162ac974daeaecd82616eb7115db22e5 |
|
11-Apr-2017 |
Narayan Kamath <narayan@google.com> |
Revert "Provider: Changes for compile time initialization." This reverts commit fe0724e0a76b229ecf81bb3590f393476a62200b. No longer necessary, and it prevents manual "interning" of Strings in a HashMap. Test: manual inspection of m art-boot-image \ ART_BOOT_IMAGE_EXTRA_ARGS=--dump-init-failures=fails.txt Bug: 36007849 (cherry picked from commit 7aa552781fec98fcc4fa752e8f318f17cb696109) Change-Id: I83565fbf3bd1c3c9ccd0c0cd8e2832ad68e04249
|
7aa552781fec98fcc4fa752e8f318f17cb696109 |
|
11-Apr-2017 |
Narayan Kamath <narayan@google.com> |
Revert "Provider: Changes for compile time initialization." This reverts commit fe0724e0a76b229ecf81bb3590f393476a62200b. No longer necessary, and it prevents manual "interning" of Strings in a HashMap. Test: manual inspection of m art-boot-image \ ART_BOOT_IMAGE_EXTRA_ARGS=--dump-init-failures=fails.txt Bug: 36007849 Change-Id: I4f5b8c8195460977f4109ec84a693c4627631235
|
6975f84c2ed72e1e26d20190b6f318718c849008 |
|
01-Mar-2017 |
Tobias Thierer <tobiast@google.com> |
Make Android patch docs in ojluni more consistent with style guide This CL consists of an automated and a manual part (originally reviewed as separate CLs, then squashed together before submitting in order to minimize the number of times each Android-changed line is touch, since that makes future git archaeology on these simpler). Automated part: Run the following command (performs regex replacements): find ojluni -name \*\.java | xargs sed -i \ -e 's/Android[- ]changed/Android-changed/ig' \ -e 's/Android-changed :/Android-changed:/g' \ -e 's/Android-changed \(BEGIN\|END\)/\1 Android-changed/g' \ -e 's/Android-changed - /Android-changed: /g' \ -e 's/Android[- ]removed/Android-removed/ig' \ -e 's/Android-removed :/Android-removed:/g' \ -e 's/Android-removed \(BEGIN\|END\)/\1 Android-removed/g' \ -e 's/Android-removed - /Android-removed: /g' \ -e 's/Android[- ]added/Android-added/ig' \ -e 's/Android-added :/Android-added:/g' \ -e 's/Android-added \(BEGIN\|END\)/\1 Android-added/g' \ -e 's/Android-added - /Android-added: /g' \ -e 's/----- \(BEGIN\|END\) android\( -----\)\?/\1 Android-changed/g' \ -e 's/\/\* \(BEGIN\|END\) Android-changed \*\//\/\/ \1 Android-changed/g' Manual part: Move BEGIN Android-* lines out of block comments Some Android-{changed,removed,added} lines occurred inside block comments. This CL targets places in ojluni that contained the String "* BEGIN Android-" Changes made by this CL include: - Move the "BEGIN Android-" line into a line comment (the style guide mandates that "Android-" lines are always in line comments). In many cases, that line comment is immediately followed by a block comment holding commented-out upstream code. - Add corresponding "// END Android-" line comments, where missing. - Drop documented import changes altogether. These create noise for little benefit: (1.) Most import problems will be found at compile time (2.) They generally correspond to documented changes elsewhere in the file. - In most cases, the phrasing of comments and the decision whether to keep commented out upstream code was not changed by this CL. - Some additional tweaks were made in line with the style guide. No attempt was made to: - Verify that commented-out upstream code actually matches the current upstream. - Make any fixes (eg. to comments) that would have required git archaeology (looking up historic commits). Bug: 35841464 Test: make droid cts update-api Change-Id: Ibc60979cb6061cfb0e9c7096cc9dcab30ddfa733
|
14481df9ffa74f4a37060be77e8befe5a6c9bf12 |
|
15-Feb-2017 |
Andreas Gampe <agampe@google.com> |
Revert "Libcore: Make java.security.Provider compile-time initializable" No longer necessary after commit 6d65625ab80fefa3a01b4daa89f598109647e295. This reverts commit cbc7a89c7b8cea865995aec10090de33e83c8f4c. Bug: 34890992 Test: m
|
cbc7a89c7b8cea865995aec10090de33e83c8f4c |
|
02-Feb-2017 |
Andreas Gampe <agampe@google.com> |
Libcore: Make java.security.Provider compile-time initializable A statically allocated ServiceKey with empty algorithm was blocking the compile-time initialization, as Locale relies on system data to configure itself upon initialization. Add a special-cased constructor. Bug: 34890992 Test: m test: art/tools/run-libcore-tests.sh --mode=host Test: Device boots Change-Id: Ieabde74966e21f6422ce9234046158266f9a9bad
|
09b2b0ddd40be09a625bd18439bc1131ce27e4b0 |
|
01-Sep-2016 |
Sergio Giro <sgiro@google.com> |
java.security.Provider: port to jdk8u60 (second part) - Add overridings for HashMap operations Provider is a subclass of HashMap. When operations are on Strings, they must be processed as part of the algorithm->implementation mapping of the provider, and so these methods must be overriden accordingly. Newly overridden Methods added are: compute, computeIfAbsent, computeIfPresent, getOrDefault, merge, putIfAbsent, replace, replaceAll. - Check that classes and constructors are public when creating instances of services. - Cosmetic changes like use of {@code} instead of <code> Bug: 29631070 Test: make droid docs; vogar ProviderTest Change-Id: I0238f4a48f31ddc50a3f18c27515023940d9ba02
|
1052c37c3b3ccc25bd58c1e5d412250f12397e33 |
|
25-Aug-2016 |
Sergio Giro <sgiro@google.com> |
java.security.Provider: abstract the logic to check legacy strings New method to abstract the logic for legacy strings. This is a partial port for jdk8u60. Introducing this change first helps getting a more understandable diff when pulling the rest. The change shouldn't change behaviour. Testing that Security.getVersion() is updated and that semantics of set-like operations are unchanged. Bug: 29631070 Change-Id: Ieb3fd005204b6db46c228cde9551fe9ed91b59c5 Test: vogar ProviderTest
|
49965c1dc9da104344f4893a05e45795a5740d20 |
|
30-Jun-2016 |
Ganesh Mahendran <opensource.ganesh@gmail.com> |
remove x attribute of java file java file does not need x attribute. This patch removes it. Change-Id: I2a7170d99f4bee7a7b819621c84dd197ded37fa2 Signed-off-by: Ganesh Mahendran <opensource.ganesh@gmail.com>
|
9fa4908bc79051c8c1d78dc0d10257c13fefe372 |
|
13-May-2016 |
Sergio Giro <sgiro@google.com> |
Provider: add warm up method So that the zygote can warm up the providers, avoiding each app to do the warm up in the first call to get a service. (cherry picked from commit e9cdd78f586994cb3a7d3545e2312afbec7b2a8f) Bug: 28545496 Change-Id: Ic5aab3ece609d9fef06fee4ccb83d8371af075b2
|
e9cdd78f586994cb3a7d3545e2312afbec7b2a8f |
|
13-May-2016 |
Sergio Giro <sgiro@google.com> |
Provider: add warm up method So that the zygote can warm up the providers, avoiding each app to do the warm up in the first call to get a service. Bug: 28545496 Change-Id: I650d4b0435e67e481a41e02b0b538ce5cc993fa3
|
309f9df28350e15445b9135e8b710fa2b34b5dc1 |
|
25-Apr-2016 |
Yi Kong <yikong@google.com> |
Update URLs to Java technotes and platform docs Fix links to {@docRoot}/../{technotes,platform} pages. This is done by batch editing using the following script: grep @docRoot -rl | xargs sed -i 's/\/..\/technotes/r\/openjdk-redirect.html?v=8\&path=\/technotes/g;s/\/..\/platform/openjdk-redirect.html?v=8\&path=\/platform/g' Bug: 27540501 Change-Id: Ib5634cd461fbba37dd94ddad9660910dc9397fe7 (cherry picked from commit d2449bb576ad1e3a3877364e5e1ae28625f69e35)
|
d2449bb576ad1e3a3877364e5e1ae28625f69e35 |
|
25-Apr-2016 |
Yi Kong <yikong@google.com> |
Update URLs to Java technotes and platform docs Fix links to {@docRoot}/../{technotes,platform} pages. This is done by batch editing using the following script: grep @docRoot -rl | xargs sed -i 's/\/..\/technotes/r\/openjdk-redirect.html?v=8\&path=\/technotes/g;s/\/..\/platform/openjdk-redirect.html?v=8\&path=\/platform/g' Bug: 27540501 Change-Id: Ib5634cd461fbba37dd94ddad9660910dc9397fe7
|
404b64a5388f2811182e3180d8cd5a1a473a08b0 |
|
07-Apr-2016 |
Yi Kong <yikong@google.com> |
Make links to Oracle Java tech docs absolute Bug: 27540501 Change-Id: Id8c1e5ae7fcc52e0a03bee9c76a44bb2c3378031
|
0967e6020a0e3ccfd88679178cf0b3056863a96c |
|
07-Apr-2016 |
Yi Kong <yikong@google.com> |
Make links to Oracle Java tech docs absolute Bug: 27540501 Change-Id: Id8c1e5ae7fcc52e0a03bee9c76a44bb2c3378031
|
ea9f793d08681a3da80244c6443954f6146e70dc |
|
30-Mar-2016 |
Narayan Kamath <narayan@google.com> |
Provider: Changes for compile time initialization. Remove support for case insensitive lookups on the list of known engines. This wasn't previously supported, and also seems inconsistent. bug: 27805718 (cherry picked from commit fe0724e0a76b229ecf81bb3590f393476a62200b) Change-Id: I00a5fb66445e7baabbdaa7cf899483cf4dbb6053
|
fe0724e0a76b229ecf81bb3590f393476a62200b |
|
30-Mar-2016 |
Narayan Kamath <narayan@google.com> |
Provider: Changes for compile time initialization. Remove support for case insensitive lookups on the list of known engines. This wasn't previously supported, and also seems inconsistent. bug: 27805718 Change-Id: I4ab80c3d06f9ad73d7a742ab9c4cf30775f52874
|
ac1e092a2a6a666f610bc913868487dda55e6aea |
|
15-Feb-2016 |
Narayan Kamath <narayan@google.com> |
Remove unused additions from javax.security.auth.login. bug: 26689841 Change-Id: Ie1c04adb7cd5cc35ece233878e219f4a29f94348 (cherry picked from commit 5731615b4d705b5af63a3126d84b8786862477d9)
|
60796efea3a74e02aea384b8eb56103ea21b880b |
|
29-Feb-2016 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
Add Iterable#forEach & Map#forEach from openJdk8 Based on openJdk 8u40 source & iam@ stream change in ag/872080 Bug: 27404545 Change-Id: Ic67e20b35c24e7acce513e010b727510af09a83e (cherry picked from commit c3a9db83a352d92d5a6e0098f22bde07e34a1d3b)
|
c3a9db83a352d92d5a6e0098f22bde07e34a1d3b |
|
29-Feb-2016 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
Add Iterable#forEach & Map#forEach from openJdk8 Based on openJdk 8u40 source & iam@ stream change in ag/872080 Bug: 27404545 Change-Id: Ic67e20b35c24e7acce513e010b727510af09a83e
|
5731615b4d705b5af63a3126d84b8786862477d9 |
|
15-Feb-2016 |
Narayan Kamath <narayan@google.com> |
Remove unused additions from javax.security.auth.login. bug: 26689841 Change-Id: Ie1c04adb7cd5cc35ece233878e219f4a29f94348
|
2c87ad3a45cecf9e344487cad1abfdebe79f2c7c |
|
21-Dec-2015 |
Narayan Kamath <narayan@google.com> |
Update file headers. Change-Id: I8149f41585768a1a4b72ab7bb4a1452376c05cc2
|
c2597fca544d9e561bde7a24e427e834882fc521 |
|
30-Mar-2015 |
Piotr Jastrzebski <haaawk@google.com> |
Fix Tests Change-Id: Id82f6ead1673f8c3a94fc482682bfdbbdab11897
|
51b1b6997fd3f980076b8081f7f1165ccc2a4008 |
|
16-Feb-2015 |
Piotr Jastrzebski <haaawk@google.com> |
Initial import of OpenJdk files. Create new libcore/ojluni directory with src/main/java and src/main/native subdirectiories. Build ojluni into core-oj jar. Use openjdk classes from java.awt.font package. Copy all files from jdk/src/share/classes and jdk/src/solaris/classes directories in openjdk into libcore/ojluni/src/main/java. Copy following native files from openjdk to libcore/ojluni/src/main/native: jdk/src/solaris/native/java/io/canonicalize_md.c build/linux-amd64/include/classfile_constants.h jdk/src/share/native/java/net/DatagramPacket.c jdk/src/solaris/native/sun/net/spi/DefaultProxySelector.c jdk/src/share/native/java/lang/Double.c jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h jdk/src/solaris/native/sun/nio/ch/FileChannelImpl.c jdk/src/solaris/native/java/io/FileDescriptor_md.c jdk/src/solaris/native/sun/nio/ch/FileDispatcherImpl.c jdk/src/share/native/java/io/FileInputStream.c jdk/src/solaris/native/sun/nio/ch/FileKey.c jdk/src/solaris/native/java/io/FileOutputStream_md.c jdk/src/solaris/native/java/io/FileSystem_md.c jdk/src/share/native/java/lang/Float.c jdk/src/share/native/java/net/Inet4Address.c jdk/src/solaris/native/java/net/Inet4AddressImpl.c jdk/src/share/native/java/net/Inet6Address.c jdk/src/solaris/native/java/net/Inet6AddressImpl.c jdk/src/share/native/java/net/InetAddress.c jdk/src/solaris/native/java/net/InetAddressImplFactory.c jdk/src/share/native/java/io/io_util.c jdk/src/solaris/native/sun/nio/ch/IOUtil.c jdk/src/share/native/java/io/io_util.h jdk/src/solaris/native/java/io/io_util_md.c jdk/src/solaris/native/java/io/io_util_md.h build/linux-amd64/tmp/java/java.nio/nio/CClassHeaders/java_io_FileDescriptor.h build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/java_io_FileInputStream.h build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/java_io_FileOutputStream.h build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/java_io_FileSystem.h build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/java_io_ObjectStreamClass.h build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/java_io_UnixFileSystem.h build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/java_lang_Double.h build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/java_lang_Float.h build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/java_lang_Integer.h build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/java_lang_Long.h build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/java_lang_Runtime.h build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/java_lang_Shutdown.h build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/java_lang_StrictMath.h build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/java_lang_String.h build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/java_lang_System.h build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/java_lang_Thread.h build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/java_lang_Throwable.h build/linux-amd64/tmp/sun/java.net/net/CClassHeaders/java_net_DatagramPacket.h build/linux-amd64/tmp/sun/java.net/net/CClassHeaders/java_net_Inet4Address.h build/linux-amd64/tmp/sun/java.net/net/CClassHeaders/java_net_Inet4AddressImpl.h build/linux-amd64/tmp/sun/java.net/net/CClassHeaders/java_net_Inet6Address.h build/linux-amd64/tmp/sun/java.net/net/CClassHeaders/java_net_Inet6AddressImpl.h build/linux-amd64/tmp/sun/java.net/net/CClassHeaders/java_net_InetAddress.h build/linux-amd64/tmp/sun/java.net/net/CClassHeaders/java_net_InetAddressImplFactory.h build/linux-amd64/tmp/sun/java.net/net/CClassHeaders/java_net_NetworkInterface.h build/linux-amd64/tmp/sun/java.net/net/CClassHeaders/java_net_PlainDatagramSocketImpl.h build/linux-amd64/tmp/sun/java.net/net/CClassHeaders/java_net_PlainSocketImpl.h build/linux-amd64/tmp/sun/java.net/net/CClassHeaders/java_net_SocketInputStream.h build/linux-amd64/tmp/sun/java.net/net/CClassHeaders/java_net_SocketOptions.h build/linux-amd64/tmp/sun/java.net/net/CClassHeaders/java_net_SocketOutputStream.h jdk/src/share/native/java/lang/java_props.h jdk/src/solaris/native/java/lang/java_props_md.c jdk/src/share/native/java/util/zip/Adler32.c as java_util_zip_Adler32.c jdk/src/share/native/java/util/zip/CRC32.c as java_util_zip_CRC32.c build/linux-amd64/tmp/sun/java.util.zip/zip/CClassHeaders/java_util_zip_CRC32.h jdk/src/share/native/java/util/zip/Deflater.c as java_util_zip_Deflater.c build/linux-amd64/tmp/sun/java.util.zip/zip/CClassHeaders/java_util_zip_Deflater.h jdk/src/share/native/java/util/zip/Inflater.c as java_util_zip_Inflater.c build/linux-amd64/tmp/sun/java.util.zip/zip/CClassHeaders/java_util_zip_Inflater.h jdk/src/share/native/java/util/zip/ZipFile.c as java_util_zip_ZipFile.c build/linux-amd64/tmp/sun/java.util.zip/zip/CClassHeaders/java_util_zip_ZipFile.h jdk/src/share/native/java/lang/fdlibm/include/jfdlibm.h jdk/src/share/native/common/jlong.h jdk/src/solaris/native/common/jlong_md.h jdk/src/share/native/common/jni_util.c jdk/src/share/native/common/jni_util.h jdk/src/solaris/native/common/jni_util_md.c jdk/src/share/javavm/export/jvm.h jdk/src/solaris/javavm/export/jvm_md.h jdk/src/solaris/native/java/net/linux_close.c jdk/src/share/native/sun/misc/NativeSignalHandler.c jdk/src/solaris/native/sun/nio/ch/NativeThread.c jdk/src/share/native/java/net/net_util.c jdk/src/share/native/java/net/net_util.h jdk/src/solaris/native/java/net/net_util_md.c jdk/src/solaris/native/java/net/net_util_md.h jdk/src/solaris/native/java/net/NetworkInterface.c jdk/src/share/native/sun/nio/ch/nio.h jdk/src/solaris/native/sun/nio/ch/nio_util.h jdk/src/share/native/java/io/ObjectStreamClass.c jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c jdk/src/solaris/native/java/net/PlainSocketImpl.c jdk/src/solaris/native/java/lang/ProcessEnvironment_md.c jdk/src/share/native/java/lang/Runtime.c jdk/src/share/native/java/lang/Shutdown.c jdk/src/share/native/sun/misc/Signal.c jdk/src/solaris/native/java/net/SocketInputStream.c jdk/src/solaris/native/java/net/SocketOutputStream.c jdk/src/share/native/java/lang/StrictMath.c jdk/src/share/native/java/lang/String.c build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/sun_misc_NativeSignalHandler.h build/linux-amd64/tmp/java/java.lang/java/CClassHeaders/sun_misc_Signal.h build/linux-amd64/tmp/sun/java.net/net/CClassHeaders/sun_net_spi_DefaultProxySelector.h build/linux-amd64/tmp/java/java.nio/nio/CClassHeaders/sun_nio_ch_FileChannelImpl.h build/linux-amd64/tmp/java/java.nio/nio/CClassHeaders/sun_nio_ch_FileDispatcherImpl.h build/linux-amd64/tmp/java/java.nio/nio/CClassHeaders/sun_nio_ch_FileKey.h build/linux-amd64/tmp/java/java.nio/nio/CClassHeaders/sun_nio_ch_IOStatus.h build/linux-amd64/tmp/java/java.nio/nio/CClassHeaders/sun_nio_ch_IOUtil.h build/linux-amd64/tmp/java/java.nio/nio/CClassHeaders/sun_nio_ch_NativeThread.h jdk/src/share/native/java/lang/System.c jdk/src/share/native/java/lang/Thread.c jdk/src/share/native/java/lang/Throwable.c jdk/src/solaris/native/java/io/UnixFileSystem_md.c jdk/src/solaris/native/java/lang/UNIXProcess_md.c jdk/src/share/native/java/util/zip/zip_util.c jdk/src/share/native/java/util/zip/zip_util.h Change-Id: Ib237df4e1b7b5b4d9f12e74d189e6ec9eed3c31d
|