summaryrefslogtreecommitdiff
path: root/ojluni/src/main/java/sun/misc/Version.java
Commit message (Collapse)AuthorAgeFilesLines
* Update sun.misc package to openJdk8u121-b13Przemyslaw Szczepaniak2017-06-021-20/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change covers changesets: changeset: 12095:dfa1648415a4 user: robm date: Tue Aug 16 16:09:00 2016 +0100 summary: 8151934: Resolve class resolution changeset: 11777:e6dcac8fe5ea user: igerasim date: Wed Mar 30 19:45:41 2016 +0300 summary: 8147771: Construction of static protection domains under Javax custom policy changeset: 11751:8b462a34c6da user: sjiang date: Fri Jan 22 13:41:10 2016 +0100 summary: 8144430: Improve JMX connections changeset: 10887:a25640f4e518 user: xuelei date: Thu Feb 05 14:20:19 2015 +0000 summary: 8067694: Improved certification checking changeset: 10247:2f1ae696419c parent: 10222:e644a7f00328 user: iklam date: Mon Oct 13 16:10:01 2014 -0700 summary: 8061651: Interface to the Lookup Index Cache to improve URLClassPath search time changeset: 9447:55e6175fb690 tag: jdk8u5-b04 user: alanb date: Tue Jan 14 11:48:57 2014 +0000 summary: 8031394: (sl) Fix exception handling in ServiceLoader changeset: 8788:69432cb5bca2 user: darcy date: Tue Nov 12 09:44:39 2013 -0800 summary: 8028229: Fix more raw types lint warning in core libraries Only the following files in sun.misc differ from upstream OpenJDK8u121-b13: MessageUtils.java SharedSecrets.java Unsafe.java URLClassPath.java Version.java (upstream has Version.java.template) VM.java Test: make & flash Bug: 38026696 Change-Id: Ie2f52eb05a10137d063fdbda97242d77f90513cf
* Make Android patch docs in ojluni more consistent with style guideTobias Thierer2017-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Tidy up uses of Integer.valueOf.Narayan Kamath2016-04-191-2/+2
| | | | | | | | Use parseInt when the result is assigned to an int. Allocates fewer objects. bug: 28078871 Change-Id: I8df439d0bf333b62a89e95ed27e1aa8651276abe
* Libcore: Move definition of java version to hardcoded classAndreas Gampe2016-04-151-1/+1
| | | | | | | | To expose the value for compile-time purposes, move the definition to AndroidHardcodedSystemProperties. Bug: 27265238 Change-Id: I97947c2c350b250fb14cc218fb92989147f48e60
* Update file headers.Narayan Kamath2015-12-211-0/+1
| | | | Change-Id: I8149f41585768a1a4b72ab7bb4a1452376c05cc2
* Properly add missing "java.version" system propertyPrzemyslaw Szczepaniak2015-11-251-11/+6
| | | | | | | | | | sun.misc.Version.init now adds properties to unchangeable system properties, was ranamed to initSystemProperties and is no longer called twice. Bug: 25861114 Bug: 25861357 Change-Id: I8db5944dc814f621758d78f47140ebe30e07100b
* Change version names.Narayan Kamath2015-11-121-11/+6
| | | | Change-Id: Ib88400553f1d76f41400fe87b7c9d84586a8c661
* Use OpenJdk implementation of java.lang.* [part 2].Piotr Jastrzebski2015-11-111-0/+341
Change-Id: I938a2770320c2ed14ae70fb1681c88df594240c6