Compare commits

...

980 Commits

Author SHA1 Message Date
Alexey Ushakov
e309845093 JBR-1624 Fonts rendering is broken in the 2019.2 EAP (Fira Code)
Screen rendering tests in progress
2019-06-25 01:55:17 +03:00
Alexey Ushakov
e838103a24 JBR-1624 Fonts rendering is broken in the 2019.2 EAP (Fira Code)
Lower priority for idea bundled fonts to pickup platform ones
(if installed)
2019-06-24 23:30:57 +03:00
Anton Tarasov
e7ca6db66b JBR-1492 Not able to start Intellij Idea 2017.2.5 with modified vmoptions 2019-06-24 14:29:50 +03:00
Vitaly Provodin
d9656a178b updated JTreg exclude list 2019-06-23 07:54:43 +07:00
Vitaly Provodin
5f6351b0c4 updated JTreg exclude list 2019-06-23 07:40:54 +07:00
Vitaly Provodin
c3a0ec902d updated JTreg exclude list 2019-06-22 06:01:31 +07:00
Anton Tarasov
567d96c428 Merge remote-tracking branch 'origin/master' 2019-06-20 21:02:12 +03:00
Anton Tarasov
1666f05b23 JBR-1617 revert fixes for app icon 2019-06-20 21:01:34 +03:00
Egor Ushakov
ae823a660b JBR-1615 Slow ClassLoaderReferenceImpl.findType 2019-06-20 17:52:15 +03:00
Denis Fokin
f6a31f444c Revert: JBR-1583 Fight MAC OS X "Please call TIS/TSM in main thread!!!" message 2019-06-20 14:15:19 +03:00
Dmitry Batrak
a1b4cd964a JBR-1604 Tooltip with package's info is cut 2019-06-19 17:15:15 +03:00
Elena Sayapina
5845719fe5 updated JTreg exclude list 2019-06-17 16:49:18 +07:00
alexsch
dae56a9e8b JBR-1066: fixed ScreenMenuMemoryLeakTest
re-apply fix that was reverted in 2a92eec5:
8158325: [macosx] Memory leak in com.apple.laf.ScreenMenu
Reviewed-by: azvegint, alexsch
Contributed-by: Robin Stevens <robin.stevens@scz.be>

NOTE: fix 8158325 caused 'JBR-922 Actions from system menu does not work on jdk9 runtime', 'IDEA-183063 MacOS: popups are closing, main menu actions will not open when running under Oracle 1.8.152 JDK'. This fix was reapplied because it is correct and bugs aren't reproduced now.

(cherry picked from commit 0a4920f61d)
2019-06-14 16:36:53 +07:00
Anton Tarasov
9cc97b0c00 [followup] JBR-1351 Borderless UI: Bold frame around IDEA window appears on non-HiDPI display 2019-06-13 20:15:41 +03:00
Denis Fokin
936dc2c40b JBR-1583 Fight MAC OS X "Please call TIS/TSM in main thread!!!" message
Crash is fixed
2019-06-11 12:59:53 +03:00
Anton Tarasov
db6c43b6f4 JBR-1414 DnD on linux (XToolkit) does not honor HIDPI scale 2019-06-10 19:11:43 +03:00
Artem Bochkarev
bd9a95d6fb JRE-220: fixed 'terminal Ctrl+C is not working'
cherry-picked from a8c7db34
2019-06-08 14:28:34 +07:00
Denis Fokin
8d9bac395e JBR-1583 Fight MAC OS X "Please call TIS/TSM in main thread!!!" message 2019-06-07 16:27:58 +03:00
Anton Tarasov
f652c790f4 Merge remote-tracking branch 'origin/master' 2019-06-07 15:21:58 +03:00
Anton Tarasov
8e59bb2f09 JBR-1582 IDEA EAP icon has low resolution on Mac 2019-06-07 15:21:28 +03:00
Artem Bochkarev
c8533a1219 JBR-1573: fix resources cleanup
JBR-1573: fix resources cleanup
2019-06-07 10:48:13 +07:00
Denis Fokin
f35489e8ca JBR-1574 java/awt/Window/setLocRelativeTo/SetLocationRelativeToTest.java: Test failed 2019-06-06 23:58:13 +03:00
Artem Bochkarev
3ad94911af JBR-1573: workaround for 'Sudden keyboard death on Ubuntu 18'
recreate instance of system InputMethod when starts filter all events
2019-06-06 17:53:25 +07:00
Denis Fokin
31629b719d Yet another forgotten file. 2019-06-05 13:02:45 +03:00
Denis Fokin
0e3ce4aa6a These files are generated by gradle. They prevent users from rebase. 2019-06-05 12:53:24 +03:00
Denis Fokin
4cef4a36c7 JBR-1569 Transparent title bars not working in JRE 11 2019-06-04 18:25:53 +03:00
Denis Fokin
7a05ec59e0 Revert: JBR-1414 DnD on linux  (XToolkit) does not honor HIDPI scale
Regression: JBR-1558 Drag'n'drop in trees doesn't work properly in master builds on HiDPI displays
2019-06-04 14:30:32 +03:00
Vitaly Provodin
26807f5975 updated JTreg exclude list 2019-06-04 10:36:07 +07:00
Vitaly Provodin
85dad30333 updated JTreg exclude list 2019-06-04 06:24:55 +07:00
Anton Tarasov
9f7289d5ef Merge remote-tracking branch 'origin/master' 2019-06-03 12:49:07 +03:00
Anton Tarasov
14d51243c6 JBR-1544 Robot cannot capture screen with scale other than 1:1 2019-06-03 12:48:45 +03:00
Alexey Ushakov
350a3fdef3 JBR-1399 Improve font discovery and loading by introducing font cache
Bundle IDEA fonts to improve startup performance
2019-05-31 20:24:27 +03:00
Denis Fokin
ae087bad40 JBR-1421 Cannot type opening square bracket or brace with a Spanish-ISO keyboard macOS 2019-05-31 12:30:22 +03:00
Vitaly Provodin
74b2cb3607 updated JTreg exclude list 2019-05-31 15:09:00 +07:00
Denis Fokin
63f98e40a6 JBR-1421 Cannot type opening square bracket or brace with a Spanish-ISO keyboard macOS
Forgotten change
2019-05-30 16:49:27 +03:00
Vyacheslav Moklev
5547701e2c JBR-1552 Invalid screen bounds in full screen mode
Check is window is not in undecorated state
2019-05-30 11:02:00 +03:00
Denis Fokin
1ca0a3f140 JBR-1522 JDK11 does not reset reused heavy-weight popup window min-size 2019-05-29 12:47:19 +03:00
Alexey Ushakov
194b2d939f Updated RenderPerfTest to use correct location of the frame marker 2019-05-28 15:14:20 +03:00
Alexey Ushakov
943b1472c7 Updated RenderUtil to get correct screenshots on linux 2019-05-28 14:50:29 +03:00
Alexey Ushakov
83c22de72e Added golden images for MixedTextTest and TextMetricsTest from Linux 2019-05-28 14:50:29 +03:00
Artem Bochkarev
62d057516d JBR-1400: don't clear application NSMenu when defined vm-property 'mac.system.menu.singleton'
cherry-pick from commit bc8eca286b42306c66890dbeef2bfd2f4aa48a5d (from jdk8u)
2019-05-28 11:38:02 +07:00
Artem Bochkarev
e57384c1d6 JBR-1541: activate menu in completion handler of modal dialog 2019-05-28 11:28:30 +07:00
Vitaly Provodin
3655b01149 updated JTreg exclude list 2019-05-28 10:13:54 +07:00
Alexey Ushakov
5f9b3a6dda JBR-1521 Update quality tests to Java 11
Added golden images for TextMetricsTest from Mojave
2019-05-27 13:38:48 +03:00
Alexey Ushakov
cab6dd5087 JBR-1521 Update quality tests to Java 11
Added golden images for MixedTextTest from Mojave
2019-05-27 13:21:51 +03:00
Vitaly Provodin
e4b063cb1f updated JTreg exclude list 2019-05-27 14:24:08 +07:00
Alexey Ushakov
bbd90315c9 JBR-1521 Update quality tests to Java 11
Updated golden images for DroidFontTest on Windows
2019-05-26 18:51:25 +03:00
Alexey Ushakov
c93b853a2b Updated gradle project:
- provided correct path to test jdk
 - used modern syntax instead of <<
2019-05-26 14:56:31 +03:00
Vitaly Provodin
d65279cdc1 updated JTreg exclude list 2019-05-24 10:49:09 +07:00
Alexey Ushakov
6c71f3a853 JBR-1521 Update quality tests to Java 11
Updated golden images for DroidFontTest on linux
2019-05-22 22:56:57 +03:00
Alexey Ushakov
95a5c1661b JBR-1521 Update quality tests to Java 11
Added golden images for DroidFontTest from Mojave
2019-05-22 16:59:01 +03:00
Alexey Ushakov
153020320d JBR-1415 CLion with jdk11, frame around Exit button
In addition fallback to normal painting for sub-components of non-opaque
dialogs and frames
2019-05-21 19:27:59 +03:00
Alexey Ushakov
23e2ac4c4e JBR-1528 backport rendering performance microbenchmarks from openjdk-metal branch
Backport test/jdk/jbu/quality/metal/MetalRenderTest.java
2019-05-21 12:51:57 +03:00
Denis Fokin
29ec6c2bce JBR-1311 [JBR 11] Double quote adding special character on macOS with "English, U.S. International - PC" layout 2019-05-20 19:58:03 +03:00
Alexey Ushakov
7997c7a5ee JBR-1521 Update quality tests to Java 11
Updated RenderUtil to Java 11
2019-05-17 23:17:47 +03:00
Alexey Ushakov
14659f0d30 JBR-1520 [fwp to JBR11] JRE-722 LCD text rendering performance on OSX 25X slower than grayscale
Fixed LCD text performance by using bulk rendering via vertex arrays and
reducing glTextureBarrierNV usages
Added native logging of accelerated text rendering
Replaced glClientActiveTextureARB with glClientActiveTexture
(it is now part of OpenGL 1.3 standard)
2019-05-17 23:17:46 +03:00
Alexey Ushakov
a868128d2e Updated .gitignore 2019-05-17 23:17:46 +03:00
Dmitry Batrak
1e1b932a4c JBR-1517 Update font layout speedup code to match the variant submitted to OpenJDK (JDK-8220231)
apply corresponding change from OpenJDK 13
2019-05-17 15:08:47 +03:00
Dmitry Batrak
bac12d4598 JBR-1517 Update font layout speedup code to match the variant submitted to OpenJDK (JDK-8220231)
revert original implementation of font layout speedup
2019-05-17 13:19:43 +03:00
Dmitry Batrak
2bbfe3bf2f JBR-1435 Various problems with emojis
add piece of code that was missed during migration from JBR 8
2019-05-17 11:23:03 +03:00
Vitaly Provodin
38abcae3e9 updated JTreg exclude list 2019-05-17 14:09:59 +07:00
Anton Tarasov
1746b04686 JBR-1427 pycharm jupyter preview stuck and no response when click on preview. 2019-05-16 18:28:02 +03:00
Vyacheslav Moklev
00d32e58dc JBR-1509 Client area size is wrong in Borderless mode
Fix client area size
2019-05-16 11:51:42 +03:00
Denis Fokin
d0acd2b182 JBR-1255 [JDK 11] java.lang.IllegalArgumentException: Wrong parent window 2019-05-15 19:26:44 +03:00
Denis Fokin
fbb8ed8326 JBR-1434 "New file dialog" popup remains above all windows on switching application 2019-05-15 19:22:00 +03:00
Denis Fokin
54bb2dd097 JBR-1417 JBR 11 does not support chain of popups
Adopted version of "JRE-864  Multiple child windows opened and closed in sequence"
2019-05-14 17:11:51 +03:00
Vitaly Provodin
fe6bc5f94d updated JTreg exclude list 2019-05-14 16:29:15 +07:00
Denis Fokin
2a8bced104 Revert: JBR-1311 [JBR 11] Double quote adding special character on macOS with "English, U.S. International - PC" layout
JBR-1421 resolves the issue
2019-05-13 20:51:59 +03:00
Denis Fokin
b0366b1c0d JBR-1421 Cannot type opening square bracket or brace with a Spanish-ISO keyboard macOS 2019-05-13 20:45:19 +03:00
Vitaly Provodin
33001a74d0 updated JTreg exclude list 2019-05-13 16:29:38 +07:00
Denis Fokin
85dfaefecb JBR-1414 DnD on linux (XToolkit) does not honor HIDPI scale 2019-05-08 09:46:26 +03:00
itakiguchi
7d1cd2b825 8211810: X11 Time stamp data should be unsigned
Reviewed-by: serb
2019-05-08 09:46:25 +03:00
Artem Bochkarev
7aa5324011 fixed JBR-1135
don't skip KeyEvents with character A (with keycode == 0) in AWTView::performKeyEquivalent

this condition was added in fix "JBR-184 Mac OS: Delete action deletes twice if Edit menu has be opened before",
it seems that this condition is unnecessary and JBR-184 doesn't reproduce without it.
2019-05-08 11:27:55 +07:00
Alexey Ushakov
434166fe63 JBR-1412 [fwp to JBR11] JBR-1393 RubyMine is hanging after log in (macOS)
Modified version of JBR8 fix
2019-05-07 14:35:11 +03:00
Vitaly Provodin
148b7ed39c updated JTreg exclude list 2019-05-01 18:03:39 +07:00
Vitaly Provodin
4ae5115c38 updated JTreg exclude list 2019-04-30 11:47:20 +07:00
Elena Sayapina
3c08825f26 updated JTreg exclude list 2019-04-26 19:29:50 +07:00
Alexey Ushakov
207c6b92ff JBR-1394 JBR11 does not support LCD text on Mac
Enable LCD rendering for transparent destinations
2019-04-24 14:34:05 +03:00
Alexey Ushakov
165597441b Merge pull request #4 from bell-sw/update_8u212
jdk-11.0.3 update
2019-04-24 13:52:21 +03:00
andrew
69fea5acae Added tag jdk-11.0.3-ga for changeset 175eb80c253a 2019-04-23 14:37:38 +03:00
Vitaly Provodin
2edc09cf1a updated JTreg exclude list 2019-04-23 11:12:15 +07:00
Denis Fokin
d3de2e6f03 Modal dialogs (Messages) shouldn't popup IDEA when another application is active
Investigation is closed
2019-04-22 16:43:05 +03:00
Elena Sayapina
b105cb9dd5 updated JTreg exclude list 2019-04-22 16:00:09 +07:00
naoto
67e827a88f 8205432: Replace the placeholder Japanese era name
Reviewed-by: rriggs, chegar
2019-04-20 16:54:54 +03:00
naoto
98c6738d08 8219890: Calendar.getDisplayName() returns empty string for new Japanese Era on some locales
Reviewed-by: lancea
2019-04-20 16:54:52 +03:00
naoto
335812c56c 8210633: Cannot parse JapaneseDate string with DateTimeFormatterBuilder Mapped-values
Reviewed-by: scolebourne, rriggs
2019-04-20 16:54:51 +03:00
xiaofeya
df8c9852f0 8208656: Move java/util/Calendar/CalendarTestScripts tests into OpenJDK
Reviewed-by: naoto
2019-04-20 16:54:50 +03:00
igerasim
8eea0ad423 8218453: More dynamic RMI interactions
Reviewed-by: aph
2019-04-20 16:54:49 +03:00
ccheung
bab1257ca0 8214809: CDS storage improvements
Reviewed-by: aph
2019-04-20 16:54:48 +03:00
igerasim
ef4fa2cbe5 8211936: Better String parsing
Reviewed-by: aph
2019-04-20 16:54:47 +03:00
phh
ee46cf4a7f 8221769: Revert JDK-8221767 mistakenly pushed to jdk11u 11.0.3
Reviewed-by: clanger
2019-04-20 16:54:46 +03:00
joehw
a1cccc09e9 8207760: SAXException: Invalid UTF-16 surrogate detected: d83c ?
Summary: Properly handle unicode16 characters split across buffer chunks.
Reviewed-by: lancea, dfuchs
2019-04-20 16:54:45 +03:00
dcherepanov
1bae86d422 8211100: hotspot C1 issue with comparing long numbers on x86 32-bit
Reviewed-by: iveresov, thartmann
2019-04-20 16:54:43 +03:00
clanger
9b30a18ab0 8172695: (scanner) java/util/Scanner/ScanTest.java fails
Reviewed-by: smarks, bpb
2019-04-20 16:54:42 +03:00
rraghavan
bfdc57751e 8211698: Crash in C2 compiled code during execution of double array heavy processing code
Summary: Correctly registered new Opaque4Node in add_range_check_predicate
Reviewed-by: roland, thartmann
2019-04-20 16:54:41 +03:00
aph
874324a521 8211064: [AArch64] Interpreter and c1 don't correctly handle jboolean results in native calls
Reviewed-by: aph
Contributed-by: andrey.petushkov@gmail.com
2019-04-20 16:54:40 +03:00
fyang
d721ca49f1 8215951: AArch64: jtreg test vmTestbase/nsk/jvmti/PopFrame/popframe005 segfaults
Reviewed-by: aph
Contributed-by: nick.gasson@arm.com
2019-04-20 16:54:39 +03:00
ngasson
1775d38e43 8216350: AArch64: monitor unlock fast path not called
Reviewed-by: aph, drwhite, fyang
2019-04-20 16:54:38 +03:00
roland
9c878aabdc 8211320: Aarch64: unsafe.compareAndSetByte() and unsafe.compareAndSetShort() c2 intrinsics broken with negative expected value
Reviewed-by: adinn, aph
2019-04-20 16:54:37 +03:00
sgehwolf
9908ad8a42 8220294: ZGC fails to build on GCC 4.4.7: Type parameter issue
Summary: Specify explicit type in the constructor
Reviewed-by: shade, pliden
2019-04-20 16:54:36 +03:00
sgehwolf
448be98742 8220283: ZGC fails to build on GCC 4.4.7: ATTRIBUTE_ALIGNED compatibility issue
Reviewed-by: shade, kbarrett
2019-04-20 16:54:35 +03:00
stuefe
2763564edb 8219650: [Testbug] Fix potential crashes in new test hotspot gtest "test_print_hex_dump"
Reviewed-by: clanger, shade
2019-04-20 16:54:33 +03:00
goetz
0589670380 8219651: compiler/ciReplay/TestServerVM.java is failing on windows
Reviewed-by: thartmann, kvn
2019-04-20 16:54:32 +03:00
gziemski
45898700f2 8219789: [TESTBUG] TestOptionsWithRanges.java produces hs_err_pidXXXXX.log file for VMThreadStackSize=9007199254740991
Summary: Excluded test of mac range for VMThreadStackSize
Reviewed-by: coleenp, mseledtsov
2019-04-20 16:54:31 +03:00
goetz
a3d96bb10f 8219714: [testbug] com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java must pass classpath to subprocess
Reviewed-by: dholmes, dcubed
2019-04-20 16:54:30 +03:00
naoto
20ade329ea 8217609: New era placeholder not recognized by java.text.SimpleDateFormat
Reviewed-by: nishjain, rriggs
2019-04-20 16:54:29 +03:00
jcbeyler
303bbcbd49 8210192: Hsperf counter ParNew::CMS should be ParNew:CMS
Summary: Rename the counter back to ParNew:CMS and added a test
Reviewed-by: sjohanss, tschatzl
Contributed-by: manc@google.com
2019-04-20 16:54:28 +03:00
aivanov
3c118f9869 8214122: JDWP is broken on 32 bit Windows: transport library missing onLoad entry
Reviewed-by: ihse, dcubed
2019-04-20 16:54:27 +03:00
rpatil
65895d26d8 8206120: Add test cases for lenient Japanese era parsing
8211398: Square character support for the Japanese new era
8218915: Change isJavaIdentifierStart and isJavaIdentifierPart to handle new code points
Reviewed-by: coffeys, naoto
Contributed-by: deepak.kejriwal@oracle.com
2019-04-20 16:54:26 +03:00
jnimeh
3f11249c43 8210989: RSASSA-PSS certificate cannot be selected for client auth on TLSv1.2
Reviewed-by: xuelei
2019-04-20 16:54:25 +03:00
sjohanss
826568cc79 8214118: HeapRegions marked as archive even if CDS mapping fails
Reviewed-by: tschatzl, jiangli
2019-04-20 16:54:23 +03:00
roland
da69b70295 8214189: test/hotspot/jtreg/compiler/intrinsics/mathexact/MulExactLConstantTest.java fails on Windows x64 when run with -XX:-TieredCompilation
Reviewed-by: kvn
2019-04-20 16:54:21 +03:00
goetz
97cacd17cd 8219461: Bump update version for OpenJDK jdk11.0.3
Reviewed-by: clanger
2019-04-20 16:54:19 +03:00
manc
3db162c6e0 8218192: Remove copy constructor for MemRegion
Summary: Remove copy constructor in memRegion.hpp
Reviewed-by: tschatzl, kbarrett
2019-04-20 16:54:17 +03:00
egahlin
b2ea6b8614 8215362: JFR GTest JfrTestNetworkUtilization fails
Reviewed-by: mgronlun
2019-04-20 16:54:16 +03:00
egahlin
1e93ed46bf 8215175: Inconsistencies in JFR event metadata
Reviewed-by: mgronlun
2019-04-20 16:54:14 +03:00
egahlin
d2da323bba 8213966: The ZGC JFR events should be marked as experimental
Reviewed-by: pliden
2019-04-20 16:54:13 +03:00
egahlin
ae9e8f53ab 8165675: Trace event for thread park has incorrect unit for timeout
Reviewed-by: mgronlun
2019-04-20 16:54:12 +03:00
aph
5c880cee6a 8215100: AArch64: fix compareTo intrinsic with four-character Latin/Unicode
Reviewed-by: aph, dpochepk
Contributed-by: nick.gasson@arm.com
2019-04-20 16:54:11 +03:00
aph
e6dfbc06c8 8215202: AArch64: jtreg test test/jdk/sun/nio/cs/FindEncoderBugs.java fails
Reviewed-by: aph
Contributed-by: nick.gasson@arm.com
2019-04-20 16:54:10 +03:00
shade
9ff295b635 8216049: stringTable::intern creates redundant String when looking up existing one
Reviewed-by: redestad, gziemski, rehn, zgu, jiangli
2019-04-20 16:54:09 +03:00
itakiguchi
84c797155d 8211267: StackOverflowError happened by TextField.setFont(...)
Reviewed-by: serb, prr
2019-04-20 16:54:08 +03:00
tnakamura
d402451e8d 8213183: InputMethod cannot be used after its restarting
Summary: Retains masks at XSelectInput and deletes all IM data at DestroyXIMCallback
Reviewed-by: naoto
2019-04-20 16:54:07 +03:00
jjg
8829dbc435 8212233: javadoc fails on jdk12 with "The code being documented uses modules but the packages defined in $URL are in the unnamed module."
Reviewed-by: hannesw, pmuthuswamy
2019-04-20 16:54:06 +03:00
alitvinov
468bd0610f 8201818: [macosx] Printing attributes break page size set via "java.awt.print.Book" object
Reviewed-by: prr, psadhukhan
2019-04-20 16:54:05 +03:00
dmarkov
28055ca921 8213983: [macosx] Keyboard shortcut ?cmd +`? stops working properly if popup window is displayed
Reviewed-by: kaddepalli, serb
2019-04-20 16:54:03 +03:00
sherman
bb95afade0 8210394: (zipfs) jdk/nio/zipfs/ZFSTests.java rootdir.zip: The process cannot access the file because it is being used by another process
Reviewed-by: alanb, jlaskey
2019-04-20 16:54:02 +03:00
mullan
f87b95cebc 8216280: Allow later Symantec Policy distrust date for two Apple SubCAs
Reviewed-by: coffeys
2019-04-20 16:54:01 +03:00
mullan
72d2103586 8207258: Distrust TLS server certificates anchored by Symantec Root CAs
Reviewed-by: weijun
2019-04-20 16:54:00 +03:00
shade
8b1b703d7a 8219260: Default number of test jobs needs to be consistently calculated
Reviewed-by: aph, clanger, erikj
2019-04-20 16:53:59 +03:00
weijun
c65daf33b9 8214513: A PKCS12 keystore from Java 8 using custom PBE parameters cannot be read in Java 11
Reviewed-by: mullan
2019-04-20 16:53:58 +03:00
weijun
b511cec345 8214100: use of keystore probing results in unnecessary exception thrown
Reviewed-by: mullan
2019-04-20 16:53:57 +03:00
sherman
e88cbc2f1d 8197398: (zipfs) Files.walkFileTree walk indefinitelly while processing JAR file with "/" as a directory inside.
Reviewed-by: alanb
2019-04-20 16:53:56 +03:00
xuelei
68aaf0eacd 8214339: SSLSocketImpl erroneously wraps SocketException
Reviewed-by: ascarpino, jnimeh
2019-04-20 16:53:55 +03:00
jiangli
ca1c5693ad 8214827: Incorrect call ClassLoaders.toFileURL("jrt:/java.compiler")
Summary: Use URL constructor for jrt URL in SystemDictionaryShared::get_shared_protection_domain().
Reviewed-by: ccheung, iklam, dholmes, coleenp
2019-04-20 16:53:54 +03:00
stooke
ab5b2f66eb 8216578: Remove unused/obsolete method in JFR code
Reviewed-by: mgronlun, mikael
2019-04-20 16:53:53 +03:00
xuelei
588a2e65a4 8213782: NullPointerException in sun.security.ssl.OutputRecord.changeWriteCiphers
Reviewed-by: ascarpino
2019-04-20 16:53:52 +03:00
dmarkov
8eb594bc07 8213583: Error while opening the JFileChooser when desktop contains shortcuts pointing to deleted files
Reviewed-by: kaddepalli, aivanov, serb
2019-04-20 16:53:51 +03:00
ssahoo
6268945a2d 8211787: javax/net/ssl/TLSCommon/TLSTest.java throws java.net.SocketTimeoutException: Read timed out
Summary: java.net.SocketTimeoutException: Read timed out
Reviewed-by: xuelei
2019-04-20 16:53:50 +03:00
shade
2509740631 8219251: Langtools tests default memory size needs to be 768m
Reviewed-by: aph, clanger
2019-04-20 16:53:49 +03:00
aoqi
f93e7b0fb9 8217597: [TESTBUG] old version docker does not support --cpus
Summary: "--cpus" is only available in Docker 1.13 and higher, and is the equivalent of setting both --cpu-period and --cpu-quota.
Reviewed-by: bobv, dholmes
Contributed-by: aoqi@loongson.cn
2019-04-20 16:53:48 +03:00
itakiguchi
4d26eb7e23 8211382: ISO2022JP and GB18030 NIO converter issues
Reviewed-by: sherman, rriggs
2019-04-20 16:53:46 +03:00
aph
6b876c8318 8211163: UNIX version of Java_java_io_Console_echo does not return a clean boolean
Reviewed-by: shade, alanb
2019-04-20 16:53:45 +03:00
lancea
25021522cf 8211295: DriverManager.getConnection fails when called from com.sun.rowset.JdbcRowSetImpl
Reviewed-by: mchung, alanb
2019-04-20 16:53:44 +03:00
mgronlun
b6228e99ba 8215727: Restore JFR thread sampler loop to old / previous behavior
Reviewed-by: egahlin, mgronlun
Contributed-by: milan.mimica@gmail.com
2019-04-20 16:53:42 +03:00
shade
3714265873 8217315: Proper units should print more significant digits
Reviewed-by: stuefe, tschatzl
2019-04-20 16:53:41 +03:00
shade
216125d9c9 8217994: os::print_hex_dump should be more resilient against unreadable memory
Reviewed-by: zgu, stuefe, lucy
2019-04-20 16:53:39 +03:00
egahlin
1030c22316 8212232: Wrong metadata for the configuration of the cutoff for old object sample events
Reviewed-by: mgronlun
2019-04-20 16:53:37 +03:00
coffeys
8cf44f203a 8213952: Relax DNSName restriction as per RFC 1123
Reviewed-by: weijun, mullan, chegar
2019-04-20 16:53:35 +03:00
lancea
83397588a8 8211765: JarFile constructor throws undocumented exception
Reviewed-by: lancea, sherman, alanb, chegar
Contributed-by: Jaikiran Pai <jai.forums2013@gmail.com>
2019-04-20 16:53:34 +03:00
egahlin
a0d8b1e251 8209960: -Xlog:jfr* doesn't work with the JFR
Reviewed-by: mgronlun
2019-04-20 16:53:31 +03:00
egahlin
69c3e4846b 8207829: FlightRecorderMXBeanImpl is leaking the first classloader which calls it
Reviewed-by: mgronlun
2019-04-20 16:53:30 +03:00
valeriep
81e3a0d870 8211049: Second parameter of "initialize" method is not used
Summary: Use the specified random object instead of system default
Reviewed-by: weijun
2019-04-20 16:53:29 +03:00
joehw
4712c0918e 8215330: javax.xml.catalog.CatalogResolverImpl: GroupEntry.matchURI fails to match
Reviewed-by: lancea
2019-04-20 16:53:28 +03:00
ccheung
b713ec1985 8215947: JVM crash with -XX:+DumpSharedSpaces
Summary: disable JIT compilation if -XX:+DumpSharedSpaces is specified by the user
Reviewed-by: lfoltan, jiangli
2019-04-20 16:53:27 +03:00
mchinnathamb
567b48cab3 8215397: jsig.c missing classpath exception
Reviewed-by: dholmes
2019-04-20 16:53:26 +03:00
egahlin
c0420921ce 8213421: Line number information for execution samples always 0
Reviewed-by: mgronlun
2019-04-20 16:53:25 +03:00
hseigel
716254c447 8211821: PrintStringTableStatistics crashes JVM
Summary: During JVM exit, print the Symbol and String tables before current thread gets deleted.
Reviewed-by: iklam, dholmes
2019-04-20 16:53:24 +03:00
joehw
63b80b2b4d 8210874: Test for JDK-8209615
Reviewed-by: lancea
2019-04-20 16:53:23 +03:00
joehw
392f9a2901 8209615: ParseError in XMLEventReader on a valid input
Reviewed-by: lancea
2019-04-20 16:53:22 +03:00
lmesnik
6cb29aac35 8209758: 2 classes with same name G1PrintCollectionSetClosure cause crash when logging is enabled
Reviewed-by: tschatzl, kbarrett
2019-04-20 16:53:21 +03:00
thartmann
db5d580447 8208275: C2 crash in Node::add_req(Node*)
Summary: Split-if optimization should not process (dead) counted loops.
Reviewed-by: roland
2019-04-20 16:53:20 +03:00
zgu
20dcc833f6 8217342: Build failed with excluding JFR
Reviewed-by: shade, pliden
2019-04-20 16:53:19 +03:00
jnimeh
6dcd516fa3 8214129: SSL session resumption/SNI with TLS1.2 causes StackOverflowError
Reviewed-by: xuelei, jjiang
2019-04-20 16:53:18 +03:00
manc
577364a426 8213829: Remove circular dependency between g1CollectedHeap and g1ConcurrentMark
Summary: Improve include statements related to g1CollectedHeap.inline.hpp
Reviewed-by: kbarrett, tschatzl
2019-04-20 16:53:17 +03:00
zgu
1d81c1f463 8200109: NMT: diff_malloc_site assert(early->flags() == current->flags(), "Must be the same memory type")
Reviewed-by: shade, coleenp
2019-04-20 16:53:16 +03:00
shade
6b594eaab5 8217471: [TESTBUG] gc/epsilon/TestClasses.java fails on some platforms - OOME Metaspace
Reviewed-by: dholmes, tschatzl
2019-04-20 16:53:15 +03:00
shade
a3b55b44f0 8217014: Epsilon should not ignore Metadata GC causes
Reviewed-by: stuefe, zgu
2019-04-20 16:53:14 +03:00
shade
dcede2ffa5 8216308: StackTraceElement::fill_in can use injected Class source-file
Reviewed-by: coleenp, dholmes
2019-04-20 16:53:13 +03:00
shade
cde258e50f 8216302: StackTraceElement::fill_in can use cached Class.name
Reviewed-by: coleenp, dholmes, mchung
2019-04-20 16:53:12 +03:00
shade
327368ecc9 8217378: UseCriticalCMSThreadPriority is broken
Reviewed-by: rkennke, dcubed
2019-04-20 16:53:11 +03:00
mbalao
60db74211d 8204142: AWT hang occurs when sequenced events arrive out of sequence in multiple AppContexts
Summary: Improvements on the synchronization of SequencedEvent events from different AppContexts
Reviewed-by: serb
2019-04-20 16:53:10 +03:00
shade
f4128def6b 8217321: [TESTBUG] utilities/test_globalDefinitions.cpp should use _LP64, not LP64
Reviewed-by: tschatzl, coleenp
2019-04-20 16:53:09 +03:00
stuefe
a99aa18578 8218156: "jcmd VM.metaspace basic" misreports free chunk space
Reviewed-by: zgu
2019-04-20 16:53:07 +03:00
roland
e7c90d3aa8 8214206: Fix for JDK-8213419 is broken on 32-bit
Reviewed-by: mdoerr, shade
2019-04-20 16:53:06 +03:00
roland
8f27913925 8213419: C2 may hang in MulLNode::Ideal()/MulINode::Ideal() with gcc 8.2.1
Reviewed-by: kvn, dlong, aph
2019-04-20 16:53:05 +03:00
bell-sw
c311d0165b Merge conflict in WWindowPeer.displayChanged()
JRE-660 fix vs JDK-8207070 (commits 8649992 and https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/09456a6d05fb)
fix: combine two changes to start both updateGC and adjustBoundsOnDPIChange on EventHanderThread.
DisplayChangesException.java test passed
2019-04-20 16:52:51 +03:00
serb
19f1edea6e 8207070: Webstart app popup on wrong screen in a one-screen setup changing to multi-monitor
Reviewed-by: prr
2019-04-20 16:52:50 +03:00
alitvinov
756c492c6c 8187364: Unable to enter zero width non-joiner (ZWNJ) symbol in Swing text component
Reviewed-by: serb, dmarkov
(empty commmit for backport robot; the fix is actually backported already)
2019-04-20 16:52:49 +03:00
bell-sw
05079b182b Merge conflict in Java_sun_font_FreetypeFontScaler_getGlyphImageNative
IDEA-57233 fix vs JDK-8216965 (commits 0456745 vs https://hg.openjdk.java.net/jdk-updates/jdk11u/rev/a363f160b05a)
fix: combine two changes to include both error check and renderFlag.
FontSize1Test test passed
2019-04-20 16:52:49 +03:00
prr
5bd162986f 8216965: crash in freetypeScaler.c CopyBW2Grey8
Reviewed-by: serb, mbaesken
2019-04-20 16:52:47 +03:00
Vitaly Provodin
86823b171d updated JTreg exclude list 2019-04-19 16:11:18 +07:00
Elena Sayapina
95df9908f4 JBR-1380: Regression test java/awt/Graphics2D/DrawString/LCDTextSrcEa.java works incorrectly 2019-04-19 15:56:25 +07:00
Denis Fokin
4476063ebf JBR-1311 [JBR 11] Double quote adding special character on macOS with "English, U.S. International - PC" layout 2019-04-18 17:46:33 +03:00
Vitaly Provodin
7eb4cef588 updated JTreg exclude list 2019-04-18 11:33:26 +07:00
Alexey Ushakov
2b99dfed40 JBR-1314 Font difference in pycharm 2019.1 on Ubuntu
Removed disabling hints on MAX_FCSIZE_LTL_DISABLED font size
2019-04-17 22:31:42 +03:00
Elena Sayapina
a5948894bf JBR-1372: JDialog1054.java, MoveFocusShortcutTest.java regression tests need update 2019-04-15 17:16:10 +07:00
Vitaly Provodin
01e2a516cf updated JTreg exclude list 2019-04-15 11:14:17 +07:00
Alexey Ushakov
013d3dfcf2 [JDK 11] Font Rendering on MacOS
Fixed regression caused by JBR-1076 by limiting fallback painting
only to undecorated non-opaque frames and dialogs
2019-04-11 23:47:17 +03:00
Anton Tarasov
2dd4163bc4 IDEA-210154 Borderless UI: Top frame of IDEA window is blue 2019-04-11 13:26:13 +03:00
Vitaly Provodin
e2a2f99cef updated JTreg exclude list 2019-04-11 16:42:15 +07:00
Anton Tarasov
84286e9c67 [followup] JBR-1365 force IDE-managed HiDPI on Linux for fractional scales 2019-04-10 15:10:26 +03:00
Anton Tarasov
f092ff3962 JBR-1365 force IDE-managed HiDPI on Linux for fractional scales 2019-04-10 13:45:09 +03:00
Vitaly Provodin
e5324ac253 Revert "JRE-1199: added the list of files required for stripped JBR bundle"
This reverts commit a1fcf9fc
2019-04-10 17:01:42 +07:00
Vitaly Provodin
7c202c52ba Revert "JRE-1199: added the list of files required for stripped JBR bundle (follow up)"
This reverts commit 9820ecb7
2019-04-10 17:01:23 +07:00
Vitaly Provodin
e0e1205ab0 Revert "JRE-1199: added the list of files required for stripped JBR bundle (follow up)"
This reverts commit e5dd1ec9
2019-04-10 17:00:58 +07:00
Vitaly Provodin
b203fe6e17 Revert "JRE-1199: corrected the list of files required for stripped JBR bundle on Windows"
This reverts commit 6f4be20e
2019-04-10 17:00:43 +07:00
Vitaly Provodin
f3f37db654 Revert "JRE-1199: added the list of files required for stripped JBR bundle - removed leading ./"
This reverts commit 13fbc2be
2019-04-10 17:00:28 +07:00
Vitaly Provodin
c88a550a3b Revert "JRE-1199: added JFX files"
This reverts commit ec0d6d6b
2019-04-10 17:00:07 +07:00
Vitaly Provodin
809d66a387 Revert "JRE-1199: added the list of files required for stripped JBR bundle (follow up)"
This reverts commit a4e7fdb6
2019-04-10 16:59:50 +07:00
Vitaly Provodin
e07cf33b28 Revert "JRE-1238: NoClassDefFoundError: Could not initialize class sun.tools.attach.VirtualMachineImpl"
This reverts commit 366ceeb8
2019-04-10 16:59:34 +07:00
Vitaly Provodin
bceea77552 updated JTreg exclude list 2019-04-10 16:30:04 +07:00
Denis Fokin
3c9c599a2d JBR-1362 Multiple child windows opened and closed in sequence result in a focus loss 2019-04-09 16:24:05 +03:00
Anton Tarasov
06d35de069 JBR-1351 Borderless UI: Bold frame around IDEA window appears on non-HiDPI display 2019-04-09 12:16:30 +03:00
Egor Ushakov
3a09f6c1db JBR-1354 com/sun/tools/attach/PermissionTest.java: access denied ("java.util.PropertyPermission" "sun.tools.attach.tmp.only" "read") 2019-04-09 11:35:16 +03:00
Egor Ushakov
4bd3f7835e JBR-1061 .attach_pid files in the working dir - flag to put .attach file in tmp dir only 2019-04-05 11:56:35 +03:00
Vitaly Provodin
c0b795d04e updated JTreg exclude list 2019-04-03 14:45:56 +03:00
Vitaly Provodin
0617bf25b8 updated JTreg exclude list 2019-04-02 17:10:02 +03:00
Vitaly Provodin
501aeec5e5 updated JTreg exclude list 2019-03-30 09:09:01 +07:00
Alexey Ushakov
ee05f360c5 JBR-1324 [fwp to JBR11] JBR-1174 Font Difference on macOS
Enable LCD shader by "Use font smoothing when available" setting
2019-03-29 20:15:11 +03:00
Egor Ushakov
2db9a870e7 8146986: JDI: Signature lookups for unprepared classes can take a long time - fixed tests 2019-03-29 13:20:38 +03:00
Vitaly Provodin
260319ec74 updated JTreg exclude list 2019-03-29 10:58:38 +07:00
Anton Tarasov
9179718cb6 JBR-1313 wrong insets for non-resizable custom-decorated frame 2019-03-28 19:17:17 +03:00
Vitaly Provodin
90276e6c00 updated JTreg exclude list 2019-03-28 14:34:03 +07:00
Anton Tarasov
cb188edaab JBR-1293 do not modify client bounds when custom-decorated frame is set undecorated 2019-03-26 10:20:35 +03:00
Vitaly Provodin
589b93be04 updated JTreg exclude list 2019-03-26 10:54:49 +07:00
Egor Ushakov
63572dcc76 8146986: JDI: Signature lookups for unprepared classes can take a long time - pt.2 2019-03-25 12:37:50 +03:00
Vitaly Provodin
480a2f5a34 updated JTreg exclude list 2019-03-25 15:42:35 +07:00
pbansal
763414f5f0 8218469: JSlider display issue with slider for GTKLookAndFeel
8218470: JScrollBar display issue with GTKLookAndFeel
8218472: JProgressBar display issue with GTKLookAndFeel
8203627: Swing applications with JRadioButton and JCheckbox fail to render correctly when using GTK3 and the GTK L&F
Reviewed-by: serb, prr
2019-03-22 22:29:38 +03:00
Alexey Ushakov
e3ba0bd651 JBR-1144 [JDK11] [macos] Held down key is not deleted when press backspace after accent menu popup (Mojave)
Handled both Delete and ForwardDelete keys
2019-03-22 14:40:05 +03:00
Egor Ushakov
7db46ce2b2 8146986: JDI: Signature lookups for unprepared classes can take a long time 2019-03-22 12:38:29 +03:00
Alexey Ushakov
81916a92af JBR-1144 [JDK11] [macos] Held down key is not deleted when press backspace after accent menu popup (Mojave)
Handled backspace separately
2019-03-21 23:10:40 +03:00
Vitaly Provodin
b85a2171c3 updated JTreg exclude list 2019-03-20 15:48:54 +07:00
Mikhail Filippov
05dc889841 Adopt fix to match patch submitted into Oracle 2019-03-19 10:31:45 +03:00
Vitaly Provodin
4a754a0fa2 JBR-1286: jdk.compiler was added into JBR 2019-03-19 11:18:23 +07:00
pbansal
be9b80a30a 8215364: JavaFX crashes on Ubuntu 18.04 with Wayland while using Swing-FX interop
Reviewed-by: prr, kcr
2019-03-18 23:02:00 +03:00
Vitaly Provodin
f691fe2f03 updated JTreg exclude list 2019-03-18 16:51:16 +07:00
Anton Tarasov
a879ad5739 JBR-1278 allow native border and shadow for custom decoration mode 2019-03-18 11:48:56 +03:00
Vyacheslav Moklev
94c75b0537 JBR-1274 Common Item Dialog sometimes crash the process
Prevent from freeing memory with CoTaskMemFree twice
2019-03-18 11:12:54 +03:00
Vyacheslav Moklev
bff7dfddfb JBR-1273 Common Item Dialog does not open when wrong path to directory is passed
Handle set directory / set file properly
2019-03-18 11:12:41 +03:00
Vyacheslav Moklev
6ecbc2736b JBR-1271 Wrong parent of native windows dialogs
Set a proper parent to a dialog window
2019-03-18 11:12:26 +03:00
Vyacheslav Moklev
8cde9502f1 JBR-1269 Common Item Dialog does not appear on Alt+Tab or click in windows toolbar
JBR-1270 Common Item Dialog does not have an icon

Select a proper window handle
2019-03-18 11:12:11 +03:00
Sergey Malenkov
af0360f3ea Merge remote-tracking branch 'origin/master' 2019-03-14 13:50:23 +03:00
Sergey Malenkov
02e0f6f078 do not replace the right Alt key with AltGr on Mac by default 2019-03-14 13:50:09 +03:00
Vitaly Provodin
094f03f5b3 updated JTreg exclude list 2019-03-13 11:35:07 +07:00
Vitaly Provodin
71ee90cd7b updated JTreg exclude list 2019-03-13 11:16:30 +07:00
Vitaly Provodin
426055c320 updated JTreg exclude list 2019-03-12 11:37:06 +07:00
Vitaly Provodin
30ce36030d updated JTreg exclude list 2019-03-11 10:06:30 +07:00
Vitaly Provodin
6012cd1180 updated JTreg exclude list 2019-03-10 09:39:32 +07:00
Elena Sayapina
1d31d1f8ff JBR-1260: Wrong calling convention for EnableNonClientDpiScaling in windows/native/sun/windows/awt.h 2019-03-07 13:27:10 +03:00
Vyacheslav Moklev
04112e6f90 JBR-1258 CommonItemDialog ignores directory to open
Fix parsing of directory path / file path
2019-03-06 12:01:25 +03:00
Vyacheslav Moklev
e0c79eb54f JBR-1257 CommonItemDialog modal window has no owner
Fix modality for Common Item Dialog
2019-03-06 12:00:56 +03:00
Vitaly Provodin
6ad54fb1ea JBR-1199: added JBR modules list for jlink 2019-03-06 09:37:47 +07:00
Elena Sayapina
dc7abebe17 JBR-1102: [JDK11] java/awt/Paint/ComponentIsNotDrawnAfterRemoveAddTest/ComponentIsNotDrawnAfterRemoveAddTest.java: 'paint' method of 60 components was not called 2019-03-05 08:36:37 +03:00
Vitaly Provodin
6d35b8fe59 updated JTreg exclude list 2019-03-03 08:20:13 +07:00
Vitaly Provodin
9552363525 updated JTreg exclude list 2019-03-03 07:45:56 +07:00
Vitaly Provodin
6a9a917161 Merge remote-tracking branch 'origin/master' 2019-03-03 07:44:33 +07:00
Sergey Malenkov
916fec8145 Fix key modifiers processing including AltGr 2019-03-02 17:38:24 +03:00
Alexey Ushakov
a53989e85a Added cmake projects for hotspot and jdk 2019-02-28 18:13:20 +03:00
Dmitry Batrak
4efa7eab3e JBR-1248 Exception caused by broken font 2019-02-28 15:49:24 +03:00
Elena Sayapina
07bf36928d updated JTreg exclude list 2019-02-28 11:26:48 +03:00
Dmitry Batrak
c2e756ec4f apply (partial) fix for JBR-363 from OpenJDK 12 (JDK-8139178) 2019-02-28 10:09:41 +03:00
Dmitry Batrak
3d7ac30072 partially rollback JBR-363 fix, to apply corresponding change from OpenJDK 12 2019-02-28 10:09:41 +03:00
Dmitry Batrak
3d0ec88046 apply part of JBR-363 fix missed in backporting from JBRE 8 2019-02-28 10:09:40 +03:00
Vitaly Provodin
2b8f6f70a0 updated JTreg exclude list 2019-02-28 11:55:42 +07:00
Elena Sayapina
c8d631a142 JBR-1102: [JDK11] java/awt/Paint/ComponentIsNotDrawnAfterRemoveAddTest/ComponentIsNotDrawnAfterRemoveAddTest.java: 'paint' method of 60 components was not called 2019-02-28 07:50:43 +03:00
Alexey Ushakov
37739127c3 JBR-1113 java/awt/FontClass/GlyphRotationTest.java: java.lang.RuntimeException: cnt 1 = 13 cnt 2 = 13
Resolved merge issue (IDEA-57233)
2019-02-27 14:13:12 +03:00
Dmitry Batrak
a26b70568a JBR-1245 [JDK 11] There are different letter spacings in some controls 2019-02-27 12:06:42 +03:00
Dmitry Batrak
1e6f37320b add 'build' folder to .gitignore 2019-02-27 12:05:14 +03:00
Elena Sayapina
f368f0f101 JBR-1148: jb/sun/awt/macos/KeyPressAndHoldTest.java intermittently fails by timeout, added max time to wait, reverted ApplePressAndHoldEnabled check 2019-02-27 10:15:29 +03:00
Elena Sayapina
48b7dd874f JBR-1146: Test jb/javax/swing/JDialog/JDialog1054.java intermittently fails by timeout 2019-02-26 14:27:16 +03:00
Elena Sayapina
5bb4c2a1d6 JRE-318: Minor regression test update, corrected comments 2019-02-26 12:51:47 +03:00
Vitaly Provodin
094306dc24 updated JTreg exclude list 2019-02-25 11:43:51 +07:00
Vitaly Provodin
9b1114df30 updated JTreg exclude list 2019-02-25 10:09:03 +07:00
Vitaly Provodin
366ceeb857 JRE-1238: NoClassDefFoundError: Could not initialize class sun.tools.attach.VirtualMachineImpl 2019-02-22 16:55:59 +03:00
Denis Fokin
315b0ed151 JRE-1220 Allow to process and veto keyevents after AWT typeahead and before Swing actions processing 2019-02-22 16:30:36 +03:00
Denis Fokin
2a68808b1d Indentation 2019-02-22 13:07:31 +03:00
Vitaly Provodin
8bc90e970e updated JTreg exclude list 2019-02-22 12:34:57 +03:00
Anton Tarasov
d2820524a1 JRE-1232 forwardport: JRE-1228support custom frame decoration 2019-02-21 20:04:00 +03:00
Denis Fokin
d68dcbfa37 Indentation 2019-02-21 19:53:06 +03:00
Denis Fokin
34fa047463 IDEA-205322 Dark window header not worked on macOS. 2019-02-21 17:21:42 +03:00
Vitaly Provodin
a4e7fdb61c JRE-1199: added the list of files required for stripped JBR bundle (follow up) 2019-02-21 09:41:50 +03:00
Vitaly Provodin
ec0d6d6b14 JRE-1199: added JFX files 2019-02-20 20:13:19 +03:00
Vitaly Provodin
903775e751 updated JTreg exclude list 2019-02-18 05:58:41 +03:00
Vitaly Provodin
13fbc2beca JRE-1199: added the list of files required for stripped JBR bundle - removed leading ./ 2019-02-17 08:50:27 +07:00
Vitaly Provodin
6f4be20e39 JRE-1199: corrected the list of files required for stripped JBR bundle on Windows 2019-02-15 18:32:26 +07:00
Vitaly Provodin
e5dd1ec919 JRE-1199: added the list of files required for stripped JBR bundle (follow up) 2019-02-15 15:36:25 +07:00
Vitaly Provodin
ad87675353 updated JTreg exclude list 2019-02-15 14:41:32 +07:00
Vyacheslav Moklev
764909ce2a JRE-1216 Implement Windows native file dialogs with the new Common Item Dialog API
Add implementation of file dialogs with the new Common Items Dialog API
2019-02-14 11:21:59 +03:00
Vitaly Provodin
74f6d29013 updated JTreg exclude list 2019-02-14 11:57:59 +07:00
Vitaly Provodin
9820ecb77c JRE-1199: added the list of files required for stripped JBR bundle (follow up) 2019-02-14 10:57:19 +07:00
Vitaly Provodin
a1fcf9fcbc JRE-1199: added the list of files required for stripped JBR bundle 2019-02-14 10:55:08 +07:00
Elena Sayapina
8637715ecc JRE-1092 Compilation with VS2017 is broken by JRE-431 fix on JBRE11 2019-02-13 16:32:41 +07:00
Vitaly Provodin
52ee651a09 removed 2019-02-13 16:25:37 +07:00
Vitaly Provodin
a47c5fadca updated JTreg exclude list 2019-02-13 11:23:44 +07:00
Vitaly Provodin
33b68747b2 updated JTreg exclude list 2019-02-13 10:45:01 +07:00
Dmitry Batrak
d53601a541 Merge pull request #2 from mfilippov/mf-users-font-issue
JRE-1166 Handle the case when fonts are installed into user's home folder
2019-02-12 13:26:00 +03:00
Mikhail Filippov
a03103bbe6 JRE-1166 [jdk11] Handle the case when fonts are installed into user registry key. This is the default behaviour since Windows 10 1809. 2019-02-12 13:20:45 +03:00
Alexey Ushakov
8fb03809dc Merge remote-tracking branch 'origin/openjdk11' 2019-02-08 01:24:47 +03:00
Vitaly Provodin
3d988754d4 Revert "JRE-1139 RubyMine with 11 JDK throws exception on the start"
This reverts commit 96da48c5
2019-02-07 17:45:54 +07:00
Vitaly Provodin
53c4bf9f26 updated JTreg exclude list 2019-02-05 16:49:24 +07:00
Vitaly Provodin
140750c24d updated JTreg exclude list 2019-02-03 11:55:37 +07:00
Vitaly Provodin
7c60ba27c5 updated JTreg exclude list 2019-02-03 10:39:44 +07:00
Vitaly Provodin
5bd82eb264 updated JTreg exclude list 2019-02-03 07:04:05 +07:00
Vitaly Provodin
ba6e4eb906 updated JTreg exclude list 2019-02-01 14:00:56 +07:00
Anton Tarasov
46fc019eeb JRE-1172 [cleanup] 2019-01-31 17:41:44 +03:00
Anton Tarasov
04eebb8c56 Merge remote-tracking branch 'origin/master' 2019-01-31 15:17:23 +03:00
Anton Tarasov
c7257c1dae JRE-1172 forwardport: JRE-1163[IDEA-187439] Modal dialogs (e.g commit dialog or diff from it) are sometimes invisible 2019-01-31 15:00:29 +03:00
goetz
eab256a14a 8217628: Verbose ArrayIndexOutOfBoundsException message also in JNI calls.
Reviewed-by: mdoerr, dholmes, lfoltan
2019-01-29 08:43:33 +01:00
ysuenaga
9065b4c506 8217432: MetaspaceGC::_capacity_until_GC exceeds MaxMetaspaceSize
Reviewed-by: tschatzl, stuefe
2019-02-01 21:43:37 +09:00
Anton Tarasov
c06c4c69d3 JRE-1162 [jdk11] support on-the-fly DPI change on linux 2019-01-28 18:45:26 +03:00
Anton Tarasov
d45e86456a Merge remote-tracking branch 'origin/master' 2019-01-25 13:36:08 +03:00
Anton Tarasov
924d33c6d1 Add unix classes to the gradle project 2019-01-25 13:34:45 +03:00
mdoerr
f411142ab5 8217459: [PPC64] Cleanup non-vector version of CRC32
Reviewed-by: gromero, goetz
2019-01-25 09:49:17 +01:00
mullan
a35d10033f 8217579: TLS_EMPTY_RENEGOTIATION_INFO_SCSV is disabled after 8211883
Reviewed-by: jnimeh, clanger
2019-01-29 10:24:38 -05:00
Alexey Ushakov
63b1f82e1c JRE-911 [JDK11]jb/sun/lwawt/macosx/CThreading/IsAppKit.java: Compilation failed
Allowed access to sun.lwawt.macosx
2019-01-23 13:28:41 +03:00
Vitaly Provodin
39501a3d4a updated JTreg exclude list 2019-01-23 11:53:15 +07:00
Vitaly Provodin
6003593f78 updated JTreg exclude list 2019-01-20 08:50:51 +07:00
Alexey Ushakov
9e06cc8f01 JRE-1114 [JDK11] IDEA hangs on adding new SDK on macOS
Ported workaround for JRE-199 from JBRE8
(ce389c1012efa8d4caf6ee118720145bb51eddba)
2019-01-18 20:41:29 +03:00
Anton Tarasov
be4f8c0d9d JRE-1142 [jdk11] hidpi is not detected since Ubuntu 18.04 2019-01-18 18:36:52 +03:00
Anton Tarasov
b89e6aed0b JRE-1111 [JDK11] java/beans/Beans/TypoInBeanDescription.java crashes at libawt_xawt.so+0x4a30d 2019-01-18 17:44:50 +03:00
Elena Sayapina
3d898a8024 JRE-998: Added new regression test (Input freezes after MacOS key-selector on Mojave) 2019-01-18 19:23:26 +07:00
Alexey Ushakov
96da48c589 JRE-1139 RubyMine with 11 JDK throws exception on the start
Restored javax.activation module
2019-01-17 21:28:48 +03:00
Vitaly Provodin
241af853ea updated JTreg exclude list 2019-01-17 15:34:52 +07:00
Elena Sayapina
b808be6a6a JRE-1054: Added new regression test (Weird non-modal dialog above modal dialog behaviour) 2019-01-17 13:00:07 +07:00
Elena Sayapina
0be0a018b5 JRE-318: Added new regression test (Cmd+` doesn't work after update to JDK 152_*) 2019-01-17 12:59:33 +07:00
Alexey Ushakov
48e7b547ae JRE-1083 [JDK11] Test com/sun/java/accessibility/util/8051626/Bug8051626.java fails on macOS on JB JDK11b
Wrapped SelectorPerformer invocation into privileged action
2019-01-16 16:52:26 +03:00
Alexey Ushakov
d4b529ad49 JRE-1112 javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentSwing.java: Background is not translucent (java.awt.Color[r=255,g=255,b=255])
Moved check to resolve rendering problems in components
2019-01-15 15:48:34 +03:00
Vitaly Provodin
f779f6248c updated JTreg exclude list 2019-01-15 15:30:10 +07:00
Vitaly Provodin
c0c871c5f9 updated JTreg exclude list 2019-01-15 15:22:02 +07:00
Vitaly Provodin
53b86e4272 updated JTreg exclude list 2019-01-14 16:58:00 +07:00
Vitaly Provodin
483af71639 updated JTreg exclude list 2019-01-11 16:33:17 +07:00
Vitaly Provodin
5a9b273098 updated JTreg exclude list 2019-01-11 10:43:00 +07:00
Denis Fokin
212888416b Fallback mode, compatible with OpenJDK key event processing
(cherry picked from commit 33704a6)
2019-01-10 22:58:52 +03:00
Denis Fokin
14e2b7a4ad Mac OS X private keyboard layout switch API
(cherry picked from commit f6532954e9b0fd1600848fcc7f9f367058599e89)
2019-01-10 22:51:27 +03:00
Vitaly Provodin
bbdbe17e2a JRE-1117 J2DBench: introduced result reader for TC's charts (follow up)
separated printing values fo TC charts and values for comparisons
2019-01-07 06:47:33 +07:00
Vitaly Provodin
422fa59643 JRE-1117 J2DBench: introduced result reader for TC's charts 2019-01-05 08:22:51 +07:00
Vitaly Provodin
0b5119ca89 enabling dtrace-tests: added dtrace keyword 2018-12-28 11:18:23 +07:00
Alexey Ushakov
dfaa777ff5 JRE-1112 javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentSwing.java: Background is not translucent (java.awt.Color[r=255,g=255,b=255])
Fixed regression on linux caused by fix of JRE-1076
2018-12-27 20:16:12 +03:00
Vitaly Provodin
d45e80b422 updated JTreg exclude list 2018-12-27 15:41:44 +07:00
Alexey Ushakov
a29f19e6a2 JRE-1109 [JDK11] java/awt/Component/PrintAllXcheckJNI/PrintAllXcheckJNI.java: JNI string operation received a non-string
Corrected check for the allocated string
2018-12-26 15:59:57 +03:00
Vitaly Provodin
c2eee9426f updated JTreg exclude list 2018-12-26 10:27:37 +07:00
Alexey Ushakov
0e1d23c807 JRE-60 Editor font is distorted on Kubuntu Linux 16.04 with HiDPI
Override FC_HINT_SLIGHT only for small font sizes
2018-12-25 13:00:19 +03:00
Alexey Ushakov
2847be73c6 JRE-366 Add support for Awesome WM
Added detection of Awesome WM and handled similar to Sawfish WM

(cherry picked from commit 6742077ed198975949af567e8ef543f853397351)
2018-12-25 13:00:17 +03:00
Alexey Ushakov
6851dc3441 JRE-353 Fedora 25 + XMonad rendering issues
Added support for Xmonad WM

(cherry picked from commit c690c3c7fdf1390e6b1a8d388ff752a09391ae3c)
2018-12-25 13:00:15 +03:00
Dmitry Batrak
61dc0ea151 force Unix line endings on new files in project
as core.autocrlf=false is recommended on Windows, Git won't convert line endings on commit
2018-12-25 12:03:50 +03:00
Vitaly Provodin
d295bb0bbd moving diff-image file into the scratch directory 2018-12-25 15:32:33 +07:00
Vitaly Provodin
703cdf6b6a updated JTreg exclude list 2018-12-25 15:02:06 +07:00
Dmitry Batrak
c606d1f8c6 JRE-571 Print to PDF not working when no printers installed on macOS
port of JDK-8211055, JDK-8212040 from OpenJDK 12
2018-12-25 09:03:49 +03:00
Dmitry Batrak
65a5e450d5 JRE-927 Unexpected wrapping of bidirectional text in JEditorPane on HiDPI screens
port commit 11a5a4a2 from JBR 9
2018-12-25 09:03:26 +03:00
Dmitry Batrak
c6fed2cf58 JRE-774 Don't paste BOM from clipboard on Mac
port commit ea9b75b3 from JBR 9
2018-12-25 09:03:10 +03:00
Dmitry Batrak
9caaac4a5a JRE-847 Box drawing characters have different widths with Monospaced font on Windows
port commit 778cef18 from JBR 9
2018-12-25 09:02:44 +03:00
Dmitry Batrak
5d704a963b IDEA-152816, IDEA-152454 fix text rendering issues (text cutoff and incorrect rendering in editor fragment components)
FcMatchFont-type pattern substitutions shouldn't be invoked before specific font is selected - it can apply unrelated rules

port commit e21cd635 from JBR 9
2018-12-25 09:02:27 +03:00
Dmitry Batrak
e9bd5f5dad JRE-748 Strange dots with fractional metrics turned on
port commit 82e7c82d from JBR 9
2018-12-25 09:02:08 +03:00
Dmitry Batrak
32ce109355 JRE-593 Wrong italic font rendering for Source Code Pro
port commit 1f6bd200 from JBR 9
2018-12-25 09:01:54 +03:00
Dmitry Batrak
2b03305a5f JRE-588 Images in JavaDoc not scaled proportionally when only <img> width specified
port JDK-8208638 from OpenJDK 12
2018-12-25 09:01:34 +03:00
Dmitry Batrak
89c99c1999 JRE-586 Incorrect rendering of Myanmar combining marks
port commit 5c513399 from JBR 9
2018-12-25 09:01:18 +03:00
Dmitry Batrak
8da6cec22a JRE-472 Impossible to enter zero width non-joiner character on Windows 10
backport JDK-8187364 from OpenJDK 12
2018-12-25 09:01:04 +03:00
Dmitry Batrak
394e055ae6 JRE-469 Console with emoji output becomes slow
The fix consists of two parts:
* Making CCharToGlyphMapper remember that a particular character
  cannot be displayed (isn't mapped to glyph with given font). Checking
  this repeatedly in native code is very slow.
* Make CCompositeGlyphMapper remember the results of char-to-glyph
  mapping, this was missing in previous implementation. This reuses
  caching code in CompositeGlyphMapper, extending the range of
  characters for which the results are cached to include Supplementary
  Multilingual Plane (most emoji characters belong to it).

port commit 4e0ccde2 from JBR 9
2018-12-25 09:00:49 +03:00
Dmitry Batrak
5b814d6b34 JRE-430 Font fallback sometimes doesn't work in Swing text components
port commit fc8003ad from JBR 9
2018-12-25 09:00:27 +03:00
Dmitry Batrak
67b1e552d8 JRE-372 IntelliJ editors silently precompose diacritics
port commit f7facf1b from JBR 9
2018-12-25 09:00:11 +03:00
Dmitry Batrak
fc2b95ea8e avoid changing characters' advances when special character is added to the line or ligatures are enabled
problem report - https://youtrack.jetbrains.com/issue/JRE-118#comment=27-1816577

port commit 32288ee6 from JBR 9
2018-12-25 08:59:52 +03:00
Dmitry Batrak
690696bb52 JRE-118 Emoji support
port commits 5dcafa4d, 70e14949 from JBR 9
2018-12-25 08:59:37 +03:00
Dmitry Batrak
cbf4d301ee fix direction of vertical glyph offsets (regression introduced by backporting JDK 9 changes for JRE-33)
port commit 9b98eaf0 from JBR 9
2018-12-25 08:59:03 +03:00
Dmitry Batrak
72fb9ff7c4 an option to disable native rendering for rotated text (following JRE-19)
port commit ccc1ded6 from JBR 9
2018-12-25 08:58:41 +03:00
Dmitry Batrak
030f15834c JRE-11 Support text rendering via DirectWrite API on Windows
port commits 7b180f8d, cccbcab4 from JBR 9
2018-12-25 08:58:25 +03:00
Dmitry Batrak
c30407cb87 JRE-10 Ligatures are not working sometimes when characters from multiple scripts are present
ports commit 18b3f575 from JBR 9
2018-12-25 08:58:07 +03:00
Dmitry Batrak
dbc15fb84e don't apply FreeType-returned glyph advance for glyphs rendered by GDI
This seems to produce a better looking text (more evenly spaced). Fractional metrics won't be respected by this code, but we can address this later if needed.

ports commit 7bd6c17c from JBR 9
2018-12-25 08:57:45 +03:00
Dmitry Batrak
d6b588bdab IDEA-150876 OpenJDK fonts for toolwindow names look worse than Oracles's
port commits c9debd5e, ed78cd00, 4c7e1619, 7aa0429c from JBR 9
2018-12-25 08:57:27 +03:00
Dmitry Batrak
a949f9d220 reimplement JDK-7162125 to fix JDK-8147002
port commit ba38e5c4 from JBR 9
2018-12-25 08:57:12 +03:00
Dmitry Batrak
c3c85ad548 optimize usage of Harfbuzz - create hb_face_t instance only once for each Font2D instance
port commit de367178 from JBR 9
2018-12-25 08:56:46 +03:00
Dmitry Batrak
f3ca8c7869 revert all my previously merged changes 2018-12-25 08:47:04 +03:00
Alexey Ushakov
ff04fd9429 Revert "JRE-578 OGLRenderQueue.flushNow() executes too many times"
This reverts commit acc636fa
2018-12-24 21:53:51 +03:00
Alexey Ushakov
339d11fa0d JRE-1076 setBackground​(Color bgColor) does not have any effect on Window in 11 Runtime
Use PaintManager.paint() for non-opaque windows
2018-12-21 22:36:21 +03:00
Dmitry Batrak
24dfabe6c3 JRE-593 Wrong italic font rendering for Source Code Pro
port commits 4ae0566, 30f998a from master
2018-12-19 17:13:33 +07:00
Dmitry Batrak
8e6fc9365c fix compilation warning (causing build failure) 2018-12-19 16:58:21 +07:00
Dmitry Batrak
adacc3a6f6 an option to disable native rendering for rotated text (following JRE-19)
port commit bb1be19 from master
2018-12-19 16:51:51 +07:00
Dmitry Batrak
6aee6ac680 JRE-11 Support text rendering via DirectWrite API on Windows
port commits 14b183c, 6305747, 9afd0eb, 004f97e, 3ea365b, edf6ef0, a16b2a6 from master
2018-12-19 16:45:37 +07:00
Dmitry Batrak
6b52af6446 don't apply FreeType-returned glyph advance for glyphs rendered by GDI
This seems to produce a better looking text (more evenly spaced). Fractional metrics won't be respected by this code, but we can address this later if needed.

ports commit 0d385c6 from master
2018-12-19 16:39:21 +07:00
Dmitry Batrak
86ca0039c0 IDEA-150876 OpenJDK fonts for toolwindow names look worse than Oracles's
port commits d170a25, d97f0b8 from master
2018-12-19 16:33:16 +07:00
Vitaly Provodin
fcdbfc43af Revert "JRE-11 Support text rendering via DirectWrite API on Windows"
This reverts commit 8e7d110d
2018-12-19 16:21:41 +07:00
Vitaly Provodin
09b06c2254 Revert "JRE-593 Wrong italic font rendering for Source Code Pro"
This reverts commit 1440ca58
2018-12-19 15:40:10 +07:00
Vitaly Provodin
7919c20137 Revert "JRE-593 Wrong italic font rendering for Source Code Pro"
This reverts commit d08b441e
2018-12-19 15:37:47 +07:00
Dmitry Batrak
25777c7a28 reimplement JDK-7162125 to fix JDK-8147002
port commits e3db506, 373b766, 733ec1f, 01abac6, 6048ac6, 42e6d3c, d1e42da, c9a3a18, 49d2809 from master
2018-12-19 15:01:25 +07:00
Vitaly Provodin
d08b441e3c JRE-593 Wrong italic font rendering for Source Code Pro
fixed compilation errors - removed rotation
2018-12-19 14:50:38 +07:00
Vitaly Provodin
97ab23c7d5 JRE-624 CThreading isAppKit() fails to detect main app thread if it was renamed
moved from jdk/test to test/jdk
2018-12-19 11:22:09 +07:00
Dmitry Batrak
1440ca5841 JRE-593 Wrong italic font rendering for Source Code Pro
port commits 4ae0566, 30f998a from master
2018-12-19 11:15:56 +07:00
Dmitry Batrak
8e7d110d73 JRE-11 Support text rendering via DirectWrite API on Windows
port commits 14b183c, 6305747, 9afd0eb, 004f97e, 3ea365b, edf6ef0, a16b2a6 from master
2018-12-19 11:07:34 +07:00
Dmitry Batrak
968c24866d JRE-588 Images in JavaDoc not scaled proportionally when only <img> width specified
port JDK-8195095, JDK-8206238, JDK-8208638 from OpenJDK 12

port commits 8f5a6e9a, 07461ea4 from jbre8u
2018-12-19 10:23:45 +07:00
Dmitry Batrak
e722edf104 JRE-588 Images in JavaDoc not scaled proportionally when only <img> width specified
port commit 1423c10 from master
2018-12-19 10:15:20 +07:00
Dmitry Batrak
fc8100802a JRE-571 Print to PDF not working when no printers installed on macOS
port of JDK-8212040 from OpenJDK 12

port commits 8b5b0de9, ad455515 from jbre8u
2018-12-18 18:21:02 +07:00
Dmitry Batrak
d31903acce JRE-571 Print to PDF not working when no printers installed on macOS
port of JDK-8211055 from OpenJDK 12

port commits d2fa84e9, 109165b7 from jbre8u
2018-12-18 18:15:03 +07:00
Alexey Ushakov
55e86e53bc JRE-43 Font.getFamily() does not work in headless mode
Resolved merge issues
2018-12-18 13:05:52 +03:00
Vitaly Provodin
a2dd06ca62 updated JTreg exclude list 2018-12-18 16:00:41 +07:00
Dmitry Batrak
785032941d JRE-970 [macos] Problem with input of yen symbol
port of commit fbb07014 from JBRE8u
2018-12-18 15:53:14 +07:00
Dmitry Batrak
3ce2665aae JRE-774 Don't paste BOM from clipboard on Mac
port commit 48b03b9c from master
2018-12-18 15:36:52 +07:00
Dmitry Batrak
3524ee07e7 JRE-847 Box drawing characters have different widths with Monospaced font on Windows
port commit c1ccf91 from master
2018-12-18 15:28:29 +07:00
Dmitry Batrak
32cbdd4cef JRE-748 Strange dots with fractional metrics turned on
port commit e0f56b5 from master
2018-12-18 15:17:29 +07:00
Dmitry Batrak
b5bf240fd8 JRE-586 Incorrect rendering of Myanmar combining marks
port commit d6bdad1 from master
2018-12-18 11:36:41 +07:00
Dmitry Batrak
c3b4add398 JRE-472 Impossible to enter zero width non-joiner character on Win10
port commit dc238fe from master
2018-12-18 11:24:10 +07:00
Dmitry Batrak
bc7cd26d17 JRE-430 Font fallback sometimes doesn't work in Swing text components
port commit 2c79ff3 from master
2018-12-18 10:46:04 +07:00
Dmitry Batrak
5f5b589458 JRE-372 IntelliJ editors silently precompose diacritics
port commit b83ffcf from master
2018-12-18 10:36:02 +07:00
Dmitry Batrak
a9bc2e51f4 fix direction of vertical glyph offsets (regression introduced by backporting JDK 9 changes for JRE-33)
port commit 29e7806 from master
2018-12-17 18:30:02 +07:00
Dmitry Batrak
a6c21c912e JRE-10 Ligatures are not working sometimes when characters from multiple scripts are present
ports commit 165b288 from master
2018-12-17 18:21:25 +07:00
Vitaly Provodin
d3731df79d jbu tests: added golden files for Windows
(cherry picked from commit ff10483)
2018-12-14 16:40:18 +07:00
Vitaly Provodin
00a29ad129 JRE-9: added regression test
(cherry picked from commit 4ffb665)
2018-12-14 16:14:24 +07:00
Vitaly Provodin
7fc924f065 not for upstream: added disposing frames in order to provide the test with the chance on the second run
(cherry picked from commit 8170635)
2018-12-14 16:07:42 +07:00
Vitaly Provodin
63130fd461 Regression test on https://bugs.openjdk.java.net/browse/JDK-8139176
(cherry picked from commit 6f1c0a6)
2018-12-14 15:39:17 +07:00
Alexey Ushakov
f925b24d5e Resolved windows compile issues 2018-12-14 10:46:22 +03:00
Vitaly Provodin
9e6301fd03 Revert "Create README.MD"
This reverts commit 4c588271
2018-12-14 11:28:29 +07:00
Konstantin Bulenkov
4c588271e2 Create README.MD
(cherry picked from commit 66baa265d993540d11ecde5b11c88028e2687270)
2018-12-14 10:35:00 +07:00
Konstantin Bulenkov
9699d0763a add vcs.xml
(cherry picked from commit 1cf13ee9654999c1e07756fe5367c89ef5cf17ec)
2018-12-14 10:29:00 +07:00
Konstantin Bulenkov
786cee5d97 add JetBrains copyright
(cherry picked from commit 260b5e1571c6944a69f96cc702fc9e88f45a6e4e)
2018-12-14 10:21:13 +07:00
Konstantin Bulenkov
37e7661f85 add workspace.xml to gitignore
(cherry picked from commit bd5b9403fdca779ecc76f0b3af2918fe772f7ed1)
2018-12-14 10:14:56 +07:00
Konstantin Bulenkov
de1e4a9d71 update icons
(cherry picked from commit dfe387ff5037deda29d8d522cba6cc5370796ff4)
2018-12-14 10:07:40 +07:00
Alexey Ushakov
9662d45e36 JRE-921 IDEA crash on JDK9
Open and Save Panels should be retained when using without ARC

https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/UsingtheOpenandSavePanels/UsingtheOpenandSavePanels.html
2018-12-14 00:23:51 +03:00
Alexey Ushakov
dffea9d701 JRE-1028 fwport(9): JRE-1008 Do not use LCD shader on macOS 10.14+ in font rendering
Disable LCD text shader on macOS 10.14+ if LCD rendering is not explicitly specified
2018-12-14 00:23:50 +03:00
Alexey Ushakov
c358cff18b JRE-1027 forwardport(9): JRE-998 Input freezes after MacOS key-selector on Mojave
Added workaround to reset IM after entering accented symbols
2018-12-14 00:23:49 +03:00
Alexey Ushakov
2c1ee18b78 JRE-965 Debug build compile failure
Fixed compile failure
2018-12-14 00:23:48 +03:00
Alexey Ushakov
eaed1780be JRE-945 Compiler warnings in graphics trace code
Added casts to pointers
2018-12-14 00:23:47 +03:00
Alexey Ushakov
666e2ed685 JRE-690 Recent bundled JDK VCS Log UI slowdowns
Replaced OLG blit sync with threshold by the sync without threshold
Refactoring. NO_SYNC mode is not used, so removing QueueSyncType

(cherry picked from commit 45cbdc74e15f6bbc48f37b93d3edf5436de255fa)
(cherry picked from commit 8aa2d043fb9f9058fb578396caccd11703c421be)
2018-12-14 00:23:47 +03:00
Alexey Ushakov
fe339f5eab JRE-690 Recent bundled JDK VCS Log UI slowdowns
Optimized nativeGetCursorPosition to avoid creating temporary Point2D object

(cherry picked from commit 2861386c34127be16e4ab0d0b3e6e826e4707cc7)
2018-12-14 00:23:46 +03:00
Alexey Ushakov
5904c3ce30 JRE-686 OGL Glyph cache is too small for IDEA editor
Increased glyph cache size. Added logging to track caching process

(cherry picked from commit f02739d32d7c0bc7b7aae8c85536e16f51bb8543)
(cherry picked from commit 9cc1ce5d2f25892e8ccd9c22a0252e21e8fd2f02)
(cherry picked from commit cb76ebdd51f7ee3cc6133e199bb7e479d863c08b)
(cherry picked from commit 3f94620cf4c5b529cc786706695c4562fbc75ab2)
2018-12-14 00:23:45 +03:00
Alexey Ushakov
7cd1d0bc10 JRE-646 Provide performance logging of graphics primitives
Enhanced logging (example: -Dsun.java2d.trace=log,ptime,td=3000000,verbose)
Filter primitives by name and detect LCD/Grayscale text rendering (JRE-679)
Example: -Dsun.java2d.trace=log,ptime,name:OGLDrawGlyphsGray,verbose

(cherry picked from commit d38e16b0ae64866c91700ed312311419ab749269)
(cherry picked from commit 61a0ac6af921093a20324a88d6ed5e45c9d8ed7d)
(cherry picked from commit 9318aa0a17e50a92accb996f284b4ab5f6d9eaa5)
2018-12-14 00:23:45 +03:00
Alexey Ushakov
0a36774a6e JRE-625 Unstable UI menu rendering
Removed lazy flushing in flushOnscreenGraphics

(cherry picked from commit abf35dcf1304c737fc07783202377fee3c40c58a)
2018-12-14 00:23:44 +03:00
Alexey Ushakov
54bd0ddc20 JRE-624 CThreading.isAppKit() fails to detect main app thread if it was renamed
Added app main thread fix

(cherry picked from commit 5dfb30ae68b2c54d58c98a9195709c031f823581)
(cherry picked from commit 94163bd69f64616836523e81567aa1141480d841)
2018-12-14 00:23:43 +03:00
Alexey Ushakov
2fe5289178 JRE-608 J2DBench metrics: up to 20x degradation
Increased rendering queue buffer up to 6.4 MB

(cherry picked from commit 9ef00f00a7fb6e14835393f8d3944157c6800727)
(cherry picked from commit 2a61e9e997a880a60c5acb361849205170501b91)
(cherry picked from commit 68ca9f00ded004c970b94bd047a04b9f09237047)
2018-12-14 00:23:43 +03:00
Alexey Ushakov
cf7e3f86f5 JRE-584 Retaining objects in HashMap causes some performance drop
Replaced HashMap with ArrayList

(cherry picked from commit 79ea17c76eb44b60d88bd4630ce66c6794f2f881)
(cherry picked from commit 243a2c8833b82c7fef09f1f519d081b4464865c1)
2018-12-14 00:23:42 +03:00
Alexey Ushakov
acc636fa2d JRE-578 OGLRenderQueue.flushNow() executes too many times
Aligned flushNow to predefined time threshold in order to decrease frequency of the operation

(cherry picked from commit 5762188776dc3d425e3fe0ada1015bfdfcade154)
(cherry picked from commit 38e122f6f9a2f85aba1eeb0e9bff277b1f2a471e)
2018-12-14 00:23:41 +03:00
Alexey Ushakov
833d9f85a8 JRE-501 Live resize is jerky for heavy java applications on Mac
Skip too frequent flushBuffer actions

(cherry picked from commit c1abdf240b37065f60678479d662b0966664e7fa)
2018-12-14 00:23:40 +03:00
Alexey Ushakov
cef970e1ba JRE-471 Crash on macOS Sierra after Sleep
Replaced [NSScreen screens] 'objectAtIndex' with 'firstObject' to get nil instead of NSRangeException. Added nil checks

(cherry picked from commit d6b98511262055c01522d9ec8024253af7e91564)
2018-12-14 00:23:33 +03:00
Denis Fokin
3f02c651e5 IDEA-140054 A lot of NSEvents
8042752: [macosx] NSEvent instances leak throw JNI local references
Reviewed-by: serb, azvegint

(cherry picked from commit 511d7c8ae09a74b15f28b0d7030cdcc05c9aac3b)
2018-12-13 20:10:54 +03:00
Denis Fokin
f9902f7611 JRE-318 Cmd+` doesn't work after update to JDK 152_*
Partial revert: 8169589: [macosx] Activating a JDialog puts to back another dialog

(cherry picked from commit 413a18a770dd299e6e47a0f3d4be9f6767ec491f)
2018-12-13 20:10:52 +03:00
Denis Fokin
a8ec2d4116 JRE-190 Cannot type opening square bracket or brace with a Spanish keyboard in the last Rubymine EAP
(cherry picked from commit fe170431d51dd92d28d601c9cc35f06c9f78cddf)
2018-12-13 20:10:51 +03:00
Denis Fokin
9a20d85614 IDEA-166921 Shift not handled correctly in keymap
(cherry picked from commit 9328c07d5545e74d37ad1bf2016b6a433281d28e)
2018-12-13 20:10:50 +03:00
Denis Fokin
98041ba69a IDEA-166443 Mac OS: Delete action deletes twice if Edit menu has be opened before
(cherry picked from commit 9f29d899c9c12ad5c8c19e2d49cff54ad0e93b85)
2018-12-13 20:10:48 +03:00
Denis Fokin
068ee17dc4 IDEA-166435 Mac OS: IDEA quits on pressing any key with Korean, Chinese and Japanese keyboard layouts
(cherry picked from commit 0fb0fee02afb895d5b99514d6049e3d308bd8262)
2018-12-13 20:10:47 +03:00
Denis Fokin
4b53b59313 Broken space is fixed
(cherry picked from commit 5b52e0988a9fe864fe482c10fa6ecbab3da7cd34)
2018-12-13 20:10:46 +03:00
Denis Fokin
95a43caeba IDEA-166086 IDEA crashes on pressing a dead key
IDEA-166368 Terminal, Mac OS: Delete key inserts a symbol
IDEA-160245 Keymap: if non-QWERTY layout support is enabled, shortcuts with Numpad Plus are not recognized

(cherry picked from commit 601502cb5a3e391ca61fb3b041c507a675c7f008)
2018-12-13 20:10:45 +03:00
Denis Fokin
34f70fb425 ^M and other ISO controls are fixed
(cherry picked from commit b107409ba7e980839e34971413249a30df8858e7)
2018-12-13 20:10:43 +03:00
Denis Fokin
86316d0205 JRE-149 java/awt/event/KeyEvent/DeadKey/DeadKeyMacOSXInputText.java: Pressed char is not dead acute
(cherry picked from commit 7f4b9869f8e3e846aedc938c2a9eb644175bd9aa)
2018-12-13 20:10:42 +03:00
Denis Fokin
b1941dcb80 Broken backspace in quick search
IDEA-166086 IDEA crashes on pressing a dead key

(cherry picked from commit c1eeff0b523da3744ee888f10397552665b0276a)
2018-12-13 20:10:39 +03:00
Denis Fokin
a56cb06c61 IDEA-166050 Terminal, Mac OS: can't enter uppercase symbols – Shift key is ignored
(cherry picked from commit 660e54886b9de2d9491bdc30c2755deadb7a4576)
2018-12-13 20:10:37 +03:00
Denis Fokin
3d687d001b IDEA-166040 jediterm-pty expects getting control command unicode chars in KeyEvent (typ0)
(cherry picked from commit edb73f66480355e9c919246d5f5ebf69ca1ac9ab)
2018-12-13 20:10:35 +03:00
Denis Fokin
6e44f31b7d IDEA-166040 jediterm-pty expects getting control command unicode chars in KeyEvent
(cherry picked from commit 7edd54b0a343c582336cf63b6419a98a2fde320b)
2018-12-13 20:10:34 +03:00
Denis Fokin
d68f22fe9a IDEA-165993 French (azerty) keyboard layout: Cmd+Shift+; is recognized as A
(cherry picked from commit 8196fcd73920b6aff122df94e20cab94f4483276)
2018-12-13 20:10:33 +03:00
Denis Fokin
5f4ecfc278 IDEA-165993 French (azerty) keyboard layout: Cmd+Shift+; is recognized as A
(cherry picked from commit 682276fb5a3189cb3a6459dc829e54e0bcc14b60)
2018-12-13 20:10:32 +03:00
Denis Fokin
7282448b4d IDEA-165943 Keymap: for non-QWERTY keyboard layouts Shift+... shortcuts are inconsistently interpreted
(cherry picked from commit 5b7f4b73a3a22d7a336dc6811328176285b5ee05)
2018-12-13 20:10:30 +03:00
Denis Fokin
65c02bb7e6 Fix for java/awt/event/KeyEvent/ExtendedKeyCode/ExtendedKeyCodeTest.java
(cherry picked from commit 935f3a13f7b220ec2d11d7b44cb18abc3dcba37c)
2018-12-13 20:10:29 +03:00
Denis Fokin
293c224f35 IDEA-63779 Keymap shows characters for keys only for english keyboard layout correctly
(cherry picked from commit bd745c470d809412259df868fade2d159dfe9e7b)
2018-12-13 20:10:28 +03:00
Denis Fokin
e8af601d73 IDEA-63779 Keymap shows characters for keys only for english keyboard layout correctly
IDEA-27262 Wrong keys are picked up on dvorak layout in Mac OSX 10.6.2

(cherry picked from commit 07780916770f9214a40068addd32579c10a27a72)
2018-12-13 20:10:24 +03:00
Denis Fokin
df5bcf148a Suppress "uncommented constants" warning 2018-12-13 19:53:01 +03:00
Denis Fokin
8453ad0462 IDEA-63779 Keymap shows characters for keys only for english keyboard layout correctly
IDEA-27262 Wrong keys are picked up on dvorak layout in Mac OSX 10.6.2

(cherry picked from commit 07780916770f9214a40068addd32579c10a27a72)
2018-12-13 19:53:01 +03:00
Denis Fokin
3c09162059 IDEA-160416 Cannot type the dollar sign on my Mac (regression)
(cherry picked from commit 2e7d270b931d0dcf07b603df0f6901f7875fbd0b)
2018-12-13 19:53:01 +03:00
Denis Fokin
916ccc45f1 IDEA-157001 Keymap: for non-QWERTY keyboard layouts Ctrl mofifiers change key processing to QWERTY-like
(cherry picked from commit 5cbee365fa41f40d17fa63a02a92ed1289354bc5)
2018-12-13 19:53:01 +03:00
Denis Fokin
4bcecb07e5 Revert: IDEA-157001 Keymap: for non-QWERTY keyboard layouts Alt and Ctrl mofifiers change key processing to QWERTY-like
(cherry picked from commit 4698945b23236e6b82f7a7dc963684d10721ac0f)
2018-12-13 19:53:00 +03:00
Denis Fokin
2fdb898177 IDEA-157001 Keymap: for non-QWERTY keyboard layouts Alt and Ctrl mofifiers change key processing to QWERTY-like
(cherry picked from commit 7927c5cb93ba8461137218d71f8ad25730b8b828)
2018-12-13 19:53:00 +03:00
Alexey Ushakov
bcb5ba34ac Revert "8148187: Remove OS X-specific com.apple.concurrent package"
Move the dispatcher native code to libosx folder
2018-12-13 16:01:49 +03:00
Alexey Ushakov
0f7c26186a JRE-482 Java_sun_font_CStrike_getNativeGlyphOutline takes too much time in scrolling
Replaced glyph outlines with bounding boxes for glyph boundaries calculation for most common usages. Also, skipped unnecessary OGL flushes in OGL rendering queue

(cherry picked from commit c58dc052af48887338a38beb0c721eddca3af481)
(cherry picked from commit 7f6be7cfb907bbf1c3572b911df5690fa3039fde)
(cherry picked from commit c68913d82c0ba4b4c509179123f0a4bf7971f857)
(cherry picked from commit 9cfa04c93ad416a8177d9e7ca410850bd3ff880f)
(cherry picked from commit 0e930841704e4e98ecc0c888b144245e74218799)
(cherry picked from commit 8ffc190fbdb059d5a24842115c0bc3ade8b351b9)
2018-12-13 16:01:49 +03:00
Alexey Ushakov
6fc369e8bf JRE-444 CPlatformWindow.nativeGetTopmostPlatformWindowUnderMouse is slow
Replaced number of CGWindowListCopyWindowInfo for each window layer with [NSWindow windowNumberAtPoint: belowWindowWithWindowNumber:]

(cherry picked from commit 2a143af4d62340acdfd9c94d876f684385febbc8)
2018-12-13 16:01:48 +03:00
Alexey Ushakov
6d73b25130 JRE-359 CGraphicsEnvironment.getDefaultScreenDevice() returns null
Moved CG api calls to AppKit thread

(cherry picked from commit fd0210f035199e8612097a2c1d42b90cfd2111f8)
(cherry picked from commit 5e99e376d9dfe477401121878704630c3c13f9f7)
2018-12-13 16:01:48 +03:00
Alexey Ushakov
5d98c94ee9 JRE-238 [736] java.awt.AWTError: access denied ("java.lang.RuntimePermission" "canInvokeInSystemThreadGroup")
Moved task execution on AppKit to the privileged block. Minor refactoring

(cherry picked from commit 5dbb88471115c9e4a536ae37d0e6794de9e5ac9c)
2018-12-13 16:01:48 +03:00
Alexey Ushakov
28774d6878 JRE-193 UI freeze and 12/second thread dumps
Moved CStrikeDisposer dispose code to AppKit
2018-12-13 16:01:48 +03:00
Alexey Ushakov
a68dea068c JRE-202 Deadlock in CGLGraphicsConfig.getCGLConfigInfo
Added processing system events while waiting for OGLRenderQueue.lock
Moved getCGLConfigInfo logic execution to AppKit thread so, awt lock is
 taken on one thread

(cherry picked from commit d1c8bf03e1bd41cb075aa73cc39558103af7fe1a)
(cherry picked from commit 6bf9f31986be64acf3755b34568802f9960a66ec)
(cherry picked from commit 4e21d67e0369bffac45662c63699b39946218a7a)
2018-12-13 16:01:48 +03:00
Alexey Ushakov
45f1ff7490 JRE-193 UI freeze and 12/second thread dumps
Moved CStrikeDisposer dispose code to AppKit

(cherry picked from commit 51a8c0bee88a78e1c14f537345ce161bc44d1030)
2018-12-13 16:01:48 +03:00
Alexey Ushakov
be707de431 JRE-161 CCE in OGLTextRenderer.validateContext
Throw InvalidPipeException instead of CCE

(cherry picked from commit eafe84a8519b42dea5518cc91a27652befd91473)
2018-12-13 16:01:47 +03:00
Alexey Ushakov
3db09e43d8 JRE-140 AWT hangs on component creation because of 2D activity on AppKit thread
Used AtomicBoolean instead of volatile for double

(cherry picked from commit 17ac3b61ac8d2133e49cdcc20935e6ce38212f07)
2018-12-13 16:01:47 +03:00
Stanislav Dombrovsky
9f079c66e9 Fix rendering of HTML list dots + better vertical align for them.
(cherry picked from commit fa4a404533ba1ef638fe523adc74391aee8a3ebf)
2018-12-13 16:56:19 +07:00
Stanislav Dombrovsky
1a1fa31545 IDEA-146218 Add ability to use SF system fonts on OSX 10.11 and greater. The workaround implemented in this fix allows loading OSX system fonts on OSX >= 10.11 in the list of installed fonts which makes possible to use them in the UI.
(cherry picked from commit 401b217)
(cherry picked from commit fda747e)
(cherry picked from commit f2e3f56)
2018-12-13 16:55:59 +07:00
Sergey Malenkov
e79502c708 JRE-100 Scroll with inertia (Mac os) should only work in the initial component 2018-12-13 16:43:33 +07:00
Sergey Malenkov
ef490fa465 IDEA-161965 ignore dragged event that does not change mouse location Sierra is more sensit 2018-12-13 16:43:06 +07:00
Denis S. Fokin
5c13d63217 Fix version and company name
(cherry picked from commit 0ccc1917f2744ffabb4796a4224f5b105a083266)
2018-12-12 11:58:07 +03:00
Vitaly Provodin
614396d63f updated JTreg exclude list 2018-12-12 10:37:26 +07:00
apetcher
c9c255ec78 8214688: TLS 1.3 session resumption with hello retry request failed with "illegal_parameter"
Reviewed-by: jnimeh
2018-12-11 11:01:02 -05:00
Alexey Ushakov
b6bdd04e41 JRE-303 2017.1.1 update breaks linux fonts
Corrected rendering hints for Non-AA text rendering

(cherry picked from commit b923aa7a0729a10ea47d3438622d659fbead44c9)
2018-12-11 18:43:53 +03:00
Alexey Ushakov
c75c1ef8b2 JRE-205 Font is wrong and without anti aliasing in 2017.1 EAP
Added property to disable bundled font config:
  java2d.font.loadFontConf=false
Do not load custom font.conf by default

Moved hints adjusting logic from code to bundled font.conf file
Applied correction only for regular fonts with platform sizes less than 12
Some fonts are not corrected at all: Consolas, Noto Sans Mono
Used family name instead of physical one in requests to Fontconfig
Removed redundant call to FcConfigBuildFonts
Added privileged access to the properties (JRE-235,JRE-235)

(cherry picked from commit 4d4c915047077ebd966b0e3be056566d56ba11a4)
(cherry picked from commit 9d6f325f72482405264852f3ee2636f5fedaeaf0)
(cherry picked from commit e7e3372bf8db539c0f6bc85db9f1093f8fa4c380)
(cherry picked from commit 3e724caed2f199be50d25d1ecb20b7819c86be2e)
(cherry picked from commit d372b35963c096a32331b05b257e26841ace5d94)
(cherry picked from commit 18a5f5de03eb107f89dca138a44b9aab2151235c)
(cherry picked from commit 9ba320efef0539f75aa93fd1b5dd80266c954d0a)
(cherry picked from commit b8c38f419972af61291953f7f452c1698f7a1624)
(cherry picked from commit debba0128e200be60adc9a339d5985590ef4e230)
(cherry picked from commit 2fa17b1bd7d6524e4b5fa4d0b3ce2bf02a8fcc78)
(cherry picked from commit 09b4f61db0d4f5beea0e16ce9136c99e2185c10b)
(cherry picked from commit 3b6782dd742f9c74a9535145db2f9f7ffaccf7c8)
(cherry picked from commit f1b68149528c13a22fa64468c130b1405bf3d081)
(cherry picked from commit db5cf5a2b9cb454630fb86783c2d58cd5446cba6)
(cherry picked from commit 32140948578bc3c2a0c5f8adb537660421efe5e7)
(cherry picked from commit b978e3d0b131ed642774c5a14a649e13f764c20b)
2018-12-11 17:36:55 +03:00
Alexey Ushakov
cc0faf953f JRE-13 java.awt.TextLayout does not handle correctly the bolded logical fonts (Serif)
Backported fix of JDK-8139176 (test updated)

(cherry picked from commit ba66b203fc4fe59ccf0d1d70d3e09cb17810ca00)
2018-12-11 17:34:59 +03:00
Alexey Ushakov
0a4fdad0f2 JRE-18 CCE in XRMaskFill.MaskFill
Throwing InvalidPipeException for incompatible surfaces

(cherry picked from commit 55dab103c24bf86cf025b9ce02b67e72508d41ba)
2018-12-11 17:34:59 +03:00
Alexey Ushakov
1fd4615c04 JRE-457 OGLTR_DisableGlyphModeState is slow
Skipped number of OGLTR_DisableGlyphModeState calls in sequence of draw text operations
Added screen rendering tests for 3 rendering modes: NonAA, AA, LCD
Added support for OSX low res modes in the rendering test. Minor refactoring
Improved fix by skipping NOOP operation. Added one more test on glyph mode state changing.
Removed unnecessary flag

(cherry picked from commit d52fc846435796381bb0db8dbf4be28cb8fc9ced)
(cherry picked from commit f2727866edc925668d02ef625b9c966e3e5323a4)
(cherry picked from commit e26b5f42c674bc0b8d59207a04a1dc69dc7ffceb)
(cherry picked from commit e5eb91c86a009b97614d610f47e991414ce94afa)
(cherry picked from commit 24569f975a2da1facdc0ee20cf298f0263333a5a)
2018-12-11 13:58:54 +03:00
Alexey Ushakov
66e5c5bc22 JRE-114 JDK for Mac OS: visual artifacts at overlapping letters with subpixel antialiasing enabled
Flushed GPU buffers before rendering overlapping glyphs
Corrected initial value for right boundary of previous glyph

(cherry picked from commit 3c24cd75416e9b899e4b972f2c5b27c13f1827a4)
(cherry picked from commit 43ddbbea395d25064713e49be907f3a1d7b12b57)
(cherry picked from commit c21c0fb4b6395c868709a016969527168cce4a8b)
2018-12-11 13:58:54 +03:00
Alexey Ushakov
4f70a712e0 JRE-526 IDE is unusably slow when using a 4K display on OS X
Performed glTextureBarrierNV() call to separate read/write  from/to the same texture per glyph list not per every single glyph
Moved flush code before LCD glyph rendering
Removed unnecessary condition
Improved scrolling performance for about 30% on Intel graphics hardware
Grouped GL quads for rendering lcd glyphs into one glBegin/glEnd block
instead of multiple ones
Updated performance tests to check text with huge font size
Huge LCD font rendering on OSX
Replaced rendering multiple quads with only one

(cherry picked from commit 0de2f01b0de2f4b98e78137785f6ce9305e04b9d)
(cherry picked from commit 1ce9d484330181e8573096aab99ef7f12390fdf3)
(cherry picked from commit 50e20afba5e085881bec1125d318dc78dee45978)
(cherry picked from commit d61d9e84bfc4bd27028903b3dcb6fcbd11f33d58)
(cherry picked from commit 8c8f3a60ad3551bd36427b6817cae9f5776ebd26)
(cherry picked from commit 15df5e5b55105effea9f60ec3ce93c7babd06b28)
(cherry picked from commit 2ab6b0976821b79db78f9257d7034f2760beac19)
(cherry picked from commit 3642cf72df3d0d037fdf163082c7bc0fea423bd7)
(cherry picked from commit 887683b927821fac574dab79f3e0420c9959c086)
(cherry picked from commit 94ef3cd5b0fd819b3eb139482294e598120dc4dc)
(cherry picked from commit ec004829692f1da3ea8f81258abde1824dde21f0)
2018-12-11 13:58:53 +03:00
Alexey Ushakov
ee05ba1b33 IDEA-144261 IDE is unusably slow when using a 4K display on OS X
2x increase  size of cached glyphs

(cherry picked from commit 52da5f8934ccc482a58606309e44de51521ed9e2)
2018-12-11 13:58:53 +03:00
Alexey Ushakov
6b30858be0 JRE-202 Deadlock in CGLGraphicsConfig.getCGLConfigInfo
Added processing system events while waiting for OGLRenderQueue.lock

(cherry picked from commits
d29c858c8cfd4c74d381fe45fee48e3c1029053b,
6f8619b561e06784471ecd95839c65a8391749b9)
2018-12-11 13:58:53 +03:00
Alexey Ushakov
ab613b0f7e Revert "8148187: Remove OS X-specific com.apple.concurrent package"
This reverts commit 5c74a8df6855efd94fe4eb07b6c643ca6374b4eb.
Disable warnings as errors
2018-12-11 13:58:53 +03:00
Alexey Ushakov
99fe494c59 JRE-140 AWT hangs on component creation because of 2D activity on AppKit thread
Moved FontStrike disposal code to AppKit thread`

(cherry picked from commit 31710bf)
2018-12-11 13:58:53 +03:00
Vitaly Provodin
1ac5433cb8 updated JTreg exclude list 2018-12-11 06:45:38 +07:00
Vitaly Provodin
7326b13db1 updated JTreg exclude list 2018-12-10 15:24:53 +07:00
Alexey Ushakov
7262736e7e IDEA-148133 [IU-143.382] [MacOS] IDEA crashes regularly
Fixed native resource disposal problem by using ref counting

(cherry picked from commit 863b8e7)
(cherry picked from commit 69e76eb)
2018-12-07 19:12:44 +03:00
Vitaly Provodin
8669d9d28b JRE-467 added new regression test (Wrong rendering of variation sequences) follow up 2018-12-07 16:15:21 +07:00
Vitaly Provodin
c8f248a936 JRE-624 CThreading isAppKit() fails to detect main app thread if it was renamed 2018-12-07 16:13:09 +07:00
Vitaly Provodin
9ea664c299 JRE-741 added new regression test (Modal dialog stays above other process windows) 2018-12-07 16:10:37 +07:00
Vitaly Provodin
82cd480619 JRE-705 added new regression test (Z-order of child windows is broken on Mac OS) 2018-12-07 16:09:05 +07:00
Vitaly Provodin
4a14c6f15a JRE-638 added new regression test (enable unlimited cryptographic policy by default) 2018-12-07 16:08:14 +07:00
Vitaly Provodin
c4a1277c1b JRE-501 added new regression test (Live resize is jerky for heavy java applications on Mac) 2018-12-07 16:06:52 +07:00
Vitaly Provodin
1ce8c3ce82 JRE-468 added new regression test (Idea freezes on project loading) 2018-12-07 16:04:07 +07:00
Vitaly Provodin
0026095202 JRE-467 added new regression test (Wrong rendering of variation sequences) 2018-12-07 16:03:04 +07:00
Vitaly Provodin
82adbe9c25 JRE-458 added new regression test (Insufficient and inconsistent permissions on some files in Linux build) 2018-12-07 16:01:57 +07:00
Vitaly Provodin
3a43f4557f JRE-457 added new regression test (OGLTR_DisableGlyphModeState is slow) 2018-12-07 16:00:37 +07:00
Vitaly Provodin
d04debc847 JRE-430 added new regression test (Font fallback sometimes doesn't work in Swing text components) 2018-12-07 15:59:12 +07:00
Vitaly Provodin
37dc13c603 JRE-422 added new regression test (AWTView deliverJavaMouseEvent leaks jEvent) 2018-12-07 15:57:38 +07:00
Vitaly Provodin
cb4453b1d1 JRE-401 added regression test (AppCode freezes during autocomplete and other operations) 2018-12-07 15:55:58 +07:00
Alexey Ushakov
9d0157c362 JRE-394 backport JDK-8173654 Regression since 8u60 System getenv doesn't return env var 2018-12-07 15:51:15 +07:00
Vitaly Provodin
3a7b3c67b0 JRE-394 added regression test (System getenv doesn't return env var set in JNI code) 2018-12-07 15:47:01 +07:00
Vitaly Provodin
c7b0ac686f JRE-392 added regression (Tip of the day is not hidden while another modal window is shown) 2018-12-07 15:44:04 +07:00
Alexey Ushakov
15693661cc JRE-307 Wrong dpi reported on Wayland 2018-12-07 15:42:24 +07:00
Vitaly Provodin
1f4ad38d23 JRE-269 added regression (JLabel doesn't scale <code>text</code> HTML fragments.) 2018-12-07 15:35:27 +07:00
Vitaly Provodin
236bd38d1b JRE-186 added regression test (Modal dialogs (Messages) shouldn't popup IDEA when another application is active) 2018-12-07 15:30:18 +07:00
Vitaly Provodin
65e9ec3602 updated JTreg exclude list 2018-12-07 15:02:02 +07:00
Alexey Ushakov
5b523f049e JRE-43 Font.getFamily() does not work in headless mode
Bundled Droid fonts to fallback in headless mode
Added golden image tests for bundled fonts

Migrate ant based junit tests to gradle (JRE-462)
Migrate quality and performance tests
Corrected legacy xml file
Added cross platform test_jvm path into legacy xml file
Removed old jdk idea project

(cherry picked from commit 18f52ca)
(cherry picked from commit 6cd467b)
(cherry picked from commit b270e85)
(cherry picked from commit 0772bec)
(cherry picked from commit 7d00180)
(cherry picked from commit cce21af)
(cherry picked from commit 664b541)
(cherry picked from commit 9456e85)
(cherry picked from commit 239f521)
(cherry picked from commit c465ca9)
(cherry picked from commit 04caf3f)
(cherry picked from commit faddcec)
(cherry picked from commit ff37799)
(cherry picked from commit 4a10dd8)
2018-12-06 23:10:52 +03:00
Alexey Ushakov
0e0b0d13f9 JRE-769 Update jdk9 gradle project with new source layout in master9
Upgrade gradle wrapper and paths
2018-12-06 22:56:22 +03:00
Alexey Ushakov
fb2bbc47fe JRE-12 CCE: XRTextRenderer.drawGlyphList (sun.java2d.NullSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData)
Throwing InvalidPipeException for incompatible surfaces

(cherry picked from commit f98f34c)
2018-12-06 00:21:42 +03:00
Alexey Ushakov
2ac273a456 Added missing fontconfig defines 2018-12-06 00:21:40 +03:00
Alexey Ushakov
cec93cf1fd IDEA-166173 IntelliJ freezes when returning from sleep
Fixed deadlock by removing unnecessary getScreenResolution call
2018-12-06 00:21:38 +03:00
Alexey Ushakov
f3f2667a4c JRE-48 built-in jre renders fonts abnormally heavier (normal text looks bold) than the oracle jre
Disable FT_LOAD_TARGET_LIGHT for fonts with FC_AUTOHINT=false (this target implicitly enables  FC_AUTOHINT)
Reused setupLoadRenderFlags for all rendering cases
2018-12-05 17:20:09 +03:00
Alexey Ushakov
091d74a791 Added logging for freetypeScaler via env variable OPENJDK_LOG_FFS=yes
and for screen resolution in freetypeScaler
2018-12-05 17:20:09 +03:00
Alexey Ushakov
b1c49c3b27 JRE-34 IDE Crashes During Startup
Added validation of dpi settings coming from xserver
2018-12-05 17:20:09 +03:00
Alexey Ushakov
431e14429c JRE-29 fontconfig lib crashes CLion on OSX
Disabled fontconfig usage on OSX
2018-12-05 16:51:55 +03:00
Alexey Ushakov
f80497c4f0 JRE-15 Greyscale text is too dark comparing with subpixel AA
Adjusted default value for greyscale text rendering in freetype
2018-12-05 15:50:35 +03:00
Alexey Ushakov
44fcbdabf8 IDEA-155347 On Ubuntu with High DPI tooltip font is too thick when the tooltip is fading in and out
Handled missing FC_RGBA_NONE value
2018-12-05 15:50:35 +03:00
Alexey Ushakov
e6f0055704 IDEA-151619 CLion EAP fails to start with missing symbol: FT_Library_setLcdFilter
Skip FT_Library_setLcdFilter call if the symbol is not there
Cache negative FT_Library_setLcdFilter symbol lookup result
Used RTLD_DEFAULT handler for process symbols lookup
2018-12-05 15:50:35 +03:00
Alexey Ushakov
ad92fe9071 IDEA-151425 LCD text is incorrectly rendered when hinting is enabled
Override lcd loading flags with hinting ones
2018-12-05 15:50:35 +03:00
Alexey Ushakov
d93a5f1598 IDEA-149882 Issue with fonts in Ubuntu 12.04
Provided fallback to default font rendering settings if libfontconfig unable to
match font pattern
2018-12-05 15:50:35 +03:00
Denis Fokin
a3c220da70 pointer-sign warning is fixed 2018-12-05 13:20:38 +03:00
Alexey Ushakov
a62d8b2387 Added linux desktop build instructions 2018-12-04 23:08:23 +03:00
Alexey Ushakov
d1ed8ab118 Resolve merge compile problems on mac 2018-12-04 22:21:05 +03:00
Denis Fokin
cdea1cb75d The next warning broke the build
warning: [rawtypes] found raw type: FutureTask
2018-12-04 20:33:54 +03:00
Anton Tarasov
1019d8f0f2 fix JNI_OnUnload definition
(cherry picked from the commit  3571e39071)
2018-12-04 18:10:14 +03:00
Anton Tarasov
f3ccc53e02 JRE-981 IM workaround does not work anymore
forward port of 2d7c29b in JetBrains/jdk8u_jdk
2018-12-04 18:03:31 +03:00
Anton Tarasov
8d532d3f81 JRE-961 Windows size and position are not preserved on jdk 9 2018-12-04 18:03:09 +03:00
Anton Tarasov
6df193a2af JRE-956 Toolkit.getScreenInsets is not hidpi-aware 2018-12-04 18:02:47 +03:00
Anton Tarasov
ccfe65be7f JRE-938 [windows] Frame.setMaximizedBounds not hidpi-aware
(cherry picked from commit cc97899923320e1fa17f5e44975c4a0f0ba51014)
2018-12-04 18:02:26 +03:00
Anton Tarasov
e496262aa1 JRE-907 macOS: add ability to check for scaled display mode
(cherry picked from commit d38092bafd3d4150a7e372a43f5492b8a970f2f6)
2018-12-04 18:02:06 +03:00
Anton Tarasov
641a09dd52 JRE-934 Diff viewer errors are not visible on HiDPI Linux 2018-12-04 18:01:45 +03:00
Anton Tarasov
9279d80110 [jdk9] HiDPI scale is not detected on some linux desktops 2018-12-04 18:01:24 +03:00
Anton Tarasov
da3a816e50 JRE-580 [windows] low-res app icon on HiDPI displays
cherry-picked from b446cd4b by Anton Tarasov on 11/16/2017 at 4:16 PM
2018-12-04 18:01:03 +03:00
Anton Tarasov
277357ae73 Read org.gnome.desktop.interface/scaling-factor 2018-12-04 18:00:41 +03:00
Anton Tarasov
6fb2c36529 Do not scale base font in HiDPI mode on Linux 2018-12-04 18:00:20 +03:00
Anton Tarasov
34234263fb Allow HiDPI mode on Linux 2018-12-04 18:00:00 +03:00
Anton Tarasov
6dc45410b0 JRE-876 add mouse listeners to WWindowPeer.preprocessPostEvent
(cherry picked from commit 8d6043409736a10a62e3967f4a25f379c9a36f58)
2018-12-04 17:59:38 +03:00
Anton Tarasov
2bf5a7ca5c JRE-772 swing returns incorrect FRC when AA is off
(cherry picked from commit a161897d908aa10da6306c06452c5d6317fed2f0)
2018-12-04 17:59:15 +03:00
Anton Tarasov
35571ba1ad JRE-765 [win] window dragged to another display is not resized
(cherry picked from commit 07b27f77225fa52318ec9b2ae4819e30ef4c7c4f)
2018-12-04 17:58:53 +03:00
Anton Tarasov
cdd3529046 JRE-742 [windows] IME candidate window position is wrong on HiDPI displa
(cherry picked from commit 01e7954dec63386bcfadd49e1ffbf1523ca5870b)
2018-12-04 17:58:32 +03:00
Anton Tarasov
ba22b31a49 JRE-729 [windows] unreasonable IME activity consumes CPU
(cherry picked from commit c3040dd1fe1bf6c03c746c76f685629fd0a8e670)
2018-12-04 17:58:11 +03:00
Anton Tarasov
e2d1655703 JRE-711 Horizontal grey lines appear in every window in IntelliJ Idea
(cherry picked from commit 62000130d86e5831d81cfb24659386c6930f84cf)
2018-12-04 17:57:49 +03:00
Anton Tarasov
6ea1d45fd1 JRE-681 [windows] direct drawing into frame graphics may have wrong translate
(cherry picked from commit ab6dee4c1fc453ad3cb5adb69fc243e550d184ae)
2018-12-04 17:57:28 +03:00
Anton Tarasov
6ce31e0a32 JRE-665 Navigate Class/File/Symbol, Find in Path popup windows don't pick characters from input method
(cherry picked from commit 676f305b2b3b278e305bd4d9bde4269f27b3d676)
2018-12-04 17:57:07 +03:00
Anton Tarasov
864999209d JRE-660 [windows] display DPI change damages UI
(cherry picked from commit 71b8b564798087a821fd4b3bd13bca4d0ccd5644)
2018-12-04 17:56:46 +03:00
Anton Tarasov
8c56d9389a Disable: 8175293: Window size is not updated after setting location to display with different DPI
Replaced with JRE-119
2018-12-04 17:56:24 +03:00
Anton Tarasov
0b2bdf3c49 Disable: 8147440: HiDPI (Windows) Swing components have incorrect sizes after changing display resolution
Replaced with JRE-660
2018-12-04 17:56:02 +03:00
Anton Tarasov
48c9ea3f09 JRE-590 Can't run 32 bit version on Windows
Check against Windows x86 as well.

(cherry picked from commit d176d90259163d0e0211e839af1634cb6f2cf436)
2018-12-04 17:55:39 +03:00
Anton Tarasov
6246abc72f JRE-616 [linux] notify when dpi correction factor is applied to fonts
(cherry picked from commit f57d41f3118bfd773c99ce32d58cfae16931be6a)
2018-12-04 17:55:16 +03:00
Anton Tarasov
38466cbab0 JRE-612 [windows] icon in frame title is not dpi-aware
(cherry picked from commit dec04385177a2abb677add909d3b94f94c62a14e)
2018-12-04 17:54:54 +03:00
Anton Tarasov
ef2870ee38 JRE-604 [fps] frame's client area is one pixel beneath frame's borders
(cherry picked from commit 511e237eacaaf2fa03336807269463438a9394ee)
2018-12-04 17:54:31 +03:00
Anton Tarasov
c5cc28d85d JRE-596 [windows] popup positioning is broken with JRE-573
(cherry picked from commit 79154b119a9bc6933281f3d203ddef67139b5ed0)
2018-12-04 17:54:10 +03:00
Anton Tarasov
9ea2011948 JRE-577 Goland 18 displays out of memory
(cherry picked from commit 2daaf21e420d4af15d3b1bfeb3f896074bea1e61)
2018-12-04 17:53:47 +03:00
Anton Tarasov
0651b45e13 JRE-573 [windows] window client area bounds mismatch
(cherry picked from commit afa68f7ad6440303c6417be3f675b1c4644b6014)
2018-12-04 17:53:25 +03:00
Anton Tarasov
5e183c397b JRE-489 -Dswing.bufferPerWindow is fractional scale unfriendly 2018-12-04 17:53:04 +03:00
Anton Tarasov
deeda6fada JRE-310 check for Windows8.1 when enabling ui scale
Was "don't fallback on fractional scale" in JBSDK9.

(cherry picked from commit 263d8641974d263075c93f11c4db6208754d7325)
2018-12-04 17:52:42 +03:00
Anton Tarasov
4f46d6ba2c JRE-431 [windows] Scale the title of toplevel in per-monitor-dpi mode
(cherry picked from commit 63dce3011fb85bc3922cf655e59e49c3f559cf6a)
2018-12-04 17:52:21 +03:00
Anton Tarasov
b965f85c1b JRE-382 Three AWT-tests become hanging starting since master-875
(cherry picked from commit 7d492101db8fcbb3d285fd8e9669f74b0e0fce8f)
2018-12-04 17:51:59 +03:00
Anton Tarasov
aa09fa2c85 JRE-373 [macos] nativeCreateNSWindow deadlocks with a11y
(cherry picked from commit 72c77a992bbf1b95b82ffc08cb2f4f3bc36b3657)
2018-12-04 17:51:38 +03:00
Anton Tarasov
11a0911d65 IDEA-172422 Popup at the wrong place on the second monitor (new hidpi)
(cherry picked from commit 58ee72943d54d119ca4319f5fdc60e8f4945ad19)
2018-12-04 17:51:16 +03:00
Anton Tarasov
985908cf10 JRE-309 [windows] on-screen position of a component is not pixel-perfect in user space in JRE-HiDPI mode
(cherry picked from commit 6084872b6c59aea4c8e5adc0962ddbf3ff00f6bc)
2018-12-04 17:50:54 +03:00
Anton Tarasov
c17bc728ee JRE-269 JLabel doesn't scale <code>text</code> HTML fragments.
(cherry picked from commit 9ef72b6c3a477e4225f9b98e30fa9190613520e4)
2018-12-04 17:50:30 +03:00
Anton Tarasov
4851fdea0a JRE-249 Icons in Messages are huge on Retina
(cherry picked from commit 4d3fa914ee71c13d9c94788bca2c877d1e2ce2c6)
2018-12-04 17:50:08 +03:00
Anton Tarasov
aeea6c1ca3 JRE-225 [macos] IDEA hangs on attempt to call getDefaultScreenDevice() from EDT
(cherry picked from commit 76aba25)

(cherry picked from commit df11dcc97bb5556ac5d0299b773a512b4f0bb5bb)
2018-12-04 17:49:46 +03:00
Anton Tarasov
adb3a4be16 JRE-210 JEditorPane may return wrong preferred size as it moves b/w monitors of different scale
(cherry picked from commit 6c3087e6bda32ae9b095e069d8bea614502f5c03)
2018-12-04 17:49:22 +03:00
Anton Tarasov
b95ae60bc0 IDEA-166659 Settings: Intentions are empty and NullPointerException appears
(cherry picked from commit c77ac9e5f1299e821f242ae1832531ccda1141f8)
2018-12-04 17:48:56 +03:00
Anton Tarasov
cba1501d3e IDEA-162187 [macOS] app icon is low-res after a badge is drawn on it
(cherry picked from commit c7fe3985b9410652b8fa55dbda3bbc193b2b690c)
2018-12-04 17:48:33 +03:00
Anton Tarasov
7e250841df JRE-153 [hidpi] monitors bounds can overlap in multi-dpi env
(cherry picked from commit 5d3f454b4209d4b8271020c92a13daca2012e6f4)
2018-12-04 17:48:10 +03:00
Anton Tarasov
cec49aaa38 JRE-119 [suppress updateGC() for WFileDialogPeer/WPrintDialogPeer]
updateGC() is called from WWindowPeer.<init> though it's not applicable to the named dialogs
as they don't have native AwtWindow peer required for the method.

(cherry picked from commit 72ed9f653177e273b811cfe70c2dba102a8636e4)
2018-12-04 17:47:47 +03:00
Anton Tarasov
7d1d43bfa1 JRE-119 [use default "sun.java2d.dpiaware=true" to be dpi-aware on Window 7]
This lets awt_Win32GraphicsEnv.cpp SetProcessDPIAwareProperty() call Win7 specific ::SetProcessDPIAware() API func.

(cherry picked from commit 5e7a766090810d839f4352d06fc2812499d766f8)
2018-12-04 17:47:24 +03:00
Anton Tarasov
60be76b725 JRE-119 [Dynamically set DPI-awareness level to enable backward compatible HiDPI behavior]
(cherry picked from commit d00cfa4dc62a14a4cf89df9d4c4899970c9fc9e8)

Adopted
2018-12-04 17:47:01 +03:00
Anton Tarasov
c044245410 JRE-119 [Mind device scale when changing window native bounds]
- New location should be scaled according to the device containing the location, not current.
- Size should be reset once the window is repositioned, based on the device it probably moved to.
- Rollback previous related changes in Popup/Window.

(cherry picked from commit 6002330050b048ff240ad3400a86812634217ca6)
2018-12-04 17:46:38 +03:00
Anton Tarasov
20edebdefa JRE-119 [ask if ui scale is enabled natively]
(cherry picked from commit 801f45875fd8699edcbda5896210cec191062261)
2018-12-04 17:46:17 +03:00
Anton Tarasov
ca32a66f85 JRE-119 [Fix getCursorPos() to work in env with scale]
(cherry picked from commit cbcfb72202125cd9bab5d25e4f06b5ba3f684482)
2018-12-04 17:45:56 +03:00
Anton Tarasov
dbc9f3cf91 JRE-119 [Add SwingUtilities2.scalePoint method to translate b/w different scales]
The method is used for popup window location settings.

(cherry picked from commit a7f295f8bc8aaa5bee4bedf1369aefd19152fcf5)
2018-12-04 17:45:36 +03:00
Anton Tarasov
aef17f16be JRE-119 [Handle WM_DPICHANGED with appropriate re-size]
Following MSDN on the subj.

(cherry picked from commit a6b847a1ba9b8512507d8c600778fc5cd709ea04)
2018-12-04 17:45:16 +03:00
Anton Tarasov
fd615a5b45 IDEA-153474 let JDK detect Xft.dpi value on non-GTK Linux DEs
Use the GTK method:

https://developer.gnome.org/gobject/stable/gobject-The-Base-Object-Type.html#g-object-get

to retrieve "gtk-xft-dpi" integer property of the X settings.

Add the property to JDK's GtkEngine & gtk2-interface.
Then read the property via GtkEngine from GTK LaF when "gnome.Xft/dpi" is undefined. It's assumed GTK LaF is forcedly installed.

(cherry picked from commit e05fc391ae0a3cc389e836441f882c0cf6ab3b99)
2018-12-04 17:44:56 +03:00
Anton Tarasov
b8f4b4a9ed IDEA-148854: AppCode crashes randomly every 15 mins or so
(cherry picked from commit 02f9a5fbb4924ff67c8a04c15e490acfcc750003)
2018-12-04 17:44:36 +03:00
Anton Tarasov
8a44e1bb37 JRE-166 [macOS] deadlock with JFXPanel
(cherry picked from commit a9dbb6990fac0c659297487a261ba9170e5fb3ad)
2018-12-04 17:44:16 +03:00
Anton Tarasov
5faebc73d5 IDEA-152524 can't compile fontconfig changes on Windows
(cherry picked from commit 4c8351fecf)
2018-12-04 17:43:56 +03:00
Alexey Ushakov
771ddf16ad Fixed src paths in gradle project 2018-12-03 14:24:54 +03:00
Alexey Ushakov
0456745afb IDEA-57233 Editor font antialising/appearance problems on Linux
Used desktop DPI instead of hard-coded 72
Compensated increased glyph bitmap size by adjusting font size
Added LCD filter for sub-pixel rendering
Use fontconfig library to provide right rendering options for fonts
Corrected sizes passed to fontconfig library and hinting disabling policy
Added logging and versioned fontconfig lib loading
Resolved font rendering problem in lenses
2018-12-03 14:24:54 +03:00
Egor Ushakov
9b4b3fb698 JRE-1061 .attach_pid files in the working dir 2018-11-30 18:49:31 +03:00
Egor Ushakov
1d32ff4742 JRE-1007 Read exception details in jdwp error packets 2018-11-30 18:44:21 +03:00
Alexey Ushakov
a75dc73f88 Added docker build and instructions 2018-11-30 13:41:43 +03:00
Alexey Ushakov
6f825670bb Added gradle project 2018-11-30 12:44:59 +03:00
Denis Fokin
2a92eec59d Revert: 8158325: [macosx] Memory leak in com.apple.laf.ScreenMenu
Reviewed-by: azvegint, alexsch
Contributed-by: Robin Stevens <robin.stevens@scz.be> (8d565d7b)
2018-11-29 12:18:15 +03:00
Denis Fokin
34d91c979d IDEA-166443 Mac OS: Delete action deletes twice if Edit menu has be opened before
(cherry picked from commit dd1fdebfd5)
2018-11-28 17:12:35 +03:00
Denis Fokin
ccf0176c32 Always open folders and files with NSOpenPanel 2018-11-27 19:58:33 +03:00
Denis Fokin
8fd21b3746 New (CFRetainedResource) memory management approach to access window ptr. 2018-11-27 19:58:32 +03:00
Denis Fokin
b71d92478d JRE-199 WebStorm hangs on open macOS file chooser
(cherry picked from commit f7dabd722464b1ec4c4df2e296ded622873c08e9)
2018-11-27 19:58:30 +03:00
Denis Fokin
f1bb150edb IDEA-165501 macOS native file chooser: VCS -> Apply Patch — All files are disabled
(cherry picked from commit eb86901216db840ac83bc137a11a4af2a2ea0019)
2018-11-27 19:58:29 +03:00
Denis Fokin
1d7ed0ff75 JRE-131 Native dialog hang
(cherry picked from commit 11d96947bfa13799481fb90dc87b4bd0ab1b2006)
2018-11-27 19:58:27 +03:00
Denis Fokin
0a92b01c17 JRE-129 IDE hangs on trying to change path in Run/Debug configuration which became invalid (changed in file system)
(cherry picked from commit 9e221546a75f028217ba5bcbbc0e2a8bcbee39f9)
2018-11-27 19:58:26 +03:00
Denis Fokin
3e4fa31780 IDEA-159507 Mac native dialogs: multiple open dialogs are possible
(cherry picked from commit 5a7d29940957a8acbaac5dbb651e6d1d970b7a05)
2018-11-27 19:58:24 +03:00
Alexey Ushakov
ef104967bf IDEA-157086 Change JVM vendor string to mention Jetbrains instead of Oracle
Replaced Oracle vendor string

(cherry picked from commit 86e0a8276306945a1ed6aee23076c1734483f6d6)
2018-11-27 19:29:08 +03:00
Denis Fokin
70e7eb9b95 IDEA-146669 Enable Mac native file dialogs
(cherry picked from commit 2843de1556c161521d9663344290e8cc71e7d70b)
2018-11-27 19:22:08 +03:00
Denis Fokin
0226ce81da Better backward compatible com.apple.eawt library 2018-11-27 17:46:45 +03:00
Denis Fokin
689f55d8c9 Better backward compatible com.apple.eawt library 2018-11-26 20:52:07 +03:00
Denis Fokin
362b676929 com.apple.eawt has been renamed since the latest Java 9 builds
The implementation is in the Desktop class now
See http://openjdk.java.net/jeps/272

To avoid Idea workarounds I am bringing back the classes.

This change must be removed as soon as we migrate to the Desktop API
2018-11-22 21:02:20 +03:00
apetcher
49262f2949 8213202: Possible race condition in TLS 1.3 session resumption
Reviewed-by: jnimeh
2018-11-21 15:06:13 -05:00
jnimeh
10ecf7e128 8212885: TLS 1.3 resumed session does not retain peer certificate chain
Reviewed-by: xuelei, wetmore
2018-11-13 18:22:52 -08:00
stuefe
d1074728a6 8212173: Thread._stack_base/_stack_size initialized too late for new threads
Reviewed-by: dholmes, simonis
2019-01-30 14:08:21 +01:00
coffeys
c7f7e2f151 8216546: Support new Japanese era in java.lang.Character for Java SE 11
Reviewed-by: chegar, naoto, rriggs, coffeys
Contributed-by: deepak.kejriwal@oracle.com
2019-01-29 12:00:35 +00:00
coffeys
7d363d79d0 8212941: Support new Japanese era in java.time.chrono.JapaneseEra
Reviewed-by: chegar, naoto, coffeys
Contributed-by: deepak.kejriwal@oracle.com
2019-01-29 11:58:34 +00:00
sherman
198c9bb4ab 8034802: (zipfs) newFileSystem throws UOE when the zip file is located in a custom file system
Reviewed-by: xiaofeya, clanger
2018-09-18 10:43:01 -07:00
ngasson
a0cda76c21 8217427: (dc) nio/channels/DatagramChannel/UseDGWithIPv6.java fails without IPv6
Reviewed-by: alanb, clanger
2019-01-22 10:25:22 +08:00
clanger
4b336df04e 8217657: Move the test for default value of jdk.includeInExceptions into own test
Reviewed-by: mullan, goetz
2019-01-25 10:59:07 +00:00
tonyp
69c61ab949 8207849: Allow the addition of more number to the Java version string
Reviewed-by: erikj
2018-07-23 11:38:28 -04:00
phh
cd41084251 8217520: Remove vm.opt.MaxGCPauseMillis == "null" from TestOldGenCollectionUsage.java
Summary: Remove the corresponding @requires line
Reviewed-by: tschatzl
2019-01-28 07:58:28 -08:00
afarley
51ec95af88 8214063: OpenJDK will not build on AIX while using the xlc 13.1 compiler
Reviewed-by: simonis, erikj, ihse, stuefe, mbaesken
2018-12-04 09:08:03 +01:00
xuelei
ba17db73bd 8210974: No extensions debug log for ClientHello
Reviewed-by: jnimeh, wetmore
2018-09-20 14:19:53 -07:00
kvn
d5462c2cef 8215317: [GRAAL] unit test CheckGraalIntrinsics failed after 8213754
Summary: Fix CheckGraalIntrinsics test for new intrinsics.
Reviewed-by: iveresov, never
2019-01-18 11:55:07 -02:00
mhorie
423dcfc970 8213754: PPC64: Add Intrinsics for isDigit/isLowerCase/isUpperCase/isWhitespace
Reviewed-by: kvn, rriggs, mdoerr, gromero
2019-01-18 08:31:09 -05:00
mdoerr
bedc8520dd 8216060: [PPC64] Vector CRC implementation should be used by interpreter and be faster for short arrays
Reviewed-by: gromero, goetz
2019-01-21 09:44:27 +01:00
gromero
16d1b94f94 8214451: PPC64/s390: Clean up unused CRC32 prototype and function
Reviewed-by: mdoerr, lucy
2018-11-28 13:16:54 -05:00
mdoerr
3cf28effe1 8214352: C1: Unnecessary "compilation bailout: block join failed" with JVMTI
Summary: Invalidate Phi functions for conflicting types and avoid bailout.
Reviewed-by: kvn, iveresov
2018-12-14 09:59:08 +01:00
mbaesken
5a5e15e18b 8215962: Support ThreadPriorityPolicy mode 1 for non-root users on linux/bsd
Reviewed-by: dcubed, dholmes
2019-01-04 17:46:56 +01:00
robm
7dba01e79f Merge 2019-01-21 08:36:31 -08:00
robm
eccdb1f14f Added tag jdk-11.0.2-ga for changeset 144d476b6efe 2019-01-21 08:18:06 -08:00
diazhou
5b8962ed96 Added tag jdk-11.0.2+9 for changeset 144d476b6efe 2019-01-18 01:52:10 -08:00
diazhou
66b73f466c Added tag jdk-11.0.2+8 for changeset fe85e2f43a1c 2019-01-17 20:23:48 -08:00
robm
c28542a8e6 8217247: JAVA_VERSION_DATE="2018-10-16" even though release was 2019-01-15
Reviewed-by: coffeys
2019-01-16 09:59:21 -08:00
robm
e89d10dd59 Added tag jdk-11.0.2-ga for changeset a01e0cc01059 2019-01-15 11:17:23 -08:00
diazhou
0ee4e09146 Added tag jdk-11.0.2+7 for changeset a01e0cc01059 2018-12-12 07:07:41 +00:00
jdv
2d46b53d62 8212116: IIOException "tEXt chunk length is not proper" on opening png file
Reviewed-by: serb
2018-11-14 01:29:34 +05:30
diazhou
617403d4e7 Added tag jdk-11.0.2+6 for changeset c6fd7ff3e96f 2018-12-06 08:20:16 +00:00
ssahoo
c3321dba9d 8203688: [testbug] Nashorn test test/nashorn/script/nosecurity/treeapi/diagnostic.js fails
Summary: Updating the expected output for diagnostic.js to its correct value
Reviewed-by: jlaskey, sundar
Contributed-by: thejasvi.v.voniadka@oracle.com
2018-11-27 22:45:28 -08:00
clanger
3c21dc3870 8211218: remove double semicolon in src/java.desktop/macosx/classes/sun/font/CFont.java
Reviewed-by: serb
2018-09-28 06:39:52 +01:00
sgehwolf
0659a3ec70 8216559: [JFR] Native libraries not correctly parsed from /proc/self/maps
Summary: Use %7s for the dev scan format as major:minor may be up to that length
Reviewed-by: mgronlun, jwilhelm
2019-01-11 13:34:57 +01:00
ysuenaga
28275f307a 8216486: Possibility of integer overflow in JfrThreadSampler::run()
Reviewed-by: rehn, sgehwolf
2019-01-11 23:32:52 +09:00
mdoerr
238d3c2619 8216376: [PPC64] Possibly unreliable stack frame resizing in template interpreter
Reviewed-by: goetz, gromero
2019-01-11 11:02:00 +01:00
shade
caef3c06eb 8215724: Epsilon: ArrayStoreExceptionTest.java fails; missing arraycopy check
Reviewed-by: eosterlund, lkorinth
2019-01-09 15:53:56 +01:00
mhorie
f0aa9f2afe 8214205: PPC64: Add instructions for counting trailing zeros
Reviewed-by: mdoerr, gromero
2018-11-22 21:43:37 -05:00
mbaesken
61337e6324 8211326: add OS user related information to hs_err file
Reviewed-by: dholmes, stuefe
2018-11-15 17:08:59 +01:00
stuefe
7fd80ed6e7 8211845: A new switch to control verbosity of hs-err files
Reviewed-by: goetz, mdoerr
2018-11-08 16:23:55 +01:00
robm
66df7657db Merge 2019-01-15 11:22:27 -08:00
robm
5f26901bb2 Merge 2019-01-15 11:20:10 -08:00
robm
82d5dccb9c Merge 2019-01-15 05:21:24 -08:00
stuefe
f100a29359 8216982: Assertion poison page established too early
Reviewed-by: mdoerr, dholmes
2019-01-15 08:03:30 +01:00
sgehwolf
457ba2c868 8214061: Buffer written into itself
Summary: Actually write the msg text into the buffer.
Reviewed-by: dcubed, sgehwolf, sspitsyn
Contributed-by: Simon Tooke <stooke@redhat.com>
2018-12-04 17:54:13 +01:00
sgehwolf
706e78a8ae 8214105: [TESTBUG] Bit test is always false in serviceability/jvmti/StartPhase/AllowedFunctions
Reviewed-by: dcubed, dholmes, jcbeyler, gadams, sspitsyn
Contributed-by: Simon Tooke <stooke@redhat.com>
2018-11-22 10:11:58 +01:00
sgehwolf
96e0fece75 8214108: [TESTBUG] Incorrect Function parameter lists in vmTestbase/nsk/jvmti/scenarios/extension/EX03/ex03t001
Reviewed-by: gadams, sspitsyn
Contributed-by: Simon Tooke <stooke@redhat.com>
2019-01-14 17:22:55 +01:00
sviswanathan
cb6bcb8a7c 8216290: Register to register spill may use AVX 512 move instruction on unsupported platform.
Reviewed-by: vlivanov, thartmann
2019-01-11 12:00:27 -08:00
gromero
967487ae6b 8212481: PPC64: Enable POWER9 CPU detection
Reviewed-by: mdoerr, simonis
2018-10-16 16:26:28 -04:00
goetz
a3dd16bdc6 8215975: [testbug] Adapt nsk tests to the PPC, S390 and AIX platforms.
Summary: Use LIBPATH on AIX, no shared memory connector on any Unix.
Reviewed-by: gadams, simonis, sspitsyn
2018-12-31 14:38:16 +01:00
bulasevich
ff218db768 8206107: [x86_32] jck tests for ldc2_w bytecode fail
Reviewed-by: dsamersoff
2018-12-25 18:35:42 +03:00
clanger
1cafa0cc6b 8214892: Delayed starting of debugging via jcmd
Reviewed-by: cjplummer, clanger
Contributed-by: ralf.schmelter@sap.com
2018-12-12 11:34:08 +00:00
bulasevich
fb73f2b80c 8215637: client VM variant build error: zgc (enabled) depends on opto (disabled)
Reviewed-by: robm, pliden
2018-12-25 18:20:00 +03:00
roland
f345db0f21 8211451: ~2.5% regression on compression benchmark starting with 12-b11
Reviewed-by: kvn, thartmann
2018-11-08 10:20:04 +01:00
xyin
a57362ee46 8210695: Create test to cover JDK-8205330 InitialDirContext ctor sometimes throws NPE if the server has sent a disconnection
Reviewed-by: vtewari, dfuchs, chegar
2018-09-17 13:49:55 +08:00
vtewari
ce8e8d0015 8205330: InitialDirContext ctor sometimes throws NPE if the server has sent a disconnection
Reviewed-by: chegar, dfuchs
2018-09-11 17:48:24 +05:30
diazhou
4f59895a8f Added tag jdk-11.0.2+5 for changeset ff1f7723c4e8 2018-11-28 05:22:57 +00:00
coffeys
2b237bcff8 8214295: Populate handlers while holding streamHandlerLock
Reviewed-by: chegar
2018-11-27 11:09:53 +00:00
coffeys
d83ca9aa51 8213942: URLStreamHandler initialization race
Reviewed-by: alanb, chegar, prappo
2018-11-21 15:09:27 +00:00
roland
0b8ff29a39 8209544: AES encrypt performance regression in jdk11b11
Reviewed-by: kvn, vlivanov
2018-09-06 16:27:07 +02:00
mbalao
fb5b270c4a 8213154: Update copyright headers of files in src tree that are missing Classpath exception
Reviewed-by: andrew
2018-11-08 18:10:15 -03:00
mikael
d2874c082f 8210912: Build error in src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_convert.c after JDK-8029661
Reviewed-by: mullan
2018-09-19 09:24:40 -07:00
mbalao
d7183d35bd 8029661: Support TLS v1.2 algorithm in SunPKCS11 provider
Summary: TLS v1.2 algorithms for key and MAC derivation added to SunPKCS11 crypto provider.
Reviewed-by: valeriep
2018-09-12 13:09:51 +02:00
xuelei
2975f3b40d 8209965: The "supported_groups" extension in ServerHellos
Reviewed-by: ascarpino
2018-08-27 09:46:24 -07:00
rhalade
ccd16314a1 8207059: Update test certificates in QuoVadisCA.java test
Reviewed-by: mullan, mbaesken
2018-10-31 13:58:15 -07:00
rpatil
6801590dba 8213085: (tz) Upgrade time-zone data to tzdata2018g
Reviewed-by: martin, naoto
2018-11-01 12:43:21 -04:00
diazhou
8c25fd56c8 Added tag jdk-11.0.2+4 for changeset 0db90dec8c39 2018-11-14 07:35:57 +00:00
mullan
3b09ee6202 8211883: Disable anon and NULL cipher suites
Reviewed-by: jnimeh
2018-10-25 13:55:28 -04:00
ljiang
f3b2fb98d0 8213367: JDK 11.0.2 l10n resource file update
Reviewed-by: coffeys
2018-11-07 18:45:43 -08:00
diazhou
30aaeb8f6b 8213763: Need change jdk 11.0.2 milestone to fcs
Reviewed-by: erikj, tbell
2018-11-13 02:35:06 +00:00
diazhou
efbfb194a2 Added tag jdk-11.0.2+3 for changeset 8a8606a3bdf2 2018-11-07 09:29:14 +00:00
diazhou
fbe3d13f92 Added tag jdk-11.0.2+2 for changeset b4b16f510f48 2018-10-31 02:13:49 +00:00
robm
13fb0a0a90 Merge 2018-10-29 05:55:32 -07:00
diazhou
abce6eb5b4 8212645: Need change jdk 11.0.2 milestone to ea
Reviewed-by: erikj, tbell
2018-10-23 04:19:01 +00:00
robm
90e9e74c7d Merge 2018-10-22 08:58:03 -07:00
michaelm
a71b39711d 8203850: java.net.http HTTP client should allow specifying Origin and Referer headers
Reviewed-by: chegar, dfuchs
2018-10-22 11:42:43 +01:00
diazhou
dc78f14e5c Added tag jdk-11.0.2+1 for changeset 2be95a1bf508 2018-10-18 05:40:14 +00:00
robm
b1cd1e6efb 8212613: Bump update version for jdk11.0.2 cpu forest
Reviewed-by: coffeys
2018-10-17 09:30:08 -07:00
mdoerr
aaacdefc62 8211852: inspect stack during error reporting
Reviewed-by: dholmes, goetz
2018-10-15 08:08:02 +02:00
jwilhelm
a7637cfbe7 8199552: Update to build scripts
Reviewed-by: jwilhelm
Contributed-by: magnus.ihse.bursie@oracle.com
2018-09-13 01:49:48 +02:00
robm
9053faed85 Merge 2018-10-15 08:54:47 -07:00
robm
29141d043c Merge 2018-10-15 08:47:11 -07:00
igerasim
9786117fda 8210870: Libsunmscapi improved interactions
Reviewed-by: valeriep, mschoene, rhalade
2018-10-08 23:05:34 -07:00
prr
2e48404128 8210866: Improve JPEG processing
Reviewed-by: serb, psadhukhan, rhalade
2018-10-08 13:11:20 -07:00
diazhou
46960fd7cf Added tag jdk-11.0.1+13 for changeset 8513ac27b651 2018-10-06 09:00:29 -07:00
bchristi
b34e7cfa89 8211731: Reconsider default option for ClassPathURLCheck change done in JDK-8195874
Reviewed-by: alanb, mchung
2018-10-05 15:05:45 -07:00
prr
bdf8e4a4fa 8210606: Improved data set handling
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2018-10-05 11:35:56 -07:00
igerasim
ec272b5d47 8209094: Improve web server connections
Reviewed-by: chegar, dfuchs, mschoene, igerasim
2018-10-05 18:25:37 -07:00
igerasim
0a55044838 8210610: Improved LSA authentication
Reviewed-by: valeriep, mschoene, rhalade
2018-10-05 18:19:19 -07:00
bchristi
8c0d367821 8211731: Reconsider default option for ClassPathURLCheck change done in JDK-8195874
Reviewed-by: alanb, mchung
2018-10-05 15:05:45 -07:00
diazhou
bfee75fe1c Added tag jdk-11.0.1+12 for changeset c0431cf9c38e 2018-10-04 02:19:13 -07:00
pkoppula
7852bb0071 Merge 2018-10-03 13:58:18 +05:30
igerasim
6e35a0c8df 8200659: Improve BigDecimal support
Reviewed-by: darcy, rhalade, mschoene
2018-10-02 21:43:30 -07:00
pkoppula
c2e4b01938 8211107: LDAPS communication failure with jdk 1.8.0_181
Reviewed-by: chegar, coffeys, vtewari
2018-10-02 21:38:54 +05:30
pkoppula
61a14f2f38 8211107: LDAPS communication failure with jdk 1.8.0_181
Reviewed-by: chegar, coffeys, vtewari
2018-10-02 21:38:54 +05:30
igerasim
4b05106209 8206290: Better FileChannel transfer performance
Reviewed-by: alanb, rhalade, mschoene
2018-09-28 18:05:47 -07:00
sballal
2fafa7b0d3 8207745: serviceability/sa/TestJmapCore.java times out parsing a 4GB hprof file
Reviewed-by: dholmes, jgeorge
2018-09-28 14:31:58 +05:30
goetz
1a38a42322 8211856: [ppc, s390] ProblemList some failing tests.
Reviewed-by: kvn, mdoerr
2018-10-09 16:03:56 +02:00
lbourges
8a3f606f56 8210335: Clipping problems with complex affine transforms: negative scaling factors or small scaling factors
Summary: fixed clipping rectangle to take into account the inverse transform (scale/shear)
Reviewed-by: prr, serb
2018-10-13 14:18:27 +02:00
prr
dade60074f 8208595: [parfait] Better X11 font support
Reviewed-by: serb, psadhukhan
2018-10-12 17:02:21 -07:00
prr
58b7e57325 7017058: Malayalam glyph substitution is failing for Malayalam with Windows Kartika font.
8191130: Sinhala text rendering problem with C+VIRAMA+ZWJ+RA/YA+V
8195836: opentype:Bengali: "Khanda Ta" shaping issue with U+09A4 TA, U+09CD virama, U+200D ZWJ
Reviewed-by: serb, psadhukhan
2018-10-12 11:53:56 -07:00
weijun
e48a796b11 8210736: jdk/javax/xml/crypto/dsig/GenerationTests.java slow on linux
Reviewed-by: alanb
2018-10-12 16:46:08 +01:00
henryjen
8667cd337c 8210810: Escaped character at specific position in argument file is not handled properly
Reviewed-by: alanb
Contributed-by: Bo Zhang <zhangbodut@gmail.com>
2018-09-28 13:15:01 -07:00
psadhukhan
8c362ebfac 8191178: [macos] Problem with input of yen symbol
Reviewed-by: dmarkov, mhalder
2018-10-12 19:45:47 +05:30
ghaug
d06b664934 8211768: [s390] Implement JFR profiling
Reviewed-by: simonis, mdoerr
2018-10-09 15:06:27 +02:00
serb
383bda6e13 8210598: Strengthen Windows Access Bridge Support
Reviewed-by: prr, psadhukhan, rhalade, mschoene
2018-09-27 12:54:50 -07:00
diazhou
939ed14890 Added tag jdk-11.0.1+11 for changeset 0343f9aacae2 2018-09-27 03:22:35 -07:00
jnimeh
302c233dd6 8210846: TLSv.1.3 interop problems with OpenSSL 1.1.1 when used on the client side with mutual auth
Reviewed-by: xuelei
2018-09-21 17:17:56 -07:00
jnimeh
07b31a9dfa 8210846: TLSv.1.3 interop problems with OpenSSL 1.1.1 when used on the client side with mutual auth
Reviewed-by: xuelei
2018-09-21 17:17:56 -07:00
jnimeh
5501009055 8209916: NPE in SupportedGroupsExtension
Reviewed-by: xuelei
2018-09-21 17:13:47 -07:00
jnimeh
2cd52e48c9 8209916: NPE in SupportedGroupsExtension
Reviewed-by: xuelei
2018-09-21 17:13:47 -07:00
robm
addaa1b9d4 Merge 2018-09-17 23:25:20 -07:00
diazhou
40682fda86 Added tag jdk-11.0.1+10 for changeset a86e14193fc8 2018-09-11 23:54:15 -07:00
coleenp
f09f44fe8f 8210094: Better loading of classloader classes
Reviewed-by: acorn, hseigel, ahgross, rhalade
2018-09-11 14:38:37 -04:00
sherman
dd224c1d40 8210345: The Japanese message of FileNotFoundException garbled
Reviewed-by: alanb
2018-09-07 10:17:49 -07:00
rhalade
a6ee08fc25 8210432: Add additional TeliaSonera root certificate
Reviewed-by: mullan
2018-09-09 08:12:46 +05:30
sherman
d3c1913a2c 8210345: The Japanese message of FileNotFoundException garbled
Reviewed-by: alanb
2018-09-07 10:17:49 -07:00
rhalade
90a9f06cf5 8210432: Add additional TeliaSonera root certificate
Reviewed-by: mullan
2018-09-09 08:12:46 +05:30
diazhou
1758532023 Added tag jdk-11.0.1+9 for changeset adb9933aa8c6 2018-09-04 19:39:43 -07:00
robm
66d3463d9e Merge 2018-09-04 08:57:58 -07:00
shade
7b5b42fd98 8210357: Zero builds fail after JDK-8207343 (Automate vtable/itable stub size calculation)
Reviewed-by: thartmann
2018-09-04 13:19:38 +02:00
shade
6088a38c27 8210355: Minimal and Zero non-PCH builds fail after JDK-8207343 (Automate vtable/itable stub size calculation)
Reviewed-by: thartmann
2018-09-04 13:19:37 +02:00
lucy
5f0f87a5ca 8207343: Automate vtable/itable stub size calculation
Reviewed-by: kvn, mdoerr
2018-09-03 09:43:08 +02:00
kvn
fcc2680578 8210764: Update avx512 implementation
8211251: Default mask register for avx512 instructions
8211272: x86_32 build failures after JDK-8210764 (Update avx512 implementation)
8211375: Minimal VM build failures after JDK-8211251 (Default mask register for avx512 instructions)
Reviewed-by: kvn
Contributed-by: sandhya.viswanathan@intel.com, shade@redhat.com
2018-10-27 10:33:58 -07:00
serb
ad3eae1183 8170937: Swing apps are slow if displaying from a remote source to many local displays
Reviewed-by: prr, aivanov
2018-09-18 18:32:03 -07:00
serb
e3e0f7da98 8207150: Clip.isRunning() may return true after Clip.stop() was called
Reviewed-by: prr
2018-09-08 12:32:51 -07:00
mchung
fc115fb46d 8212795: ThreadInfoCompositeData.toCompositeData fails to map ThreadInfo to CompositeData
Reviewed-by: dfuchs
2018-10-25 10:57:42 -07:00
mchinnathamb
20d4b2fd52 8211714: Need to update vm_version.cpp to recognise VS2017 minor versions
Reviewed-by: dholmes
2018-10-26 18:35:06 +05:30
kevinw
eadeafa47c 8211124: HotSpot update for vm_version.cpp to recognise updated VS2017
Reviewed-by: dholmes, lfoltan
2018-09-26 06:28:48 -07:00
mchinnathamb
3e0acd7d21 8027434: "-XX:OnOutOfMemoryError" uses fork instead of vfork
Reviewed-by: dholmes, iklam
2018-10-26 16:09:18 +05:30
michaelm
510a702f80 8212926: HttpClient does not retrieve files with large sizes over HTTP/1.1
Reviewed-by: chegar, dfuchs
2018-10-25 17:23:46 +01:00
aefimov
91be41626c 8210490: TimeZone.getDisplayName given Locale.US doesn't always honor the Locale.
Summary: specified locale for formatting..
Reviewed-by: naoto
2018-10-24 16:13:10 +01:00
lucy
c55d12445a 8210319: [s390]: Use of shift operators not covered by cpp standard
Reviewed-by: mdoerr, goetz
2018-09-10 16:40:59 +02:00
lucy
d7fd765d00 8209950: SIGBUS in CodeHeapState::print_names()
Reviewed-by: thartmann, kvn
2018-08-30 09:34:10 +02:00
diazhou
f2f4a878bb Added tag jdk-11.0.1+8 for changeset c2b23a17d3ff 2018-08-28 22:01:46 -07:00
robm
ad133c4e90 Merge 2018-08-28 04:47:13 -07:00
robm
611167a6f0 Merge 2018-08-28 04:44:59 -07:00
pkoppula
114395d1a6 Merge 2018-08-23 13:20:25 +05:30
jnimeh
2c422cd7ec 8208350: Disable all DES cipher suites
Reviewed-by: xuelei, mullan
2018-08-20 15:37:47 -07:00
diazhou
8bc1ce8121 Added tag jdk-11.0.1+7 for changeset 88a221c0bad0 2018-08-22 00:44:48 -07:00
jnimeh
5a46d31178 8208350: Disable all DES cipher suites
Reviewed-by: xuelei, mullan
2018-08-20 15:37:47 -07:00
dholmes
75042dfbe2 8205714: Initial class initialization
Reviewed-by: acorn, coleenp, kvn, vlivanov
2018-08-20 18:54:40 -04:00
joehw
2c4fcc33b4 8209576: java.nio.file.Files.writeString writes garbled UTF-16 instead of UTF-8
Reviewed-by: sherman
2018-08-20 10:11:26 -07:00
mdoerr
5f7bb930a3 8210754: print_location is not reliable enough (printing register info)
Reviewed-by: stuefe, coleenp
2018-10-04 16:39:07 +02:00
rkennke
7895806553 8211061: Tests fail with assert(VM_Version::supports_sse4_1()) on ThreadRipper CPU
Reviewed-by: thartmann, roland
2018-09-25 16:41:25 +02:00
roland
813bf5725d 8211231: BarrierSetC1::generate_referent_check() confuses register allocator
Reviewed-by: iveresov, kvn
2018-09-27 16:25:25 +02:00
shade
acc9fb0ef5 8212177: Epsilon alignment adjustments can overflow max TLAB size
Reviewed-by: pliden, tschatzl
2018-10-16 17:43:30 +02:00
shade
6aedb8c638 8212005: Epsilon elastic TLAB sizing may cause misalignment
Reviewed-by: rkennke, tschatzl
2018-10-11 10:42:17 +02:00
shade
8573713414 8212178: Soft reference reclamation race in com.sun.xml.internal.stream.util.ThreadLocalBufferAllocator
Reviewed-by: rkennke, kbarrett, joehw
2018-10-15 22:30:32 +02:00
mchung
ea5b430954 8212197: OpenDataException thrown when constructing CompositeData for StackTraceElement
Reviewed-by: alanb
2018-10-16 11:47:33 -07:00
dholmes
464fd1fa3a 8211909: JDWP Transport Listener: dt_socket thread crash
Reviewed-by: dcubed, dsamersoff
2018-10-16 19:07:47 -04:00
sgehwolf
8850da8154 8210425: [x86] sharedRuntimeTrig/sharedRuntimeTrans compiled without optimization
Summary: Compile with -O2 and -ffp-contract=off as for fdlibm.
Reviewed-by: erikj, lucy, aph
2018-09-11 18:18:51 +02:00
sgehwolf
df5eba1b6d 8210416: [linux] Poor StrictMath performance due to non-optimized compilation
Summary: Compile fdlibm with -O2 -ffp-contract=off on gcc/clang arches.
Reviewed-by: aph, erikj, dholmes, darcy, ihse
2018-09-17 10:53:56 +02:00
mbaesken
85ceaa7cee 8210964: add more ld preloading related info to hs_error file on Linux
Reviewed-by: clanger, stuefe
2018-09-28 09:20:46 +02:00
kaddepalli
8a6d966b4a 8208638: Instead of circle rendered in appl window, but ellipse is produced JEditor Pane
Reviewed-by: serb, psadhukhan
2018-10-18 12:19:32 +05:30
jnimeh
200d4d76ae 8210918: Add test to exercise server-side client hello processing
Reviewed-by: xuelei
2018-10-17 06:59:59 -07:00
jnimeh
8d049aaf13 8210334: TLS 1.3 server fails if ClientHello doesn't have pre_shared_key and psk_key_exchange_modes
Reviewed-by: ascarpino, wetmore
2018-10-17 06:55:04 -07:00
jiangli
d2620b24c2 8212100: AppCDS crashes for some uses with JRuby
Summary: Make sure FileMapInfo::verify_mapped_heap_regions only verifies 'num' of spaces.
Reviewed-by: iklam
2018-10-16 15:09:03 -04:00
robm
3bc9a425fd Merge 2018-10-16 09:42:36 -07:00
kvn
9dd15fe96d 8212204: [TESTBUG] test/hotspot/jtreg/compiler/intrinsics/base64/TestBase64.java fails
Summary: fix tests to not use jtreg.SkippedException
Reviewed-by: dholmes, goetz
2018-10-16 09:26:55 -07:00
robm
dc81b214d7 Merge 2018-08-20 08:37:26 -07:00
lucy
108b0eed34 8209588: SIGSEGV in MethodArityHistogram() with -XX:+CountCompiledCalls
Reviewed-by: kvn, goetz
2018-08-20 17:25:45 +02:00
shade
3ffe343445 8212754: Build failure: undefined JvmtiSampledObjectAllocEventCollector::object_alloc_is_safe_to_sample
Reviewed-by: jcbeyler, zgu, coleenp
2018-10-23 10:55:59 +02:00
michaelm
100c0e7520 8211437: 8211437 java.net.http.HttpClient hangs on 204 reply without Content-length 0
Reviewed-by: dfuchs, chegar
2018-10-24 11:22:03 +01:00
michaelm
51f8d1270e 8211420: com.sun.net.httpserver.HttpServer returns Content-length header for 204 response code
Reviewed-by: chegar, dfuchs
2018-10-24 10:42:19 +01:00
jnimeh
fac78f209b 8211806: TLS 1.3 handshake server name indication is missing on a session resume
Reviewed-by: xuelei, wetmore
2018-10-22 13:53:23 -07:00
robm
43f8c1cc80 Merge 2018-08-20 07:23:23 -07:00
robm
45b85a037e Merge 2018-08-20 07:21:27 -07:00
psadhukhan
14b1aefc44 8205356: Choose printer defaults
Reviewed-by: prr, mschoene, rhalade
2018-08-20 11:35:48 +05:30
roland
a23f32edda 8209639: assert failure in coalesce.cpp: attempted to spill a non-spillable item
Reviewed-by: neliasso, kvn
2018-08-17 17:13:12 +02:00
coffeys
04c5891310 Merge 2018-10-16 12:47:56 +01:00
coffeys
685984b3ae 8209862: CipherCore performance improvement
Reviewed-by: apetcher, ascarpino
Contributed-by: sergey.kuksenko@oracle.com, sean.coffey@oracle.com
2018-10-15 14:42:31 +01:00
mhalder
56dbf4c030 8206392: [macosx] Cycling through windows (JFrames) does not work with keyboard shortcut
Reviewed-by: dmarkov, kaddepalli
2018-09-14 17:53:58 +05:30
sgehwolf
678d6abea5 8212110: Build of saproc.dll broken on Windows 32 bit after JDK-8210647
Summary: Only add RTC1 compile flag for slowdebug builds.
Reviewed-by: mdoerr, erikj
2018-10-12 10:58:06 +02:00
dmarkov
0a89591d53 8205479: OS X: requestFocus() does not work properly for embedded frame
Reviewed-by: serb, aivanov
2018-10-16 09:39:30 +01:00
dmarkov
ceab2649f2 8130655: OS X: keyboard input in textfield is not possible if the window contained textfield is owned by EmbeddedFrame
Reviewed-by: serb, aivanov
2018-10-16 09:34:13 +01:00
pmuthuswamy
3250016c32 8211916: Javadoc -link makes broken links if module name matches package name
Reviewed-by: jjg
Contributed-by: priya.lakshmi.muthuswamy@oracle.com
2018-10-16 13:04:51 +05:30
coleenp
4d65e4c106 8209889: RedefineStress tests crash
Reviewed-by: mdoerr
2018-10-15 15:16:32 -04:00
alitvinov
0512db0d5c 8211165: License header is absent in a few J2Ddemo source code files
Reviewed-by: prr, iris
2018-09-26 18:36:55 +01:00
coffeys
5f0329469d 8209129: Further improvements to cipher buffer management
Reviewed-by: weijun, igerasim
2018-08-23 11:37:14 +01:00
serb
2d8bb1f375 8204895: Better icon support
Reviewed-by: prr, mschoene, aghaisas, rhalade
2018-08-16 10:22:25 -07:00
serb
b9beee7d8d 8203955: Improve robot support
Reviewed-by: prr, psadhukhan, rhalade, skoivu
2018-08-21 14:53:18 -07:00
diazhou
6376477816 Added tag jdk-11.0.1+6 for changeset db768cfe2141 2018-08-14 22:22:03 -07:00
diazhou
82861fdbe9 Added tag jdk-11.0.1+5 for changeset d6efeebf554c 2018-08-13 15:51:25 +00:00
coleenp
92b96d783d 8207924: serviceability/sa/TestUniverse.java#id0 intermittently fails with assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded
Summary: InstanceKlass::implementors() needs the Compile_lock
Reviewed-by: thartmann, eosterlund
2018-08-11 12:49:33 -04:00
iignatyev
b167354e88 8215128: Test library OSInfo.getSolarisVersion cannot determine Solaris version
Reviewed-by: chegar
2018-12-13 14:07:44 -08:00
sgroeger
0fffc06e1e 8211844: [aix] ProcessBuilder: Piping between created processes does not work.
Reviewed-by: cjplummer, simonis, goetz
2018-12-07 14:35:57 +01:00
phh
2421f1b4ed 8206075: On x86, assert on unbound assembler Labels used as branch targets
8208480: Test failure: assert(is_bound() || is_unused()) after JDK-8206075 in C1
8209511: C2 asserts with UseSSE < 4 and AVX enabled: "Label was never bound to a location, but it was used as a jmp target'
Summary: Combine unbound Label assertion checking backports
Reviewed-by: robm
2018-12-12 06:17:33 -08:00
mbaesken
9dd2ee85f1 8211106: [windows] Update OS detection code to recognize Windows Server 2019
Reviewed-by: alanb, clanger, bobv
2018-10-02 13:48:08 +02:00
sgehwolf
c1cfe2076f 8214059: Undefined behaviour in ADLC
Reviewed-by: shade, kbarrett
Contributed-by: Simon Tooke <stooke@redhat.com>
2018-11-26 09:36:30 +01:00
jdv
3809b83c14 8212116: IIOException "tEXt chunk length is not proper" on opening png file
Reviewed-by: serb
2018-11-14 01:29:34 +05:30
phh
8e00066428 8208647: switch jtreg to 4.2b13
Summary: Increment build number to b13 and replace '?' with String in GatherDiagnosticInfoObserver:startingTestRun
Reviewed-by: robm
2018-12-07 08:14:09 -08:00
pliden
5dfa231b9d 8214476: ZGC: Build ZGC by default
Reviewed-by: shade, rkennke, ihse
2018-12-03 14:52:49 +01:00
shade
bdf087afe8 8212070: Introduce diagnostic flag to abort VM on failed JIT compilation
Reviewed-by: mikael, thartmann
2018-11-19 11:51:27 +01:00
shade
d87f64b932 8211926: Catastrophic size_t underflow in BitMap::*_large methods
Reviewed-by: kbarrett, stuefe
2018-11-10 20:47:28 +01:00
shade
157c0b160c 8211268: Disable unsupported GCs for Zero
Reviewed-by: sgehwolf, erikj
2018-09-28 18:28:49 +02:00
stuefe
57defdaf4b 8213834: JVMTI ResourceExhausted should not be posted in CompilerThread
Reviewed-by: dholmes, dcubed, jcbeyler, sspitsyn
2018-11-27 07:54:06 +01:00
shade
2959ce1dd3 8213992: Rename and make DieOnSafepointTimeout the diagnostic option
Reviewed-by: dholmes, dcubed, coleenp, kvn
2018-11-20 22:59:27 +01:00
sgehwolf
9fc32a98e8 8212937: Parent class loader may not have a referred ClassLoaderData instance when obtained in Klass::class_in_module_of_loader
Summary: Fix to obtain the class loader's name from the java.lang.ClassLoader object instead of its ClassLoaderData.
Reviewed-by: coleenp, lfoltan
2018-11-07 13:54:22 -05:00
bulasevich
06bbd8174e 8213410: UseCompressedOops requirement check fails fails on 32-bit system
Reviewed-by: dholmes
2018-11-16 19:29:20 +03:00
lucy
32088d3af9 8209433: [s390] Fix build, broken by 8208672 (Enable -Wreorder)
Reviewed-by: tschatzl, shade
2018-08-14 14:28:23 +02:00
ghaug
f1dfd68ff2 8209357: [PPC64] Fix build which was broken by 8208672 (Enable -Wreorder)
Reviewed-by: mbaesken, tschatzl
2018-08-13 12:24:25 +02:00
chegar
08444cd3d0 8199156: Better route routing
Reviewed-by: igerasim, mschoene, michaelm, rhalade
2018-08-10 15:02:30 +01:00
chegar
b3335e3e70 8199161: Better interface enumeration
Reviewed-by: igerasim, mschoene, michaelm, rhalade
2018-08-10 14:49:43 +01:00
chegar
67c65bc94f 8199166: Better interface lists
Reviewed-by: igerasim, mschoene, michaelm, rhalade
2018-08-10 14:35:44 +01:00
robm
e20460be77 Merge 2018-08-13 06:09:53 -07:00
robm
a1062812ea Merge 2018-08-09 10:15:49 -07:00
igerasim
55cab5b6b7 8208754: The fix for JDK-8194534 needs updates
Reviewed-by: alanb, igerasim, rhalade, mullan
2018-08-07 21:12:02 -07:00
robm
fcaf1cc372 Merge 2018-08-09 04:39:09 -07:00
igerasim
4e564437bd 8208754: The fix for JDK-8194534 needs updates
Reviewed-by: alanb, igerasim, rhalade, mullan
2018-08-07 21:12:02 -07:00
ljiang
bdf71347d2 8208661: JDK 11.0.1 l10n resource file update
Reviewed-by: coffeys
2018-08-07 06:54:37 -07:00
ljiang
91948d110a 8208661: JDK 11.0.1 l10n resource file update
Reviewed-by: coffeys
2018-08-07 06:54:37 -07:00
robm
e82779f29b Merge 2018-08-03 07:14:25 -07:00
coffeys
7d9de7e33a 8207775: Better management of CipherCore buffers
Reviewed-by: ascarpino
2018-08-03 09:57:10 +01:00
coffeys
48f970aaeb 8208583: Better management of internal KeyStore buffers
Reviewed-by: weijun
2018-08-03 14:14:59 +01:00
tbell
0187f4e734 8208654: Please change jdk 11.0.1 milestone to FCS
Reviewed-by: tbell
Contributed-by: diancui.zhou@oracle.com
2018-08-01 19:06:02 -07:00
svijayasekar
62855f55cf 8208268: 11.0.1 b03 java.net bundles - Release Date is wrong
Reviewed-by: diazhou
2018-08-02 01:17:46 +00:00
diazhou
853fc3a1a7 Added tag jdk-11.0.1+4 for changeset b5b1dd7e6f9d 2018-07-31 21:59:50 -07:00
robm
bdaf49b110 Added tag jdk-11.0.1+0 for changeset c01cc45790f8 2018-07-30 15:24:11 -07:00
robm
59f1497ba8 Added tag jdk-11.0.1+2 for changeset fc55f0667af5 2018-07-30 15:18:30 -07:00
robm
63dbd1c51c Added tag jdk-11.0.1+3 for changeset 781b5d8f2f75 2018-07-30 15:10:52 -07:00
apetcher
ee037d9a16 8208209: Improve TLS connection stability again
Reviewed-by: xuelei
2018-07-30 14:45:22 -04:00
apetcher
2d438b48de 8208209: Improve TLS connection stability again
Reviewed-by: xuelei
2018-07-30 14:45:22 -04:00
robm
79583dd0d4 Merge 2018-07-27 06:54:50 -07:00
ljiang
939a61ea41 8207948: JDK 11 L10n resource file update msg drop 10
Reviewed-by: naoto
2018-07-25 22:48:53 -07:00
igerasim
6a75289c31 8206301: Improve NIO stability
Reviewed-by: alanb, mschoene, rhalade
2018-07-25 21:10:44 -07:00
dtitov
81daeaa1fa 8205709: Proper allocation handling
Reviewed-by: sspitsyn
2018-07-25 11:11:11 -07:00
jnimeh
7d4cfde66c 8206295: More reliable p11 transactions
Reviewed-by: valeriep, mschoene, rhalade
2018-07-23 11:01:23 -07:00
mbaesken
1b3855a417 8207395: jar has issues with UNC-path arguments for the jar -C parameter [windows]
Reviewed-by: goetz, sherman
2018-07-19 11:04:46 +02:00
goetz
1eafda450b 8213527: [testbug] Fix PrintMetaspaceDcmd test using UseCompressedOops for 32-bit.
Reviewed-by: dholmes, mdoerr
2018-11-12 16:40:25 +01:00
rhalade
345d7d1578 8207059: Update test certificates in QuoVadisCA.java test
Reviewed-by: mullan, mbaesken
2018-10-31 13:58:15 -07:00
mdoerr
173e773654 8213086: Compiler thread creation should be bounded by available space in memory and Code Cache
Reviewed-by: kvn, thartmann
2018-10-31 14:48:36 +01:00
iklam
1c8afe6679 8210040: TestOptionsWithRanges.java is very slow
Summary: Added -Xmx1024m -XX:-ZapUnusedHeapArea; split into 10 smaller tests
Reviewed-by: kvn, coleenp
2018-08-28 16:01:12 -07:00
tschatzl
a869311ab1 8205633: TestOptionsWithRanges.java of '-XX:TLABSize=2147483648' fails intermittently
Summary: Exclude maximum range value from testing.
Reviewed-by: sangheki, kbarrett
2018-08-13 12:24:25 +02:00
iklam
69df6da856 8210043: Invalid assert(HeapBaseMinAddress > 0) in ReservedHeapSpace::initialize_compressed_heap
Summary: Removed the assert
Reviewed-by: ccheung, jiangli
2018-08-28 16:01:01 -07:00
goetz
a7dc7c8c6d 8211931: [ppc][testbug] runtime/jni/terminatedThread/TestTerminatedThread.java fails as threads don't terminate immediately
Reviewed-by: dholmes, mdoerr
2018-10-12 08:33:18 +02:00
simonis
d8fe5d7bba 8213151: [AIX] Some class library files are missing the Classpath exception
Reviewed-by: stuefe, rriggs, mbaesken
2018-10-31 16:02:43 +01:00
dlong
6f1a0a6c97 8021335: Missing synchronization when reading counters for live threads and peak thread count
Reviewed-by: dholmes, mchung
2018-10-25 18:41:26 -07:00
weijun
32fa7e6367 8205507: jdk/javax/xml/crypto/dsig/GenerationTests.java timed out
Reviewed-by: mullan
2018-11-06 14:15:29 +00:00
rpatil
349f2df220 8213085: (tz) Upgrade time-zone data to tzdata2018g
Reviewed-by: martin, naoto
2018-11-01 12:43:21 -04:00
mullan
f0d5be6ada 8211883: Disable anon and NULL cipher suites
Reviewed-by: jnimeh
2018-10-25 13:55:28 -04:00
sgehwolf
c4b272ec82 8207057: No debug info for assembler files
Summary: Generate debug info for assembler files as needed.
Reviewed-by: erikj
2018-07-12 16:28:31 +02:00
ljiang
8d9253d226 8210153: localized currency symbol of VES
Reviewed-by: naoto
2018-08-29 19:14:08 -07:00
ljiang
fbfb87bf48 8208746: ISO 4217 Amendment #168 update
8209775: ISO 4217 Amendment #169 update
Reviewed-by: naoto
2018-08-28 20:05:41 -07:00
kvn
a5f5420f56 8207153: Some intrinsic tests take long time to run
Reviewed-by: thartmann, mikael
2018-08-13 13:24:55 -07:00
dholmes
a2dbd61165 8211065: Private method check in linkResolver is incorrect
Reviewed-by: acorn, lfoltan
2018-10-09 20:19:22 -04:00
coffeys
cfd4680373 Merge 2018-10-11 20:03:07 +01:00
sgehwolf
3d021ee6f6 8210703: vmStructs.cpp compiled with -O0
Reviewed-by: erikj, ihse
2018-09-13 11:07:40 +02:00
sgehwolf
ced8423d93 8211387: [Zero] atomic_copy64: Use ldrexd for atomic reads on ARMv7
Reviewed-by: dholmes, aph
Contributed-by: Andrew Haley <aph@redhat.com>
2018-10-02 17:17:43 +02:00
sgehwolf
1f9e4a2a25 8208091: SA: jhsdb jstack --mixed throws UnmappedAddressException on i686
Summary: Be sure to use the same register index in native and Java code.
Reviewed-by: sballal, cjplummer, tbell
2018-07-23 18:08:46 +02:00
sgehwolf
02b8f55309 8210761: libjsig is being compiled without optimization
Reviewed-by: erikj, ihse
2018-09-21 16:58:36 +02:00
jgeorge
fab0dafdd0 8210836: Build fails with warn_unused_result in openjdk/src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c
Summary: Read in and process the return value of pread() while dealing with the PT_INTERP segment
Reviewed-by: stuefe, jcbeyler
2018-09-18 23:20:17 +05:30
sgehwolf
b9bb2185eb 8210647: libsaproc is being compiled without optimization.
Summary: Compile with high optimization instead of none.
Reviewed-by: erikj, jgeorge, sballal
2018-09-14 14:47:50 +02:00
mbaesken
95982b4e86 8211208: make AllocateHeapAt an unsupported option on AIX
Reviewed-by: shade, tschatzl
2018-09-27 17:13:07 +02:00
mbaesken
d250bf17ac 8209942: [epsilon] range function for EpsilonTLABElasticity causes compiler warning
Reviewed-by: shade, simonis
Contributed-by: ralf.schmelter@sap.com
2018-09-05 12:48:51 +02:00
ghaug
4c22c70256 8209996: [PPC64] Fix JFR profiling
Reviewed-by: mdoerr, simonis
2018-08-28 14:55:06 +02:00
mbaesken
6ecbab0766 8207941: javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java fails on machines without Arial font [testbug]
Reviewed-by: goetz, psadhukhan
2018-07-24 09:27:42 +02:00
mdoerr
ab6e7a3250 8210497: [PPC64] Vector registers not saved across safepoint
Reviewed-by: goetz, lucy
2018-09-12 12:54:16 +02:00
aleonard
9b2a30c95d 8209786: JDK12 fails to build on s390x with gcc 7.3
Reviewed-by: ihse, goetz
2018-09-07 11:24:59 +02:00
adinn
937b93ae6f 8211105: AArch64: Disable cos/sin and log intrinsics in jdk11u pending fix
Summary: AArch64 cos/sin and log intrinsics are currently broken so should be disabled
Reviewed-by: aph, shade
2018-09-26 17:01:49 +01:00
goetz
62b9687f20 8210259: [testbug] IncompatibleOptions.java fails if VM configured without ZGC
Reviewed-by: pliden, kbarrett
2018-09-01 18:15:27 +02:00
jnimeh
d52a23e8b3 8210846: TLSv.1.3 interop problems with OpenSSL 1.1.1 when used on the client side with mutual auth
Reviewed-by: xuelei
2018-09-21 17:17:56 -07:00
jnimeh
603db743bc 8209916: NPE in SupportedGroupsExtension
Reviewed-by: xuelei
2018-09-21 17:13:47 -07:00
michaelm
a5c0c4f860 8196902: Better HTTP Redirection
Reviewed-by: dfuchs
Contributed-by: chris.hegarty@oracle.com
2018-07-10 08:20:13 +01:00
robm
b2d03e9f5b Merge 2018-07-20 08:28:39 -07:00
robm
c934138d19 Merge 2018-07-17 09:29:21 -07:00
diazhou
0f535abdae Added tag jdk-11.0.1+1 for changeset 1353ec839c82 2018-07-10 03:11:53 -07:00
michaelm
891062b7f3 8196902: Better HTTP Redirection
Reviewed-by: dfuchs
Contributed-by: chris.hegarty@oracle.com
2018-07-10 08:20:13 +01:00
robm
ede6cd91f5 Merge 2018-07-20 08:29:12 -07:00
robm
70d1e087e7 8207810: Remove jdk-11.0.1+2 tag from source repository
Reviewed-by: aefimov
2018-07-18 15:50:48 -07:00
diazhou
cec82061b0 Added tag jdk-11.0.1+2 for changeset a285bd7cfedb 2018-07-17 23:15:30 -07:00
robm
350103ead9 Merge 2018-07-17 07:22:30 -07:00
aefimov
e951de27e1 Added tag jdk-11.0.2+0 for changeset 7da060835810 2018-07-11 16:21:50 +01:00
erikj
1d80826df6 8206884: Bump update version for jdk11.0.1 cpu forest
Reviewed-by: tbell
2018-07-09 14:37:28 -07:00
sherman
d7785270e9 8206389: JarEntry.setCreation/LastAccessTime without setLastModifiedTime causes Invalid CEN header
Reviewed-by: alanb, martin
2018-07-09 13:08:30 -07:00
mchung
ee0356e4a7 8210502: jdeps does not handle properly on analyzing a mixture of MR JARs and non-MR JARs
Reviewed-by: alanb
2018-09-10 12:48:57 -07:00
iris
9ee918596f 8210775: JVM TI Spec missing copyright
Reviewed-by: dholmes, mchung, sspitsyn
2018-10-11 17:54:14 +01:00
henryjen
bc5e663bf4 Merge 2018-07-06 11:43:53 -07:00
henryjen
75028759fb 8206473: Revert changes of JDK-8202613 in jdk-cpu and jdk11u-cpu
Reviewed-by: xuelei
2018-07-06 09:15:34 -07:00
kaddepalli
7dee7512ff 8194546: Choosier FileManagers
Reviewed-by: serb, prr, rhalade, skoivu
2018-06-29 10:28:05 +05:30
henryjen
b2a316bf94 Merge 2018-06-26 13:50:05 -07:00
smarks
1f41d2d80b 8205491: adjust reflective access checks
Reviewed-by: alanb, mchung, igerasim, rhalade, ahgross
2018-06-22 17:08:00 -07:00
igerasim
80f913d4dc 8204667: Resources not freed on exception
Reviewed-by: skoivu, chegar
2018-06-20 18:02:22 -07:00
henryjen
f96c1f63c1 Merge 2018-06-18 22:08:06 -07:00
joehw
2c5c0cdd1e 8204497: Better formatting of decimals
Reviewed-by: rriggs, lancea, dfuchs, mschoene
2018-06-15 14:19:51 -07:00
valeriep
0fb6fa994f 8203654: Improve cypher state updates
Reviewed-by: ascarpino
2018-06-14 23:47:05 +00:00
henryjen
16e435b16c Merge 2018-06-11 16:30:22 -07:00
vtewari
e9daef9fa4 8199177: Enhance JNDI lookups
Reviewed-by: michaelm, robm, skoivu, rhalade, chegar, rriggs, ahgross
Contributed-by: vyom.tewari@oracle.com
2018-06-08 15:56:23 +05:30
vtewari
1598c2a93e 8200666: Improve LDAP support
Reviewed-by: rpatil, skoivu, rhalade, chegar, rriggs, mullan
Contributed-by: vyom.tewari@oracle.com
2018-06-07 18:21:29 +05:30
henryjen
f786455db4 Merge 2018-06-05 15:57:54 -07:00
apetcher
3ac71a8d87 8202613: Improve TLS connections stability
Reviewed-by: xuelei, wetmore
2018-06-01 13:02:31 -04:00
smarks
dd95580052 8197925: Better stack walking
Reviewed-by: alanb, skoivu, rriggs, igerasim, rhalade, darcy
2018-05-31 11:31:20 -07:00
henryjen
0684c1e697 Merge 2018-05-29 16:38:31 -07:00
bchristi
28c1511c1b 8195874: Improve jar specification adherence
Summary: Also reviewed by Chris Ries <chris.ries@oracle.com>
Reviewed-by: alanb, mchung, rriggs
2018-05-29 10:27:45 -07:00
henryjen
fdf04a8131 Merge 2018-05-21 15:59:37 -07:00
sundar
52140ddc30 8202936: Improve script engine support
Reviewed-by: jlaskey, ahgross, rhalade
2018-05-18 13:34:42 +05:30
henryjen
e008a044db Merge 2018-05-15 13:28:27 -07:00
hseigel
38c38362b4 8199226: Improve field accesses
Reviewed-by: acorn, ahgross, rhalade
Contributed-by: harold.seigel@oracle.com
2018-05-14 09:05:20 -04:00
henryjen
53cd4eb255 Merge 2018-05-08 21:18:38 -07:00
henryjen
0a6f8c2b03 Merge 2018-05-08 19:30:57 -07:00
henryjen
7fad94819d Merge 2018-04-30 21:11:51 -07:00
henryjen
5dafe6f9ee Merge 2018-04-23 21:05:55 -07:00
prr
eedb5110a3 8200648: Make midi code more sound
Reviewed-by: serb, mschoene, rhalade
2018-04-23 16:15:26 -07:00
apetcher
327c6e23b1 8201756: Improve cipher inputs
Summary: Clarify spec of CipherInputStream in Javadoc comments
Reviewed-by: ascarpino
2018-04-23 12:01:46 -04:00
weijun
0cbde8338c 8194534: Manifest better support
Reviewed-by: mchung, igerasim
2018-04-17 15:55:49 +08:00
henryjen
34d89fd061 Merge 2018-04-16 13:31:19 -07:00
apetcher
0f0d9c9b46 8200332: Improve GCM counting
Reviewed-by: ascarpino
2018-04-09 14:10:56 -04:00
sherman
16037bbf81 8199172: Improve jar attribute checks
Reviewed-by: psandoz, alanb
2018-04-04 13:55:30 -07:00
henryjen
5a733c7e85 Merge 2018-04-03 23:17:10 -07:00
vtewari
3088cceca6 8199110: Address Internet Addresses
Reviewed-by: chegar, rriggs, igerasim, skoivu, rhalade
2018-03-30 08:37:31 +05:30
sherman
846b8623de 8197881: Better StringBuilder support
Reviewed-by: rriggs
2018-03-28 08:42:45 -07:00
henryjen
3484d28dbd Merge 2018-03-26 11:22:25 -07:00
henryjen
c629f89826 Merge 2018-03-19 11:37:57 -07:00
sherman
6aea092774 8199547: Exception to Pattern Syntax
Reviewed-by: rriggs
2018-03-15 16:04:30 -07:00
henryjen
6c568845f2 Merge 2018-03-12 10:31:36 -07:00
weijun
f57cd2127c 8196897: Improve PRNG support
Reviewed-by: valeriep, mullan, igerasim
2018-03-08 14:04:39 +08:00
henryjen
176117027a Merge 2018-02-26 13:07:21 -08:00
henryjen
f6b6932cf6 Merge 2018-02-21 19:12:34 -08:00
asapre
8b751dcd05 8189985: Improve tabular data portability
Reviewed-by: dfuchs, mchung, skoivu
2018-02-14 15:36:59 +05:30
henryjen
097a808b68 Merge 2018-02-12 14:13:49 -08:00
apetcher
4dc831c49f 8197443: ArrayIndexOutOfBoundsException in UcryptoException.getError
Reviewed-by: mullan
2018-02-12 11:38:35 -05:00
henryjen
74a762bf79 Merge 2018-02-05 18:01:15 -08:00
henryjen
cec288559a Merge 2018-02-05 14:22:33 -08:00
igerasim
b6564ce596 8196224: Even better Internet address support
Reviewed-by: chegar, rriggs, rhalade, vtewari
2018-02-05 14:18:22 -08:00
smarks
a75a235455 8189981: Improve queuing portability
Reviewed-by: skoivu, rhalade, chegar, igerasim
2018-02-02 10:56:12 -08:00
serb
31d01c7d7c 8191239: Improve desktop file usage
Reviewed-by: prr, rhalade, aghaisas
2018-01-31 18:13:13 -08:00
henryjen
0c80a34131 Merge 2018-01-30 14:20:53 -08:00
prr
b677f0ea07 8196289: Update src/java.desktop/share/legal/lcms.md for LCMS 2.9
Reviewed-by: mchung
2018-01-26 12:01:08 -08:00
psandoz
ab89104c79 8194238: Trying exceptions in MethodHandles
Reviewed-by: jrose, vlivanov, ahgross
2018-01-24 16:44:31 -08:00
apetcher
390a55feeb 8193409: Improve AES supporting classes
Reviewed-by: valeriep
2018-01-23 11:18:11 -05:00
henryjen
21531ab68c Merge 2018-01-22 22:34:28 -08:00
henryjen
23a92ca0c5 Merge 2018-01-22 22:32:20 -08:00
psandoz
e4d29f7c80 8194233: Improve support for array handles
Reviewed-by: jrose, vlivanov, ahgross, rhalade
2018-01-22 13:27:28 -08:00
igerasim
dbde1c8867 8175075: Add 3DES to the default disabled algorithm security property
Reviewed-by: xuelei, mullan, rhalade
2018-01-19 11:24:39 -08:00
kbarrett
940cc89d7c 8192025: Less referential references
Reviewed-by: coleenp, eosterlund, mchung, ahgross, rhalade
2018-01-18 22:17:11 -05:00
vtewari
0d5803ff05 8193419: Better Internet address support
Reviewed-by: chegar, rriggs, igerasim, skoivu, rhalade
2018-01-18 13:55:26 +05:30
joehw
98403cc35d 8189993: Improve document portability
Reviewed-by: rriggs, lancea, dfuchs, skoivu
2018-01-17 22:24:46 -08:00
weijun
fd359e7be8 8195662: Add T6587786.java to problem list before JDK-8195589 is resolved
Reviewed-by: mullan, jjg
2018-01-18 11:03:30 +08:00
henryjen
57549e1710 Merge 2018-01-17 13:37:04 -08:00
weijun
71f67597b5 8189997: Enhance keystore mechanisms
8194259: keytool error: java.io.IOException: Invalid secret key format
Reviewed-by: mullan, valeriep, rriggs, ahgross
2018-01-12 08:06:24 +08:00
rriggs
c3d17fbe2e 8192757: Improve stub classes implementation
Reviewed-by: dfuchs, rhalade, ahgross, skoivu
2018-01-10 16:19:43 -05:00
henryjen
a74dc22d8c Merge 2018-01-08 23:00:45 -08:00
serb
8221cf8f44 8191696: Better mouse positioning
Reviewed-by: skoivu, rhalade, prr, aghaisas
2018-01-03 09:05:11 -08:00
apetcher
f93adcbed4 8182362: Update CipherOutputStream Usage
Summary: Clarify spec of CipherOutputStream in Javadoc comments
Reviewed-by: ascarpino
2018-01-02 09:23:01 -05:00
psandoz
3a3d1bec13 8193414: Improvements in MethodType lookups
Reviewed-by: ahgross, jrose
2017-12-12 16:37:39 -08:00
mullan
c19608e77c 8186032: Disable XML Signatures signed with EC keys less than 224 bits
Reviewed-by: weijun, rhalade
2017-12-15 10:42:25 -05:00
weijun
e01962d9b6 8189969: Manifest better manifest entries
Reviewed-by: mullan
2017-12-14 08:21:36 +08:00
serb
d20d26b050 8192030: Better MTSchema support
Reviewed-by: skoivu, rhalade, prr, aghaisas
2017-12-10 15:29:26 -08:00
mullan
42f3899284 8191358: Restore TSA certificate expiration check
Reviewed-by: coffeys, rhalade
2017-12-08 09:37:28 -05:00
igerasim
8be6d7874e 8192789: Avoid using AtomicReference in sun.security.provider.PolicyFile
Reviewed-by: mullan, ahgross
2017-12-07 12:25:09 -08:00
igerasim
8371f06bc6 8187496: Possible memory leak in java.apple.security.KeychainStore.addItemToKeychain
Reviewed-by: weijun, mullan, ahgross
2017-12-07 11:21:47 -08:00
prr
5a71fae39e 8183032: Upgrade to LittleCMS 2.9
Reviewed-by: serb, psadhukhan, mschoene, rhalade
2017-12-06 14:35:58 -08:00
weijun
e1eda1d3c9 8189977: Improve permission portability
Reviewed-by: rriggs
2017-12-06 21:17:19 +08:00
hseigel
5bf285c17e 8190478: Improved interface method selection
Reviewed-by: acorn, ahgross, jwilhelm, rhalade
Contributed-by: harold.seigel@oracle.com
2017-12-05 09:59:36 -05:00
vtewari
7b86de7b86 8191142: More refactoring for naming deserialization cases
Reviewed-by: chegar, rriggs
2017-11-29 13:56:06 +05:30
smarks
244ca917ab 8189284: More refactoring for deserialization cases
Reviewed-by: rriggs, igerasim, rhalade, skoivu
2017-11-27 17:30:49 -08:00
mdoerr
fb444dd6e9 8191907: PPC64 and s390 parts of JDK-8174962: Better interface invocations
Reviewed-by: goetz
2017-11-28 01:08:26 +03:00
thartmann
5b8ace4f45 8190877: Better handling of abstract classes
Reviewed-by: kvn, vlivanov, rhalade, ahgross, jwilhelm
Contributed-by: tobias.hartmann@oracle.com
2017-11-16 12:03:42 -05:00
serb
9b620a16c1 8189989: Improve container portability
Reviewed-by: prr, azvegint, rhalade, skoivu
2017-11-15 07:07:16 -08:00
hseigel
0160750dfa 8189123: More consistent classloading
Reviewed-by: acorn, ahgross, rhalade
Contributed-by: harold.seigel@oracle.com
2017-11-07 16:07:36 -05:00
serb
7a67044595 8190289: More refactoring for client deserialization cases
Reviewed-by: prr, azvegint, rhalade, skoivu
2017-11-06 10:24:42 -08:00
weijun
1b1fa3188a 8190789: sun/security/provider/certpath/LDAPCertStore/TestURICertStoreParameters.java fails after JDK-8186606
Reviewed-by: mullan
2017-11-06 22:09:04 +08:00
weijun
b8bd5779b0 8186606: Improve LDAP lookup robustness
Reviewed-by: mullan, skoivu, ahgross
2017-11-04 08:56:01 +08:00
joehw
3ad25e799e 8190227: Forward port 8188880 to JDK10CPU
Reviewed-by: dfuchs, lancea, rriggs
2017-10-31 11:35:15 -07:00
xuelei
907a6e29b8 8163237: Restrict the use of EXPORT cipher suites
Reviewed-by: mullan, igerasim, rhalade, jnimeh
2017-10-31 00:54:53 +00:00
apetcher
69503a83fc 8185292: Stricter key generation
Reviewed-by: mullan
2017-10-24 09:58:27 -04:00
weijun
6de291790e 8186600: Improve property negotiations
Reviewed-by: valeriep, ahgross, mullan
2017-10-18 10:43:58 +08:00
serb
e601d82122 8185325: Improve GTK initialization
Reviewed-by: azvegint, rhalade, mschoene
2017-10-02 11:04:01 -07:00
joehw
78bc37111f 8186080: Transform XML interfaces
Reviewed-by: dfuchs, lancea, rriggs
2017-10-04 10:33:08 -07:00
uvangapally
c5c51870d1 8186998: Improve JMX supportive features
Summary: Improve JMX supportive features
Reviewed-by: mchung, dfuchs, rriggs, hb, skoivu, rhalade
2017-09-25 19:44:28 +05:30
weijun
fcdfddca6f 8178458: Better use of certificates in LDAP
Reviewed-by: vinnie, asmotrak
2017-09-14 07:45:53 +08:00
vinnie
58ee4f83bf 8181670: Improve implementation of keystores
Reviewed-by: mullan
2017-09-05 15:53:33 +01:00
vinnie
4e42a66e4b 8178449: Improve LDAP logins
Reviewed-by: mullan, asmotrak
2017-09-04 19:33:44 +01:00
valeriep
caac8a3001 8178466: Better RSA parameters
Reviewed-by: mullan, ahgross
2017-08-31 21:44:19 +00:00
valeriep
2fc2a0e275 8186212: Improve GSS handling
Reviewed-by: weijun, ahgross
2017-08-24 19:18:51 +00:00
naoto
aeafbbb0a3 8182601: Improve usage messages
Reviewed-by: alanb, ahgross, ksrini, mchung
2017-08-08 10:43:07 -07:00
apetcher
185abbac66 8182387: Improve PKCS usage
Reviewed-by: valeriep
2017-07-28 18:20:43 +00:00
vtewari
2570465231 8182125: Improve reliability of DNS lookups
Reviewed-by: chegar, rriggs, dfuchs
2017-07-23 10:33:13 +05:30
apetcher
5be701c685 8174756: Extra validation for public keys
Reviewed-by: valeriep
2017-07-04 01:52:53 +00:00
prr
2309074396 8180877: More deeply colored ICC spaces
Reviewed-by: serb, rhalade, mschoene
2017-06-29 11:53:19 -07:00
jlaskey
b241c3eed2 8180869: Cleaner image file reading handling
Reviewed-by: ahgross, rriggs, rhalade
Contributed-by: james.laskey@oracle.com
2017-06-05 12:36:15 -03:00
serb
c2b8247563 8180015: Cleaner AWT robot handling
Reviewed-by: prr, mschoene, rhalade
2017-06-01 15:15:26 -07:00
serb
d9bad0aaa8 8179990: Cleaner palette entry handling
Reviewed-by: prr, mschoene, rhalade
2017-05-17 18:22:54 -07:00
prr
f51770e6b8 8180011: Cleaner native graphics device handling
Reviewed-by: serb, mschoene, rhalade
2017-05-17 14:57:10 -07:00
prr
66f9be5fc1 8179533: Cleaner print job handling
Reviewed-by: serb, mschoene, rhalade
2017-05-17 14:52:09 -07:00
apetcher
de873cd587 8172525: Improve key keying case
Reviewed-by: mullan, valeriep, rhalade, ahgross
2017-04-28 10:17:46 -04:00
psadhukhan
2d15dc1bb5 8176450: Revise default document styling
Reviewed-by: prr, serb, mschoene
2017-03-23 10:52:00 +05:30
rprotacio
f2f8e940e8 8181664: Improve JVM UTF String handling
Reviewed-by: mschoene, coleenp, rhalade, acorn, gtriantafill
Contributed-by: rachel.protacio@oracle.com
2017-06-12 13:58:09 -04:00
vlivanov
bb48a3f04f 8174962: Better interface invocations
Reviewed-by: jrose, coleenp, ahgross, acorn, iignatyev
2017-05-26 18:39:27 +03:00
rprotacio
46c6dd5e71 8180020: Improve SymbolHashMap entry handling
Reviewed-by: mschoene, coleenp, rhalade
Contributed-by: rachel.protacio@oracle.com
2017-05-25 15:39:32 -04:00
hseigel
a9792e0529 8175932: Improve host instance supports
Reviewed-by: coleenp, mschoene
Contributed-by: harold.seigel@oracle.com
2017-03-20 13:05:00 -04:00
msheppar
189946f2a3 8160104: CORBA communication improvements
Reviewed-by: rriggs, dfuchs
2017-09-03 16:08:13 +01:00
1303 changed files with 65723 additions and 13245 deletions

7
.gitignore vendored Normal file
View File

@@ -0,0 +1,7 @@
JTwork
JTreport
*.class
.idea/workspace.xml
build/
# Project exclude paths
/jb/project/java-gradle/.gradle/

40
.hgtags
View File

@@ -502,3 +502,43 @@ ea900a7dc7d77dee30865c60eabd87fc24b1037c jdk-11+24
945ba9278a272a5477ffb1b3ea1b04174fed8036 jdk-11+26
9d7d74c6f2cbe522e39fa22dc557fdd3f79b32ad jdk-11+27
76072a077ee1d815152d45d1692c4b36c53c5c49 jdk-11+28
c01cc45790f871adec30acc90742b521d57a2fff jdk-11.0.1+0
1353ec839c82de926bfacd2c7976b6b652d4afb0 jdk-11.0.1+1
a285bd7cfedb40cb3086e61e17fc04c96b739d03 jdk-11.0.1+2
a285bd7cfedb40cb3086e61e17fc04c96b739d03 jdk-11.0.1+2
0000000000000000000000000000000000000000 jdk-11.0.1+2
fc55f0667af5ea3b21e40a59e2a88b1b82e65e62 jdk-11.0.1+2
781b5d8f2f75ae4dfdafc85630e5dbd31e324ed1 jdk-11.0.1+3
b5b1dd7e6f9d86aedf7141e9279342fae257bd67 jdk-11.0.1+4
d6efeebf554c918bfab50f89939eb11121e18432 jdk-11.0.1+5
db768cfe2141b3eb9ef53d7104002a0532c8c977 jdk-11.0.1+6
88a221c0bad0cee441767106776628550d660a82 jdk-11.0.1+7
c2b23a17d3ff92235aed8e8d04642d7a6eaecf54 jdk-11.0.1+8
adb9933aa8c68e6dec6b441133f3955fe7366206 jdk-11.0.1+9
a86e14193fc8ea98835fd3e2f867447164c7af53 jdk-11.0.1+10
0343f9aacae2d4a9e6df4e61087837166a6a477c jdk-11.0.1+11
c0431cf9c38e5c56eedc680e007a94c4279a8f13 jdk-11.0.1+12
8513ac27b65198d2e6562fb7da6e9c99b9fdcf51 jdk-11.0.1+13
7da060835810b5fbd4a7493ea1c98e9a4338f30d jdk-11.0.2+0
2be95a1bf50877cafba791c2f342953bd4a6412e jdk-11.0.2+1
b4b16f510f48e2dd4bea007b60fddf69af0f6c10 jdk-11.0.2+2
8a8606a3bdf2dbe0698bef375e6a4b47df0efb1a jdk-11.0.2+3
0db90dec8c39bc38058afa11b7fda607ee259d01 jdk-11.0.2+4
ff1f7723c4e88822fd60bcacd55824e1d3da6d36 jdk-11.0.2+5
c6fd7ff3e96f3e6f4913d026a90c6c454a7a35c8 jdk-11.0.2+6
a01e0cc0105972acc3b5e213dbe2b84acaee5be3 jdk-11.0.2+7
a01e0cc0105972acc3b5e213dbe2b84acaee5be3 jdk-11.0.2-ga
fe85e2f43a1c893cb410308106b0f31b814aebb8 jdk-11.0.2+8
144d476b6efe527c5e9ebf19af93398913c5450f jdk-11.0.2+9
a01e0cc0105972acc3b5e213dbe2b84acaee5be3 jdk-11.0.2-ga
0000000000000000000000000000000000000000 jdk-11.0.2-ga
144d476b6efe527c5e9ebf19af93398913c5450f jdk-11.0.2-ga
98e7354165d3a2443a8b845a5a526cc55d1b0dd7 jdk-11.0.3+0
cd1c042181e934a1a91f9ee59a0066f64c8bad7a jdk-11.0.3+1
9de3f198995c6c384fd6431c97089c311ec6a7ff jdk-11.0.3+2
d17a1764a0f318ab72beadb589c998d40951493a jdk-11.0.3+3
43d6759c3b2e36c1118e9753a080372294e1f17a jdk-11.0.3+4
c9865fee1a6d39a7bd2a5313f54c812d9a0852f5 jdk-11.0.3+5
8e139b8b4f62c0a1c4b13fa216f6fd975df81c1c jdk-11.0.3+6
175eb80c253addb5b49a91c53daa7e204f124581 jdk-11.0.3+7
175eb80c253addb5b49a91c53daa7e204f124581 jdk-11.0.3-ga

5
.idea/codeStyles/Project.xml generated Normal file
View File

@@ -0,0 +1,5 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<option name="LINE_SEPARATOR" value="&#10;" />
</code_scheme>
</component>

5
.idea/codeStyles/codeStyleConfig.xml generated Normal file
View File

@@ -0,0 +1,5 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
</state>
</component>

9
.idea/copyright/JetBrains.xml generated Normal file
View File

@@ -0,0 +1,9 @@
<component name="CopyrightManager">
<copyright>
<option name="notice" value="Copyright 2000-&amp;#36;today.year JetBrains s.r.o.&#10;&#10;Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);&#10;you may not use this file except in compliance with the License.&#10;You may obtain a copy of the License at&#10;&#10;http://www.apache.org/licenses/LICENSE-2.0&#10;&#10;Unless required by applicable law or agreed to in writing, software&#10;distributed under the License is distributed on an &quot;AS IS&quot; BASIS,&#10;WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#10;See the License for the specific language governing permissions and&#10;limitations under the License." />
<option name="keyword" value="Copyright" />
<option name="allowReplaceKeyword" value="JetBrains" />
<option name="myName" value="JetBrains" />
<option name="myLocal" value="true" />
</copyright>
</component>

3
.idea/copyright/profiles_settings.xml generated Normal file
View File

@@ -0,0 +1,3 @@
<component name="CopyrightManager">
<settings default="JetBrains" />
</component>

6
.idea/vcs.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

60
README.md Normal file
View File

@@ -0,0 +1,60 @@
[![official JetBrains project](http://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
# Downloads
|Windows-x64 |macOS |Linux-x64 |
|-------------|-------------|-------------|
|<a href="https://bintray.com/jetbrains/intellij-jdk/openjdk9-windows-x64/_latestVersion"> <img src="https://api.bintray.com/packages/jetbrains/intellij-jdk/openjdk9-windows-x64/images/download.svg"/></a>|<a href="https://bintray.com/jetbrains/intellij-jdk/openjdk9-osx-x64/_latestVersion"> <img src="https://api.bintray.com/packages/jetbrains/intellij-jdk/openjdk9-osx-x64/images/download.svg"/></a>|<a href="https://bintray.com/jetbrains/intellij-jdk/openjdk9-linux-x64/_latestVersion"><img src="https://api.bintray.com/packages/jetbrains/intellij-jdk/openjdk9-linux-x64/images/download.svg"/></a>|
# How JetBrains Runtime is organised
## Workspaces
[github.com/JetBrains/JetBrainsRuntime](https://github.com/JetBrains/JetBrainsRuntime)
## Getting sources
__OSX, Linux:__
```
git config --global core.autocrlf input
git clone git@github.com:JetBrains/JetBrainsRuntime.git
```
__Windows:__
```
git config --global core.autocrlf false
git clone git@github.com:JetBrains/JetBrainsRuntime.git
```
# Configure Local Build Environment
## Linux (docker)
```
$ cd jb/project/docker
$ docker build .
...
Successfully built 942ea9900054
$ docker run -v `pwd`../../../../:/JetBrainsRuntime -it 942ea9900054
# cd /JetBrainsRuntime
# sh ./configure
# make images CONF=linux-x86_64-normal-server-release
```
## Linux (Ubuntu 18.10 desktop)
```
$ sudo apt-get install autoconf make build-essential libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev install libcups2-dev libfontconfig1-dev libasound2-dev
$ cd JetBrainsRuntime
$ sh ./configure --disable-warnings-as-errors
$ make images
```
## Windows
#### TBD
## OSX
#### TBD
## Contribution
We will be happy to receive your pull requests. Before you submit one, please sign our Contributor License Agreement (CLA) https://www.jetbrains.com/agreements/cla/

View File

@@ -0,0 +1,9 @@
FROM centos:7
RUN yum -y install zip bzip2 unzip tar wget make autoconf automake libtool gcc gcc-c++ libstdc++-devel alsa-devel cups-devel xorg-x11-devel libjpeg62-devel giflib-devel freetype-devel file which libXtst-devel libXt-devel libXrender-devel alsa-lib-devel fontconfig-devel
# Install Java 11
RUN wget --no-check-certificate -q --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/11.0.1+13/90cf5d8f270a4347a95050320eef3fb7/jdk-11.0.1_linux-x64_bin.tar.gz" \
-O - | tar xz -C /
ENV JAVA_HOME /jdk-11.0.1
ENV PATH $JAVA_HOME/bin:$PATH

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,30 @@
# common for all OS
set(CMAKE_CXX_STANDARD 98)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_GNU_SOURCE -D_REENTRANT -DVM_LITTLE_ENDIAN -D_LP64 -DTARGET_ARCH_x86 ")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DINCLUDE_SUFFIX_CPU=_x86 -DAMD64 -DHOTSPOT_LIB_ARCH='amd64' -DCOMPILER1 -DCOMPILER2")
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTARGET_COMPILER_gcc")
endif ()
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DLINUX -DTARGET_OS_FAMILY_linux -DTARGET_COMPILER_gcc -D_GNU_SOURCE")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DLINUX -DTARGET_OS_FAMILY_linux -DTARGET_COMPILER_gcc -D_GNU_SOURCE")
endif ()
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_ALLBSD_SOURCE -DTARGET_OS_FAMILY_bsd")
endif ()
if ("${CMAKE_SYSTEM_NAME}" MATCHES "CYGWIN") #not shure about TARGET_COMPILER
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTARGET_COMPILER_visCPP -DWIN64 -D_WINDOWS -DTARGET_OS_FAMILY_windows")
endif ()
add_custom_target(configure
COMMAND bash configure
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../../../)
add_custom_target(build_images
COMMAND make COMPILER_WARNINGS_FATAL=false images
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../../../
DEPENDS ${SOURCE_FILES})

2
jb/project/java-gradle/.idea/.gitignore generated vendored Normal file
View File

@@ -0,0 +1,2 @@
# Default ignored files
/workspace.xml

View File

@@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Palette2">
<group name="Swing">
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
</item>
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
</item>
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
</item>
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
<initial-values>
<property name="text" value="Button" />
</initial-values>
</item>
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="RadioButton" />
</initial-values>
</item>
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="CheckBox" />
</initial-values>
</item>
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
<initial-values>
<property name="text" value="Label" />
</initial-values>
</item>
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
</item>
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
</item>
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
<preferred-size width="-1" height="20" />
</default-constraints>
</item>
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
</item>
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
</item>
</group>
</component>
</project>

6
jb/project/java-gradle/.idea/vcs.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../../.." vcs="Git" />
</component>
</project>

View File

@@ -0,0 +1,136 @@
apply plugin: 'java'
import org.gradle.internal.os.OperatingSystem
repositories {
mavenCentral()
}
def test_jvm = {
if (project.hasProperty('jbsdkhome')) {
file(jbsdkhome + (OperatingSystem.current().isWindows()?"/bin/java.exe" : "/bin/java")).absolutePath
} else {
if (OperatingSystem.current().isMacOsX()) {
file('../../../build/macosx-x86_64-normal-server-release/images/jdk-bundle/jdk-11.0.3.jdk/Contents/Home/bin/java').absolutePath
} else if (OperatingSystem.current().isLinux()) {
file('../../../build/linux-x86_64-normal-server-release/images/jdk/bin/java').absolutePath
} else {
file('../../../build/windows-x86_64-normal-server-release/images/jdk/bin/java.exe').absolutePath
}
}
}
dependencies {
testCompile('junit:junit:4.12'){
exclude group: 'org.hamcrest'
}
testCompile 'org.hamcrest:hamcrest-library:1.3'
testCompile 'net.java.dev.jna:jna:4.4.0'
testCompile 'com.twelvemonkeys.imageio:imageio-tiff:3.3.2'
testCompile 'org.apache.commons:commons-lang3:3.0'
}
def jdk_modules = ["java.base", "java.logging", "java.prefs",
"java.se.ee", "java.sql", "java.datatransfer",
"java.management", "java.rmi", "java.security.jgss",
"java.sql.rowset", "java.desktop", "java.management.rmi",
"java.scripting", "java.security.sasl", "java.transaction",
"java.instrument", "java.naming", "java.se",
"java.smartcardio", "java.xml.crypto"]
def jdk_class_dirs = []
jdk_modules.collect(jdk_class_dirs) {
new File("../../../src/" + it + "/share/classes")
}
if (OperatingSystem.current().isMacOsX())
jdk_modules.collect(jdk_class_dirs) {
"../../../src/" + it + "/macosx/classes"
}
else if (OperatingSystem.current().isLinux()) {
jdk_modules.collect(jdk_class_dirs) {
"../../../src/" + it + "/solaris/classes"
}
jdk_modules.collect(jdk_class_dirs) {
"../../../src/" + it + "/unix/classes"
}
} else
jdk_modules.collect(jdk_class_dirs) {
"../../../src/" + it + "/windows/classes"
}
sourceSets.main.java.srcDirs = jdk_class_dirs
sourceSets {
test {
java {
srcDir "../../../test/jdk/jbu"
}
}
}
test.dependsOn.clear()
test.dependsOn tasks.compileTestJava
test {
systemProperty "jb.java2d.metal", "true"
systemProperty "testdata", file('../../../test/jdk/jbu/testdata').absolutePath
// Generate golden images for DroidFontTest and MixedTextTest
// systemProperty "gentestdata", ""
// Enable Java2D logging (https://confluence.jetbrains.com/display/JRE/Java2D+Rendering+Logging)
// systemProperty "sun.java2d.trace", "log"
// systemProperty "sun.java2d.debugfonts", "warn"
// systemProperty "sun.java2d.trace", "log,pimpl"
outputs.upToDateWhen { false }
executable = test_jvm()
// Enable async/dtrace profiler
jvmArgs "-XX:+PreserveFramePointer"
// Enable native J2D logging (only in debug build)
// Can be turned on for J2D by adding "#define DEBUG 1" into jdk/src/share/native/sun/java2d/Trace.h
// environment 'J2D_TRACE_LEVEL', '4'
}
def buildDir = project.buildscript.sourceFile.parentFile.parentFile.parentFile.parentFile
def make_cmd = "make"
if (OperatingSystem.current().isWindows()) {
def cyg_make_cmd = new File("c:/cygwin64/bin/make.exe")
if (cyg_make_cmd.exists()) make_cmd = cyg_make_cmd.absolutePath
}
def test_run = false
task make_images {
doLast {
if (!test_run) {
def pb = new ProcessBuilder().command(make_cmd.toString(), "-C", buildDir.absolutePath, "images")
def proc = pb.redirectErrorStream(true).start()
proc.inputStream.eachLine { println it }
assert proc.waitFor() == 0
}
}
}
task make_clean {
doLast {
def pb = new ProcessBuilder().command(make_cmd.toString(), "-C", buildDir.absolutePath, "clean")
def proc = pb.redirectErrorStream(true).start()
proc.inputStream.eachLine { println it }
assert proc.waitFor() == 0
}
}
task run_test {
doLast {
test_run = true
}
}
tasks.cleanTest.dependsOn tasks.run_test
classes.dependsOn.clear()
classes.dependsOn tasks.make_images
tasks.cleanClasses.dependsOn tasks.make_clean

Binary file not shown.

View File

@@ -0,0 +1,6 @@
#Thu Dec 06 20:31:44 MSK 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-all.zip

172
jb/project/java-gradle/gradlew vendored Executable file
View File

@@ -0,0 +1,172 @@
#!/usr/bin/env sh
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn () {
echo "$*"
}
die () {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
NONSTOP* )
nonstop=true
;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Escape application args
save () {
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
echo " "
}
APP_ARGS=$(save "$@")
# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
cd "$(dirname "$0")"
fi
exec "$JAVACMD" "$@"

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

47
jb/tests/tests.iml Normal file
View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<content url="file://$MODULE_DIR$/../../../test/java/awt/Graphics2D">
<sourceFolder url="file://$MODULE_DIR$/../../../test/java/awt/Graphics2D" isTestSource="false" />
</content>
<content url="file://$MODULE_DIR$/../../../test/sun/java2d">
<sourceFolder url="file://$MODULE_DIR$/../../../test/sun/java2d" isTestSource="false" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="inheritedJdk" />
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="file://$APPLICATION_HOME_DIR$/lib/junit-4.12.jar" />
</CLASSES>
<JAVADOC />
<SOURCES />
<jarDirectory url="file://$APPLICATION_HOME_DIR$/lib/junit-4.12.jar" recursive="false" />
</library>
</orderEntry>
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="file://$APPLICATION_HOME_DIR$/lib/junit.jar" />
</CLASSES>
<JAVADOC />
<SOURCES />
<jarDirectory url="file://$APPLICATION_HOME_DIR$/lib/junit.jar" recursive="false" />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="JUnit4">
<CLASSES>
<root url="jar://$APPLICATION_HOME_DIR$/lib/junit-4.12.jar!/" />
<root url="jar://$APPLICATION_HOME_DIR$/lib/hamcrest-core-1.3.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
</component>
</module>

View File

@@ -83,7 +83,7 @@ java.datatransfer_COPY += flavormap.properties
################################################################################
java.desktop_ADD_JAVAC_FLAGS += -Xdoclint:all/protected,-reference \
'-Xdoclint/package:java.*,javax.*' -Xlint:exports \
'-Xdoclint/package:java.*,javax.*' -Xlint:exports -Xlint:-serial \
--doclint-format html4
java.desktop_COPY += .gif .png .wav .txt .xml .css .pf
java.desktop_CLEAN += iio-plugin.properties cursors.properties

0
make/CopyFiles.gmk Normal file
View File

View File

@@ -32,6 +32,31 @@ include FindTests.gmk
# We will always run multiple tests serially
.NOTPARALLEL:
################################################################################
# Setup global test running parameters
################################################################################
# Each factor variable comes in 3 variants. The first one is reserved for users
# to use on command line. The other two are for predifined configurations in JDL
# and for machine specific configurations respectively.
TEST_JOBS_FACTOR ?= 1
TEST_JOBS_FACTOR_JDL ?= 1
TEST_JOBS_FACTOR_MACHINE ?= 1
ifeq ($(TEST_JOBS), 0)
# Concurrency based on min(cores / 2, 12) * TEST_JOBS_FACTOR
TEST_JOBS := $(shell $(AWK) \
'BEGIN { \
c = $(NUM_CORES) / 2; \
if (c > 12) c = 12; \
c = c * $(TEST_JOBS_FACTOR); \
c = c * $(TEST_JOBS_FACTOR_JDL); \
c = c * $(TEST_JOBS_FACTOR_MACHINE); \
if (c < 1) c = 1; \
printf "%.0f", c; \
}')
endif
################################################################################
# Parse global control variables
################################################################################
@@ -143,17 +168,6 @@ endif
# Component-specific Jtreg settings
################################################################################
ifeq ($(TEST_JOBS), 0)
# If TEST_JOBS is not specified, hotspot fallback default is
# min(num_cores / 2, 12).
hotspot_JTREG_JOBS := $(shell $(EXPR) $(NUM_CORES) / 2)
ifeq ($(hotspot_JTREG_JOBS), 0)
hotspot_JTREG_JOBS := 1
else ifeq ($(shell $(EXPR) $(hotspot_JTREG_JOBS) \> 12), 1)
hotspot_JTREG_JOBS := 12
endif
endif
hotspot_JTREG_MAX_MEM := 0
hotspot_JTREG_ASSERT := false
hotspot_JTREG_NATIVEPATH := $(TEST_IMAGE_DIR)/hotspot/jtreg/native
@@ -165,6 +179,8 @@ langtools_JTREG_PROBLEM_LIST += $(TOPDIR)/test/langtools/ProblemList.txt
nashorn_JTREG_PROBLEM_LIST += $(TOPDIR)/test/nashorn/ProblemList.txt
hotspot_JTREG_PROBLEM_LIST += $(TOPDIR)/test/hotspot/jtreg/ProblemList.txt
langtools_JTREG_MAX_MEM := 768m
################################################################################
# Parse test selection
#
@@ -476,10 +492,8 @@ define SetupRunJtregTestBody
$$(eval $$(call SetJtregValue,$1,JTREG_PROBLEM_LIST))
ifneq ($(TEST_JOBS), 0)
# User has specified TEST_JOBS, use that as fallback default
$$(eval $$(call SetJtregValue,$1,JTREG_JOBS,$$(TEST_JOBS)))
else
# Use JOBS as default (except for hotspot)
$$(eval $$(call SetJtregValue,$1,JTREG_JOBS,$$(JOBS)))
endif

View File

@@ -106,11 +106,17 @@ AC_DEFUN([FLAGS_SETUP_SHARED_LIBS],
AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
[
# By default don't set any specific assembler debug
# info flags for toolchains unless we know they work.
# See JDK-8207057.
ASFLAGS_DEBUG_SYMBOLS=""
# Debug symbols
if test "x$TOOLCHAIN_TYPE" = xgcc; then
CFLAGS_DEBUG_SYMBOLS="-g"
ASFLAGS_DEBUG_SYMBOLS="-g"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
CFLAGS_DEBUG_SYMBOLS="-g"
ASFLAGS_DEBUG_SYMBOLS="-g"
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
# -g0 enables debug symbols without disabling inlining.
CFLAGS_DEBUG_SYMBOLS="-g0 -xs"
@@ -121,6 +127,7 @@ AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
fi
AC_SUBST(CFLAGS_DEBUG_SYMBOLS)
AC_SUBST(ASFLAGS_DEBUG_SYMBOLS)
])
AC_DEFUN([FLAGS_SETUP_WARNINGS],
@@ -366,6 +373,20 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS],
FLAGS_SETUP_CFLAGS_CPU_DEP([BUILD], [OPENJDK_BUILD_])
COMPILER_FP_CONTRACT_OFF_FLAG="-ffp-contract=off"
# Check that the compiler supports -ffp-contract=off flag
# Set FDLIBM_CFLAGS to -ffp-contract=off if it does. Empty
# otherwise.
# These flags are required for GCC-based builds of
# fdlibm with optimization without losing precision.
# Notably, -ffp-contract=off needs to be added for GCC >= 4.6.
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${COMPILER_FP_CONTRACT_OFF_FLAG}],
IF_TRUE: [FDLIBM_CFLAGS=${COMPILER_FP_CONTRACT_OFF_FLAG}],
IF_FALSE: [FDLIBM_CFLAGS=""])
fi
AC_SUBST(FDLIBM_CFLAGS)
# Tests are only ever compiled for TARGET
CFLAGS_TESTLIB="$CFLAGS_JDKLIB"
CXXFLAGS_TESTLIB="$CXXFLAGS_JDKLIB"
@@ -473,8 +494,8 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
fi
if test "x$TOOLCHAIN_TYPE" = xgcc; then
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -fcheck-new"
TOOLCHAIN_CFLAGS_JDK="-pipe"
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -fcheck-new -fstack-protector"
TOOLCHAIN_CFLAGS_JDK="-pipe -fstack-protector"
TOOLCHAIN_CFLAGS_JDK_CONLY="-fno-strict-aliasing" # technically NOT for CXX (but since this gives *worse* performance, use no-strict-aliasing everywhere!)
CXXSTD_CXXFLAG="-std=gnu++98"

View File

@@ -338,17 +338,18 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
fi
fi
# Only enable ZGC on Linux x86_64
AC_MSG_CHECKING([if zgc should be built])
if HOTSPOT_CHECK_JVM_FEATURE(zgc); then
if test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then
AC_MSG_RESULT([yes])
else
DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES zgc"
AC_MSG_RESULT([no, platform not supported])
fi
# Only enable ZGC on supported platforms
AC_MSG_CHECKING([if zgc can be built])
if test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES zgc"
AC_MSG_RESULT([no, platform not supported])
fi
# Disable unsupported GCs for Zero
if HOTSPOT_CHECK_JVM_VARIANT(zero); then
DISABLED_JVM_FEATURES="$DISABLED_JVM_FEATURES epsilongc g1gc zgc"
fi
# Turn on additional features based on other parts of configure
@@ -482,7 +483,7 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_FEATURES],
fi
# All variants but minimal (and custom) get these features
NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES cmsgc g1gc parallelgc serialgc epsilongc jni-check jvmti management nmt services vm-structs"
NON_MINIMAL_FEATURES="$NON_MINIMAL_FEATURES cmsgc g1gc parallelgc serialgc epsilongc jni-check jvmti management nmt services vm-structs zgc"
AC_MSG_CHECKING([if cds should be enabled])
if test "x$ENABLE_CDS" = "xtrue"; then

View File

@@ -139,15 +139,18 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
AC_MSG_ERROR([--with-version-string must have a value])
elif test "x$with_version_string" != x; then
# Additional [] needed to keep m4 from mangling shell constructs.
if [ [[ $with_version_string =~ ^([0-9]+)(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?(-([a-zA-Z]+))?((\+)([0-9]+)?(-([-a-zA-Z0-9.]+))?)?$ ]] ]; then
if [ [[ $with_version_string =~ ^([0-9]+)(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?(-([a-zA-Z]+))?((\+)([0-9]+)?(-([-a-zA-Z0-9.]+))?)?$ ]] ]; then
VERSION_FEATURE=${BASH_REMATCH[[1]]}
VERSION_INTERIM=${BASH_REMATCH[[3]]}
VERSION_UPDATE=${BASH_REMATCH[[5]]}
VERSION_PATCH=${BASH_REMATCH[[7]]}
VERSION_PRE=${BASH_REMATCH[[9]]}
version_plus_separator=${BASH_REMATCH[[11]]}
VERSION_BUILD=${BASH_REMATCH[[12]]}
VERSION_OPT=${BASH_REMATCH[[14]]}
VERSION_EXTRA1=${BASH_REMATCH[[9]]}
VERSION_EXTRA2=${BASH_REMATCH[[11]]}
VERSION_EXTRA3=${BASH_REMATCH[[13]]}
VERSION_PRE=${BASH_REMATCH[[15]]}
version_plus_separator=${BASH_REMATCH[[17]]}
VERSION_BUILD=${BASH_REMATCH[[18]]}
VERSION_OPT=${BASH_REMATCH[[20]]}
# Unspecified numerical fields are interpreted as 0.
if test "x$VERSION_INTERIM" = x; then
VERSION_INTERIM=0
@@ -158,6 +161,15 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
if test "x$VERSION_PATCH" = x; then
VERSION_PATCH=0
fi
if test "x$VERSION_EXTRA1" = x; then
VERSION_EXTRA1=0
fi
if test "x$VERSION_EXTRA2" = x; then
VERSION_EXTRA2=0
fi
if test "x$VERSION_EXTRA3" = x; then
VERSION_EXTRA3=0
fi
if test "x$version_plus_separator" != x \
&& test "x$VERSION_BUILD$VERSION_OPT" = x; then
AC_MSG_ERROR([Version string contains + but both 'BUILD' and 'OPT' are missing])
@@ -327,6 +339,72 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
fi
fi
# The 1st version extra number, if any
AC_ARG_WITH(version-extra1, [AS_HELP_STRING([--with-version-extra1],
[Set 1st version extra number @<:@not specified@:>@])],
[with_version_extra1_present=true], [with_version_extra1_present=false])
if test "x$with_version_extra1_present" = xtrue; then
if test "x$with_version_extra1" = xyes; then
AC_MSG_ERROR([--with-version-extra1 must have a value])
elif test "x$with_version_extra1" = xno; then
# Interpret --without-* as empty string (i.e. 0) instead of the literal "no"
VERSION_EXTRA1=0
elif test "x$with_version_extra1" = x; then
VERSION_EXTRA1=0
else
JDKVER_CHECK_AND_SET_NUMBER(VERSION_EXTRA1, $with_version_extra1)
fi
else
if test "x$NO_DEFAULT_VERSION_PARTS" != xtrue; then
VERSION_EXTRA1=$DEFAULT_VERSION_EXTRA1
fi
fi
# The 2nd version extra number, if any
AC_ARG_WITH(version-extra2, [AS_HELP_STRING([--with-version-extra2],
[Set 2nd version extra number @<:@not specified@:>@])],
[with_version_extra2_present=true], [with_version_extra2_present=false])
if test "x$with_version_extra2_present" = xtrue; then
if test "x$with_version_extra2" = xyes; then
AC_MSG_ERROR([--with-version-extra2 must have a value])
elif test "x$with_version_extra2" = xno; then
# Interpret --without-* as empty string (i.e. 0) instead of the literal "no"
VERSION_EXTRA2=0
elif test "x$with_version_extra2" = x; then
VERSION_EXTRA2=0
else
JDKVER_CHECK_AND_SET_NUMBER(VERSION_EXTRA2, $with_version_extra2)
fi
else
if test "x$NO_DEFAULT_VERSION_PARTS" != xtrue; then
VERSION_EXTRA2=$DEFAULT_VERSION_EXTRA2
fi
fi
# The 3rd version extra number, if any
AC_ARG_WITH(version-extra3, [AS_HELP_STRING([--with-version-extra3],
[Set 3rd version extra number @<:@not specified@:>@])],
[with_version_extra3_present=true], [with_version_extra3_present=false])
if test "x$with_version_extra3_present" = xtrue; then
if test "x$with_version_extra3" = xyes; then
AC_MSG_ERROR([--with-version-extra3 must have a value])
elif test "x$with_version_extra3" = xno; then
# Interpret --without-* as empty string (i.e. 0) instead of the literal "no"
VERSION_EXTRA3=0
elif test "x$with_version_extra3" = x; then
VERSION_EXTRA3=0
else
JDKVER_CHECK_AND_SET_NUMBER(VERSION_EXTRA3, $with_version_extra3)
fi
else
if test "x$NO_DEFAULT_VERSION_PARTS" != xtrue; then
VERSION_EXTRA3=$DEFAULT_VERSION_EXTRA3
fi
fi
# Calculate derived version properties
# Set VERSION_IS_GA based on if VERSION_PRE has a value
@@ -339,9 +417,12 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
# VERSION_NUMBER but always with exactly 4 positions, with 0 for empty positions.
VERSION_NUMBER_FOUR_POSITIONS=$VERSION_FEATURE.$VERSION_INTERIM.$VERSION_UPDATE.$VERSION_PATCH
stripped_version_number=$VERSION_NUMBER_FOUR_POSITIONS
# VERSION_NUMBER but always with all positions, with 0 for empty positions.
VERSION_NUMBER_ALL_POSITIONS=$VERSION_NUMBER_FOUR_POSITIONS.$VERSION_EXTRA1.$VERSION_EXTRA2.$VERSION_EXTRA3
stripped_version_number=$VERSION_NUMBER_ALL_POSITIONS
# Strip trailing zeroes from stripped_version_number
for i in 1 2 3 ; do stripped_version_number=${stripped_version_number%.0} ; done
for i in 1 2 3 4 5 6 ; do stripped_version_number=${stripped_version_number%.0} ; done
VERSION_NUMBER=$stripped_version_number
# The complete version string, with additional build information
@@ -392,6 +473,9 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
AC_SUBST(VERSION_INTERIM)
AC_SUBST(VERSION_UPDATE)
AC_SUBST(VERSION_PATCH)
AC_SUBST(VERSION_EXTRA1)
AC_SUBST(VERSION_EXTRA2)
AC_SUBST(VERSION_EXTRA3)
AC_SUBST(VERSION_PRE)
AC_SUBST(VERSION_BUILD)
AC_SUBST(VERSION_OPT)

View File

@@ -165,6 +165,9 @@ VERSION_FEATURE := @VERSION_FEATURE@
VERSION_INTERIM := @VERSION_INTERIM@
VERSION_UPDATE := @VERSION_UPDATE@
VERSION_PATCH := @VERSION_PATCH@
VERSION_EXTRA1 := @VERSION_EXTRA1@
VERSION_EXTRA2 := @VERSION_EXTRA2@
VERSION_EXTRA3 := @VERSION_EXTRA3@
# The pre-release identifier (string)
VERSION_PRE := @VERSION_PRE@
# The build number (numerical)
@@ -203,6 +206,9 @@ VERSION_CFLAGS := \
-DVERSION_INTERIM=$(VERSION_INTERIM) \
-DVERSION_UPDATE=$(VERSION_UPDATE) \
-DVERSION_PATCH=$(VERSION_PATCH) \
-DVERSION_EXTRA1=$(VERSION_EXTRA1) \
-DVERSION_EXTRA2=$(VERSION_EXTRA2) \
-DVERSION_EXTRA3=$(VERSION_EXTRA3) \
-DVERSION_PRE='"$(VERSION_PRE)"' \
-DVERSION_BUILD=$(VERSION_BUILD) \
-DVERSION_OPT='"$(VERSION_OPT)"' \
@@ -444,6 +450,7 @@ CXXFLAGS_JDKEXE:=@CXXFLAGS_JDKEXE@
LIBJSIG_HASHSTYLE_LDFLAGS := @LIBJSIG_HASHSTYLE_LDFLAGS@
LIBJSIG_NOEXECSTACK_LDFLAGS := @LIBJSIG_NOEXECSTACK_LDFLAGS@
FDLIBM_CFLAGS := @FDLIBM_CFLAGS@
JVM_CFLAGS := @JVM_CFLAGS@
JVM_LDFLAGS := @JVM_LDFLAGS@
JVM_ASFLAGS := @JVM_ASFLAGS@
@@ -534,6 +541,7 @@ COPY_DEBUG_SYMBOLS := @COPY_DEBUG_SYMBOLS@
ZIP_EXTERNAL_DEBUG_SYMBOLS := @ZIP_EXTERNAL_DEBUG_SYMBOLS@
CFLAGS_DEBUG_SYMBOLS:=@CFLAGS_DEBUG_SYMBOLS@
ASFLAGS_DEBUG_SYMBOLS:=@ASFLAGS_DEBUG_SYMBOLS@
#
# Compress (or not) jars

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -27,9 +27,12 @@
DEFAULT_VERSION_FEATURE=11
DEFAULT_VERSION_INTERIM=0
DEFAULT_VERSION_UPDATE=0
DEFAULT_VERSION_UPDATE=3
DEFAULT_VERSION_PATCH=0
DEFAULT_VERSION_DATE=2018-09-25
DEFAULT_VERSION_EXTRA1=0
DEFAULT_VERSION_EXTRA2=0
DEFAULT_VERSION_EXTRA3=0
DEFAULT_VERSION_DATE=2019-04-16
DEFAULT_VERSION_CLASSFILE_MAJOR=55 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_CLASSFILE_MINOR=0
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="10 11"

View File

@@ -251,6 +251,7 @@ define SetupCompileNativeFileBody
$$($$($1_BASE)_SYSROOT_CFLAGS)
$1_BASE_CXXFLAGS := $$($$($1_BASE)_CXXFLAGS) $$($$($1_BASE)_EXTRA_CXXFLAGS) \
$$($$($1_BASE)_SYSROOT_CFLAGS) $$($1_EXTRA_CXXFLAGS)
$1_BASE_ASFLAGS := $$($$($1_BASE)_ASFLAGS) $$($$($1_BASE)_EXTRA_ASFLAGS)
ifneq ($$(filter %.c, $$($1_FILENAME)), )
# Compile as a C file
@@ -266,7 +267,7 @@ define SetupCompileNativeFileBody
$1_DEP_FLAG := $(C_FLAG_DEPS)
else ifneq ($$(filter %.s %.S, $$($1_FILENAME)), )
# Compile as assembler file
$1_FLAGS := $$($$($1_BASE)_ASFLAGS)
$1_FLAGS := $$($1_BASE_ASFLAGS)
$1_COMPILER := $(AS)
$1_DEP_FLAG :=
else ifneq ($$(filter %.cpp %.cc %.mm, $$($1_FILENAME)), )
@@ -576,6 +577,7 @@ define SetupNativeCompilationBody
ifeq ($(COMPILE_WITH_DEBUG_SYMBOLS), true)
$1_EXTRA_CFLAGS += $$(CFLAGS_DEBUG_SYMBOLS)
$1_EXTRA_CXXFLAGS += $$(CFLAGS_DEBUG_SYMBOLS)
$1_EXTRA_ASFLAGS += $$(ASFLAGS_DEBUG_SYMBOLS)
endif
ifneq ($$($1_REORDER), )

View File

@@ -35,7 +35,8 @@ DISABLE_WARNINGS ?= -Xlint:all,-deprecation,-removal,-unchecked,-rawtypes,-cast,
# If warnings needs to be non-fatal for testing purposes use a command like:
# make JAVAC_WARNINGS="-Xlint:all -Xmaxwarns 10000"
JAVAC_WARNINGS ?= -Xlint:all -Werror
#JAVAC_WARNINGS := -Xlint:all -Werror
JAVAC_WARNINGS := -Xlint:all -Xmaxwarns 10000
# The BOOT_JAVAC setup uses the boot jdk compiler to compile the tools
# and the interim javac, to be run by the boot jdk.

View File

@@ -94,7 +94,7 @@ define SetupTestFilesCompilationBody
CFLAGS := $$($1_CFLAGS) $$($1_CFLAGS_$$(name)), \
LDFLAGS := $$($1_LDFLAGS) $$($1_LDFLAGS_$$(name)), \
LIBS := $$($1_LIBS_$$(name)), \
OPTIMIZATION := LOW, \
OPTIMIZATION := $$(if $$($1_OPTIMIZATION_$$(name)),$$($1_OPTIMIZATION_$$(name)),LOW), \
COPY_DEBUG_SYMBOLS := false, \
STRIP_SYMBOLS := false, \
)) \

View File

@@ -709,14 +709,6 @@ var getJibProfilesProfiles = function (input, common, data) {
profiles[openName].artifacts["jdk"].remote));
});
// Enable ZGC in linux-x64-open builds
[ "linux-x64-open" ].forEach(function (name) {
var configureArgs = { configure_args: [ "--with-jvm-features=zgc" ] };
var debugName = name + common.debug_suffix;
profiles[name] = concatObjects(profiles[name], configureArgs);
profiles[debugName] = concatObjects(profiles[debugName], configureArgs);
});
// Generate cmp-baseline profiles for each main profile and their
// corresponding debug profile. This profile does a compare build run with no
// changes to verify that the compare script has a clean baseline
@@ -901,7 +893,7 @@ var getJibProfilesDependencies = function (input, common) {
jtreg: {
server: "javare",
revision: "4.2",
build_number: "b12",
build_number: "b13",
checksum_file: "MD5_VALUES",
file: "jtreg_bin-4.2.zip",
environment_name: "JT_HOME",

View File

@@ -80,3 +80,13 @@ $(eval $(call SetupCopyLegalFiles, COPY_LEGAL, \
TARGETS += $(COPY_LEGAL)
################################################################################
FONTFILE_SRC_DIR := $(TOPDIR)/src/java.desktop/share
FONTFILE_SRCS := $(wildcard $(FONTFILE_SRC_DIR)/fonts/*.ttf) $(FONTFILE_SRC_DIR)/fonts/fonts.dir $(FONTFILE_SRC_DIR)/fonts/font.conf
FONTFILE_TARGET_FILES := $(subst $(FONTFILE_SRC_DIR),$(LIB_DST_DIR),$(FONTFILE_SRCS))
$(LIB_DST_DIR)/fonts/%: $(FONTFILE_SRC_DIR)/fonts/%
$(call install-file)
TARGETS += $(FONTFILE_TARGET_FILES)

View File

@@ -105,11 +105,21 @@ class CharacterData00 extends CharacterData {
}
boolean isJavaIdentifierStart(int ch) {
// isJavaIdentifierStart strictly conforms to code points assigned
// in Unicode 10.0. Since code point {32FF} is not from Unicode 10.0,
// return false.
if(ch == 0x32FF)
return false;
int props = getProperties(ch);
return ((props & $$maskIdentifierInfo) >= $$lowJavaStart);
}
boolean isJavaIdentifierPart(int ch) {
// isJavaIdentifierPart strictly conforms to code points assigned
// in Unicode 10.0. Since code point {32FF} is not from Unicode 10.0,
// return false.
if(ch == 0x32FF)
return false;
int props = getProperties(ch);
return ((props & $$nonzeroJavaPart) != 0);
}
@@ -653,6 +663,21 @@ class CharacterData00 extends CharacterData {
return retval;
}
boolean isDigit(int ch) {
int props = getProperties(ch);
return (props & $$maskType) == Character.DECIMAL_DIGIT_NUMBER;
}
boolean isLowerCase(int ch) {
int props = getProperties(ch);
return (props & $$maskType) == Character.LOWERCASE_LETTER;
}
boolean isUpperCase(int ch) {
int props = getProperties(ch);
return (props & $$maskType) == Character.UPPERCASE_LETTER;
}
boolean isWhitespace(int ch) {
int props = getProperties(ch);
return ((props & $$maskIdentifierInfo) == $$valueJavaWhitespace);

View File

@@ -418,6 +418,21 @@ class CharacterData01 extends CharacterData {
return retval;
}
boolean isDigit(int ch) {
int props = getProperties(ch);
return (props & $$maskType) == Character.DECIMAL_DIGIT_NUMBER;
}
boolean isLowerCase(int ch) {
int props = getProperties(ch);
return (props & $$maskType) == Character.LOWERCASE_LETTER;
}
boolean isUpperCase(int ch) {
int props = getProperties(ch);
return (props & $$maskType) == Character.UPPERCASE_LETTER;
}
boolean isWhitespace(int ch) {
int props = getProperties(ch);
return ((props & $$maskIdentifierInfo) == $$valueJavaWhitespace);

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -217,6 +217,21 @@ class CharacterData02 extends CharacterData {
return retval;
}
boolean isDigit(int ch) {
int props = getProperties(ch);
return (props & $$maskType) == Character.DECIMAL_DIGIT_NUMBER;
}
boolean isLowerCase(int ch) {
int props = getProperties(ch);
return (props & $$maskType) == Character.LOWERCASE_LETTER;
}
boolean isUpperCase(int ch) {
int props = getProperties(ch);
return (props & $$maskType) == Character.UPPERCASE_LETTER;
}
boolean isWhitespace(int ch) {
return (getProperties(ch) & $$maskIdentifierInfo) == $$valueJavaWhitespace;
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -217,6 +217,21 @@ class CharacterData0E extends CharacterData {
return retval;
}
boolean isDigit(int ch) {
int props = getProperties(ch);
return (props & $$maskType) == Character.DECIMAL_DIGIT_NUMBER;
}
boolean isLowerCase(int ch) {
int props = getProperties(ch);
return (props & $$maskType) == Character.LOWERCASE_LETTER;
}
boolean isUpperCase(int ch) {
int props = getProperties(ch);
return (props & $$maskType) == Character.UPPERCASE_LETTER;
}
boolean isWhitespace(int ch) {
int props = getProperties(ch);
return ((props & $$maskIdentifierInfo) == $$valueJavaWhitespace);

View File

@@ -25,6 +25,8 @@
package java.lang;
import jdk.internal.HotSpotIntrinsicCandidate;
/** The CharacterData class encapsulates the large tables found in
Java.lang.Character. */
@@ -78,6 +80,23 @@ class CharacterDataLatin1 extends CharacterData {
return props;
}
@HotSpotIntrinsicCandidate
boolean isDigit(int ch) {
return '0' <= ch && ch <= '9';
}
@HotSpotIntrinsicCandidate
boolean isLowerCase(int ch) {
int props = getProperties(ch);
return (props & $$maskType) == Character.LOWERCASE_LETTER;
}
@HotSpotIntrinsicCandidate
boolean isUpperCase(int ch) {
int props = getProperties(ch);
return (props & $$maskType) == Character.UPPERCASE_LETTER;
}
boolean isOtherLowercase(int ch) {
int props = getPropertiesEx(ch);
return (props & $$maskOtherLowercase) != 0;
@@ -214,6 +233,7 @@ class CharacterDataLatin1 extends CharacterData {
return retval;
}
@HotSpotIntrinsicCandidate
boolean isWhitespace(int ch) {
int props = getProperties(ch);
return ((props & $$maskIdentifierInfo) == $$valueJavaWhitespace);

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -41,47 +41,59 @@ class CharacterDataPrivateUse extends CharacterData {
}
boolean isJavaIdentifierStart(int ch) {
return false;
return false;
}
boolean isJavaIdentifierPart(int ch) {
return false;
return false;
}
boolean isUnicodeIdentifierStart(int ch) {
return false;
return false;
}
boolean isUnicodeIdentifierPart(int ch) {
return false;
return false;
}
boolean isIdentifierIgnorable(int ch) {
return false;
return false;
}
int toLowerCase(int ch) {
return ch;
return ch;
}
int toUpperCase(int ch) {
return ch;
return ch;
}
int toTitleCase(int ch) {
return ch;
return ch;
}
int digit(int ch, int radix) {
return -1;
return -1;
}
int getNumericValue(int ch) {
return -1;
return -1;
}
boolean isDigit(int ch) {
return false;
}
boolean isLowerCase(int ch) {
return false;
}
boolean isUpperCase(int ch) {
return false;
}
boolean isWhitespace(int ch) {
return false;
return false;
}
byte getDirectionality(int ch) {
@@ -91,7 +103,7 @@ class CharacterDataPrivateUse extends CharacterData {
}
boolean isMirrored(int ch) {
return false;
return false;
}
static final CharacterData instance = new CharacterDataPrivateUse();

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -35,59 +35,71 @@ class CharacterDataUndefined extends CharacterData {
}
int getType(int ch) {
return Character.UNASSIGNED;
return Character.UNASSIGNED;
}
boolean isJavaIdentifierStart(int ch) {
return false;
return false;
}
boolean isJavaIdentifierPart(int ch) {
return false;
return false;
}
boolean isUnicodeIdentifierStart(int ch) {
return false;
return false;
}
boolean isUnicodeIdentifierPart(int ch) {
return false;
return false;
}
boolean isIdentifierIgnorable(int ch) {
return false;
return false;
}
int toLowerCase(int ch) {
return ch;
return ch;
}
int toUpperCase(int ch) {
return ch;
return ch;
}
int toTitleCase(int ch) {
return ch;
return ch;
}
int digit(int ch, int radix) {
return -1;
return -1;
}
int getNumericValue(int ch) {
return -1;
return -1;
}
boolean isDigit(int ch) {
return false;
}
boolean isLowerCase(int ch) {
return false;
}
boolean isUpperCase(int ch) {
return false;
}
boolean isWhitespace(int ch) {
return false;
return false;
}
byte getDirectionality(int ch) {
return Character.DIRECTIONALITY_UNDEFINED;
return Character.DIRECTIONALITY_UNDEFINED;
}
boolean isMirrored(int ch) {
return false;
return false;
}
static final CharacterData instance = new CharacterDataUndefined();

View File

@@ -32,7 +32,7 @@ formatVersion=3
# Version of the currency code information in this class.
# It is a serial number that accompanies with each amendment.
dataVersion=167
dataVersion=169
# List of all valid ISO 4217 currency codes.
# To ensure compatibility, do not remove codes.
@@ -54,7 +54,7 @@ all=ADP020-AED784-AFA004-AFN971-ALL008-AMD051-ANG532-AOA973-ARS032-ATS040-AUD036
SBD090-SCR690-SDD736-SDG938-SEK752-SGD702-SHP654-SIT705-SKK703-SLL694-SOS706-\
SRD968-SRG740-SSP728-STD678-STN930-SVC222-SYP760-SZL748-THB764-TJS972-TMM795-TMT934-TND788-TOP776-\
TPE626-TRL792-TRY949-TTD780-TWD901-TZS834-UAH980-UGX800-USD840-USN997-USS998-UYI940-\
UYU858-UZS860-VEB862-VEF937-VND704-VUV548-WST882-XAF950-XAG961-XAU959-XBA955-\
UYU858-UZS860-VEB862-VEF937-VES928-VND704-VUV548-WST882-XAF950-XAG961-XAU959-XBA955-\
XBB956-XBC957-XBD958-XCD951-XDR960-XFO000-XFU000-XOF952-XPD964-XPF953-\
XPT962-XSU994-XTS963-XUA965-XXX999-YER886-YUM891-ZAR710-ZMK894-ZMW967-ZWD716-ZWL932-\
ZWN942-ZWR935
@@ -509,7 +509,7 @@ SR=SRD
SJ=NOK
# Sint Maarten (Dutch part)
SX=ANG
# SWAZILAND
# ESWATINI
SZ=SZL
# SWEDEN
SE=SEK
@@ -564,7 +564,7 @@ UZ=UZS
# VANUATU
VU=VUV
# VENEZUELA (BOLIVARIAN REPUBLIC OF)
VE=VEF
VE=VES
# VIET NAM
VN=VND
# VIRGIN ISLANDS, BRITISH

View File

@@ -243,7 +243,7 @@ sequence.fallback=symbols,\
# Exclusion Ranges
exclusion.alphabetic=0700-1cff,1d80-1e9f,1f00-2017,2020-20ab,20ad-20b8,20bb-20bc,20be-f8ff
exclusion.alphabetic=0700-1cff,1d80-1e9f,1f00-2017,2020-20ab,20ad-20b8,20bb-20bc,20be-24ff,2501-2501,2503-250b,250d-250f,2511-2513,2515-2517,2519-251b,251d-2523,2525-252b,252d-2533,2535-253b,253d-254f,256d-f8ff
exclusion.chinese-gb18030=0390-03d6,2200-22ef,2701-27be
exclusion.hebrew=0041-005a,0060-007a,007f-00ff,20ac-20ac

View File

@@ -21,4 +21,4 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
#
tzdata2018e
tzdata2018g

View File

@@ -21,6 +21,8 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# tzdb data for Africa and environs
# This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson.
@@ -29,7 +31,7 @@
# tz@iana.org for general use in the future). For more, please see
# the file CONTRIBUTING in the tz distribution.
# From Paul Eggert (2017-04-09):
# From Paul Eggert (2018-05-27):
#
# Unless otherwise specified, the source for data through 1990 is:
# Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition),
@@ -74,13 +76,15 @@
# I vaguely recall 'WAT' also being used for -01 in the past but
# cannot now come up with solid citations.
#
# I invented the following abbreviations; corrections are welcome!
# +02 WAST West Africa Summer Time (no longer used)
# +03 CAST Central Africa Summer Time (no longer used)
# +03 SAST South Africa Summer Time (no longer used)
# I invented the following abbreviations in the 1990s:
# +02 WAST West Africa Summer Time
# +03 CAST Central Africa Summer Time
# +03 SAST South Africa Summer Time
# +03 EAT East Africa Time
# 'EAT' also seems to have caught on; the others are rare but are paired
# with better-attested non-DST abbreviations.
# 'EAT' seems to have caught on and is in current timestamps, and though
# the other abbreviations are rarer and are only in past timestamps,
# they are paired with better-attested non-DST abbreviations.
# Corrections are welcome.
# Algeria
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
@@ -385,6 +389,13 @@ Zone Africa/Cairo 2:05:09 - LMT 1900 Oct
# Eritrea
# Ethiopia
# See Africa/Nairobi.
#
# Unfortunately tzdb records only Western clock time in use in Ethiopia,
# as the tzdb format is not up to properly recording a common Ethiopian
# timekeeping practice that is based on solar time. See:
# Mortada D. If you have a meeting in Ethiopia, you'd better double
# check the time. PRI's The World. 2015-01-30 15:15 -05.
# https://www.pri.org/stories/2015-01-30/if-you-have-meeting-ethiopia-you-better-double-check-time
# Gabon
# See Africa/Lagos.
@@ -856,94 +867,61 @@ Zone Indian/Mauritius 3:50:00 - LMT 1907 # Port Louis
# <https://lnt.ma/le-maroc-reculera-dune-heure-le-dimanche-14-juin/> agrees
# with the patch.
# From Paul Eggert (2015-06-08):
# For now, guess that later spring and fall transitions will use 2015's rules,
# and guess that Morocco will switch to standard time at 03:00 the last
# Sunday before Ramadan, and back to DST at 02:00 the first Sunday after
# Ramadan. To implement this, transition dates for 2016 through 2037 were
# determined by running the following program under GNU Emacs 24.3, with the
# results integrated by hand into the table below.
# (let ((islamic-year 1437))
# (require 'cal-islam)
# (while (< islamic-year 1460)
# (let ((a (calendar-islamic-to-absolute (list 9 1 islamic-year)))
# (b (calendar-islamic-to-absolute (list 10 1 islamic-year)))
# (sunday 0))
# (while (/= sunday (mod (setq a (1- a)) 7)))
# (while (/= sunday (mod b 7))
# (setq b (1+ b)))
# (setq a (calendar-gregorian-from-absolute a))
# (setq b (calendar-gregorian-from-absolute b))
# (insert
# (format
# (concat "Rule\tMorocco\t%d\tonly\t-\t%s\t%2d\t 3:00\t0\t-\n"
# "Rule\tMorocco\t%d\tonly\t-\t%s\t%2d\t 2:00\t1:00\tS\n")
# (car (cdr (cdr a))) (calendar-month-name (car a) t) (car (cdr a))
# (car (cdr (cdr b))) (calendar-month-name (car b) t) (car (cdr b)))))
# (setq islamic-year (+ 1 islamic-year))))
# From Mohamed Essedik Najd (2018-10-26):
# Today, a Moroccan government council approved the perpetual addition
# of 60 minutes to the regular Moroccan timezone.
# From Brian Inglis (2018-10-26):
# http://www.maroc.ma/fr/actualites/le-conseil-de-gouvernement-adopte-un-projet-de-decret-relatif-lheure-legale-stipulant-le
# RULE NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule Morocco 1939 only - Sep 12 0:00 1:00 S
Rule Morocco 1939 only - Sep 12 0:00 1:00 -
Rule Morocco 1939 only - Nov 19 0:00 0 -
Rule Morocco 1940 only - Feb 25 0:00 1:00 S
Rule Morocco 1940 only - Feb 25 0:00 1:00 -
Rule Morocco 1945 only - Nov 18 0:00 0 -
Rule Morocco 1950 only - Jun 11 0:00 1:00 S
Rule Morocco 1950 only - Jun 11 0:00 1:00 -
Rule Morocco 1950 only - Oct 29 0:00 0 -
Rule Morocco 1967 only - Jun 3 12:00 1:00 S
Rule Morocco 1967 only - Jun 3 12:00 1:00 -
Rule Morocco 1967 only - Oct 1 0:00 0 -
Rule Morocco 1974 only - Jun 24 0:00 1:00 S
Rule Morocco 1974 only - Jun 24 0:00 1:00 -
Rule Morocco 1974 only - Sep 1 0:00 0 -
Rule Morocco 1976 1977 - May 1 0:00 1:00 S
Rule Morocco 1976 1977 - May 1 0:00 1:00 -
Rule Morocco 1976 only - Aug 1 0:00 0 -
Rule Morocco 1977 only - Sep 28 0:00 0 -
Rule Morocco 1978 only - Jun 1 0:00 1:00 S
Rule Morocco 1978 only - Jun 1 0:00 1:00 -
Rule Morocco 1978 only - Aug 4 0:00 0 -
Rule Morocco 2008 only - Jun 1 0:00 1:00 S
Rule Morocco 2008 only - Jun 1 0:00 1:00 -
Rule Morocco 2008 only - Sep 1 0:00 0 -
Rule Morocco 2009 only - Jun 1 0:00 1:00 S
Rule Morocco 2009 only - Jun 1 0:00 1:00 -
Rule Morocco 2009 only - Aug 21 0:00 0 -
Rule Morocco 2010 only - May 2 0:00 1:00 S
Rule Morocco 2010 only - May 2 0:00 1:00 -
Rule Morocco 2010 only - Aug 8 0:00 0 -
Rule Morocco 2011 only - Apr 3 0:00 1:00 S
Rule Morocco 2011 only - Apr 3 0:00 1:00 -
Rule Morocco 2011 only - Jul 31 0:00 0 -
Rule Morocco 2012 2013 - Apr lastSun 2:00 1:00 S
Rule Morocco 2012 2013 - Apr lastSun 2:00 1:00 -
Rule Morocco 2012 only - Jul 20 3:00 0 -
Rule Morocco 2012 only - Aug 20 2:00 1:00 S
Rule Morocco 2012 only - Aug 20 2:00 1:00 -
Rule Morocco 2012 only - Sep 30 3:00 0 -
Rule Morocco 2013 only - Jul 7 3:00 0 -
Rule Morocco 2013 only - Aug 10 2:00 1:00 S
Rule Morocco 2013 max - Oct lastSun 3:00 0 -
Rule Morocco 2014 2021 - Mar lastSun 2:00 1:00 S
Rule Morocco 2013 only - Aug 10 2:00 1:00 -
Rule Morocco 2013 2018 - Oct lastSun 3:00 0 -
Rule Morocco 2014 2018 - Mar lastSun 2:00 1:00 -
Rule Morocco 2014 only - Jun 28 3:00 0 -
Rule Morocco 2014 only - Aug 2 2:00 1:00 S
Rule Morocco 2014 only - Aug 2 2:00 1:00 -
Rule Morocco 2015 only - Jun 14 3:00 0 -
Rule Morocco 2015 only - Jul 19 2:00 1:00 S
Rule Morocco 2015 only - Jul 19 2:00 1:00 -
Rule Morocco 2016 only - Jun 5 3:00 0 -
Rule Morocco 2016 only - Jul 10 2:00 1:00 S
Rule Morocco 2016 only - Jul 10 2:00 1:00 -
Rule Morocco 2017 only - May 21 3:00 0 -
Rule Morocco 2017 only - Jul 2 2:00 1:00 S
Rule Morocco 2017 only - Jul 2 2:00 1:00 -
Rule Morocco 2018 only - May 13 3:00 0 -
Rule Morocco 2018 only - Jun 17 2:00 1:00 S
Rule Morocco 2019 only - May 5 3:00 0 -
Rule Morocco 2019 only - Jun 9 2:00 1:00 S
Rule Morocco 2020 only - Apr 19 3:00 0 -
Rule Morocco 2020 only - May 24 2:00 1:00 S
Rule Morocco 2021 only - Apr 11 3:00 0 -
Rule Morocco 2021 only - May 16 2:00 1:00 S
Rule Morocco 2022 only - May 8 2:00 1:00 S
Rule Morocco 2023 only - Apr 23 2:00 1:00 S
Rule Morocco 2024 only - Apr 14 2:00 1:00 S
Rule Morocco 2025 only - Apr 6 2:00 1:00 S
Rule Morocco 2026 max - Mar lastSun 2:00 1:00 S
Rule Morocco 2036 only - Oct 19 3:00 0 -
Rule Morocco 2037 only - Oct 4 3:00 0 -
Rule Morocco 2018 only - Jun 17 2:00 1:00 -
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Africa/Casablanca -0:30:20 - LMT 1913 Oct 26
0:00 Morocco WE%sT 1984 Mar 16
1:00 - CET 1986
0:00 Morocco WE%sT
0:00 Morocco +00/+01 1984 Mar 16
1:00 - +01 1986
0:00 Morocco +00/+01 2018 Oct 27
1:00 - +01
# Western Sahara
#
@@ -958,7 +936,8 @@ Zone Africa/Casablanca -0:30:20 - LMT 1913 Oct 26
Zone Africa/El_Aaiun -0:52:48 - LMT 1934 Jan # El Aaiún
-1:00 - -01 1976 Apr 14
0:00 Morocco WE%sT
0:00 Morocco +00/+01 2018 Oct 27
1:00 - +01
# Mozambique
#

View File

@@ -21,6 +21,8 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# tzdb data for Antarctica and environs
# This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson.

View File

@@ -21,6 +21,8 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# tzdb data for Asia and environs
# This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson.
@@ -29,7 +31,7 @@
# tz@iana.org for general use in the future). For more, please see
# the file CONTRIBUTING in the tz distribution.
# From Paul Eggert (2017-01-13):
# From Paul Eggert (2018-06-19):
#
# Unless otherwise specified, the source for data through 1990 is:
# Thomas G. Shanks and Rique Pottenger, The International Atlas (6th edition),
@@ -58,7 +60,8 @@
# A reliable and entertaining source about time zones is
# Derek Howse, Greenwich time and longitude, Philip Wilson Publishers (1997).
#
# The following alphabetic abbreviations appear in these tables:
# The following alphabetic abbreviations appear in these tables
# (corrections are welcome):
# std dst
# LMT Local Mean Time
# 2:00 EET EEST Eastern European Time
@@ -67,11 +70,13 @@
# 7:00 WIB west Indonesia (Waktu Indonesia Barat)
# 8:00 WITA central Indonesia (Waktu Indonesia Tengah)
# 8:00 CST China
# 8:00 PST PDT* Philippine Standard Time
# 8:30 KST KDT Korea when at +0830
# 9:00 WIT east Indonesia (Waktu Indonesia Timur)
# 9:00 JST JDT Japan
# 9:00 KST KDT Korea when at +09
# 9:30 ACST Australian Central Standard Time
# *I invented the abbreviation PDT; see "Philippines" below.
# Otherwise, these tables typically use numeric abbreviations like +03
# and +0330 for integer hour and minute UT offsets. Although earlier
# editions invented alphabetic time zone abbreviations for every
@@ -304,6 +309,29 @@ Zone Asia/Yangon 6:24:47 - LMT 1880 # or Rangoon
# China
# From Paul Eggert (2018-10-02):
# The following comes from Table 1 of:
# Li Yu. Research on the daylight saving movement in 1940s Shanghai.
# Nanjing Journal of Social Sciences. 2014;(2):144-50.
# http://oversea.cnki.net/kns55/detail.aspx?dbname=CJFD2014&filename=NJSH201402020
# The table lists dates only; I am guessing 00:00 and 24:00 transition times.
# Also, the table lists the planned end of DST in 1949, but the corresponding
# zone line cuts this off on May 28, when the Communists took power.
#
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule Shang 1940 only - Jun 1 0:00 1:00 D
Rule Shang 1940 only - Oct 12 24:00 0 S
Rule Shang 1941 only - Mar 15 0:00 1:00 D
Rule Shang 1941 only - Nov 1 24:00 0 S
Rule Shang 1942 only - Jan 31 0:00 1:00 D
Rule Shang 1945 only - Sep 1 24:00 0 S
Rule Shang 1946 only - May 15 0:00 1:00 D
Rule Shang 1946 only - Sep 30 24:00 0 S
Rule Shang 1947 only - Apr 15 0:00 1:00 D
Rule Shang 1947 only - Oct 31 24:00 0 S
Rule Shang 1948 1949 - May 1 0:00 1:00 D
Rule Shang 1948 1949 - Sep 30 24:00 0 S #plan
# From Guy Harris:
# People's Republic of China. Yes, they really have only one time zone.
@@ -330,18 +358,33 @@ Zone Asia/Yangon 6:24:47 - LMT 1880 # or Rangoon
# time - sort of", Los Angeles Times, 1986-05-05 ... [says] that China began
# observing daylight saving time in 1986.
# From Paul Eggert (2014-06-30):
# Shanks & Pottenger have China switching to a single time zone in 1980, but
# this doesn't seem to be correct. They also write that China observed summer
# DST from 1986 through 1991, which seems to match the above commentary, so
# go with them for DST rules as follows:
# From P Chan (2018-05-07):
# The start and end time of DST in China [from 1986 on] should be 2:00
# (i.e. 2:00 to 3:00 at the start and 2:00 to 1:00 at the end)....
# Government notices about summer time:
#
# 1986-04-12 http://www.zj.gov.cn/attach/zfgb/198608.pdf p.21-22
# (To establish summer time from 1986. On 4 May, set the clocks ahead one hour
# at 2 am. On 14 September, set the clocks backward one hour at 2 am.)
#
# 1987-02-15 http://www.gov.cn/gongbao/shuju/1987/gwyb198703.pdf p.114
# (Summer time in 1987 to start from 12 April until 13 September)
#
# 1987-09-09 http://www.gov.cn/gongbao/shuju/1987/gwyb198721.pdf p.709
# (From 1988, summer time to start from 2 am of the first Sunday of mid-April
# until 2 am of the first Sunday of mid-September)
#
# 1992-03-03 http://www.gov.cn/gongbao/shuju/1992/gwyb199205.pdf p.152
# (To suspend summer time from 1992)
#
# The first page of People's Daily on 12 April 1988 stating that summer time
# to begin on 17 April.
# http://data.people.com.cn/pic/101p/1988/04/1988041201.jpg
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule Shang 1940 only - Jun 3 0:00 1:00 D
Rule Shang 1940 1941 - Oct 1 0:00 0 S
Rule Shang 1941 only - Mar 16 0:00 1:00 D
Rule PRC 1986 only - May 4 0:00 1:00 D
Rule PRC 1986 1991 - Sep Sun>=11 0:00 0 S
Rule PRC 1987 1991 - Apr Sun>=10 0:00 1:00 D
Rule PRC 1986 only - May 4 2:00 1:00 D
Rule PRC 1986 1991 - Sep Sun>=11 2:00 0 S
Rule PRC 1987 1991 - Apr Sun>=11 2:00 1:00 D
# From Anthony Fok (2001-12-20):
# BTW, I did some research on-line and found some info regarding these five
@@ -363,10 +406,11 @@ Rule PRC 1987 1991 - Apr Sun>=10 0:00 1:00 D
# Alois Treindl kindly sent me translations of the following two sources:
#
# (1)
# Guo Qingsheng (National Time-Service Center, CAS, Xi'an 710600, China)
# Guo Qing-sheng (National Time-Service Center, CAS, Xi'an 710600, China)
# Beijing Time at the Beginning of the PRC
# China Historical Materials of Science and Technology
# (Zhongguo ke ji shi liao, 中国科技史料), Vol. 24, No. 1 (2003)
# (Zhongguo ke ji shi liao, 中国科技史料). 2003;24(1):5-9.
# http://oversea.cnki.net/kcms/detail/detail.aspx?filename=ZGKS200301000&dbname=CJFD2003
# It gives evidence that at the beginning of the PRC, Beijing time was
# officially apparent solar time! However, Guo also says that the
# evidence is dubious, as the relevant institute of astronomy had not
@@ -543,7 +587,7 @@ Rule PRC 1987 1991 - Apr Sun>=10 0:00 1:00 D
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
# Beijing time, used throughout China; represented by Shanghai.
Zone Asia/Shanghai 8:05:43 - LMT 1901
8:00 Shang C%sT 1949
8:00 Shang C%sT 1949 May 28
8:00 PRC C%sT
# Xinjiang time, used by many in western China; represented by Ürümqi / Ürümchi
# / Wulumuqi. (Please use Asia/Shanghai if you prefer Beijing time.)
@@ -772,24 +816,140 @@ Zone Asia/Taipei 8:06:00 - LMT 1896 Jan 1
8:00 Taiwan C%sT
# Macau (Macao, Aomen)
#
# From P Chan (2018-05-10):
# * LegisMac
# http://legismac.safp.gov.mo/legismac/descqry/Descqry.jsf?lang=pt
# A database for searching titles of legal documents of Macau in
# Chinese and Portuguese. The term "HORÁRIO DE VERÃO" can be used for
# searching decrees about summer time.
# * Archives of Macao
# http://www.archives.gov.mo/en/bo/
# It contains images of old official gazettes.
# * The Macao Meteorological and Geophysical Bureau have a page listing the
# summer time history. But it is not complete and has some mistakes.
# http://www.smg.gov.mo/smg/geophysics/e_t_Summer%20Time.htm
# Macau adopted GMT+8 on 30 Oct 1904 to follow Hong Kong. Clocks were
# advanced by 25 minutes and 50 seconds. Which means the LMT used was
# +7:34:10. As stated in the "Portaria No. 204" dated 21 October 1904
# and published in the Official Gazette on 29 October 1904.
# http://igallery.icm.gov.mo/Images/Archives/BO/MO_AH_PUB_BO_1904_10/MO_AH_PUB_BO_1904_10_00025_Grey.JPG
#
# Therefore the 1911 decree of Portugal did not change time in Macau.
#
# From LegisMac, here is a list of decrees that changed the time ...
# [Decree Gazette-no. date; titles omitted in this quotation]
# DIL 732 BOCM 51 1941.12.20
# DIL 764 BOCM 9S 1942.04.30
# DIL 781 BOCM 21 1942.10.10
# PT 3434 BOCM 8S 1943.04.17
# PT 3504 BOCM 20 1943.09.25
# PT 3843 BOCM 39 1945.09.29
# PT 3961 BOCM 17 1946.04.27
# PT 4026 BOCM 39 1946.09.28
# PT 4153 BOCM 16 1947.04.10
# PT 4271 BOCM 48 1947.11.29
# PT 4374 BOCM 18 1948.05.01
# PT 4465 BOCM 44 1948.10.30
# PT 4590 BOCM 14 1949.04.02
# PT 4666 BOCM 44 1949.10.29
# PT 4771 BOCM 12 1950.03.25
# PT 4838 BOCM 43 1950.10.28
# PT 4946 BOCM 12 1951.03.24
# PT 5025 BO 43 1951.10.27
# PT 5149 BO 14 1952.04.05
# PT 5251 BO 43 1952.10.25
# PT 5366 BO 13 1953.03.28
# PT 5444 BO 44 1953.10.31
# PT 5540 BO 12 1954.03.20
# PT 5589 BO 44 1954.10.30
# PT 5676 BO 12 1955.03.19
# PT 5739 BO 45 1955.11.05
# PT 5823 BO 11 1956.03.17
# PT 5891 BO 44 1956.11.03
# PT 5981 BO 12 1957.03.23
# PT 6064 BO 43 1957.10.26
# PT 6172 BO 12 1958.03.22
# PT 6243 BO 43 1958.10.25
# PT 6341 BO 12 1959.03.21
# PT 6411 BO 43 1959.10.24
# PT 6514 BO 11 1960.03.12
# PT 6584 BO 44 1960.10.29
# PT 6721 BO 10 1961.03.11
# PT 6815 BO 43 1961.10.28
# PT 6947 BO 10 1962.03.10
# PT 7080 BO 43 1962.10.27
# PT 7218 BO 12 1963.03.23
# PT 7340 BO 43 1963.10.26
# PT 7491 BO 11 1964.03.14
# PT 7664 BO 43 1964.10.24
# PT 7846 BO 15 1965.04.10
# PT 7979 BO 42 1965.10.16
# PT 8146 BO 15 1966.04.09
# PT 8252 BO 41 1966.10.08
# PT 8429 BO 15 1967.04.15
# PT 8540 BO 41 1967.10.14
# PT 8735 BO 15 1968.04.13
# PT 8860 BO 41 1968.10.12
# PT 9035 BO 16 1969.04.19
# PT 9156 BO 42 1969.10.18
# PT 9328 BO 15 1970.04.11
# PT 9418 BO 41 1970.10.10
# PT 9587 BO 14 1971.04.03
# PT 9702 BO 41 1971.10.09
# PT 38-A/72 BO 14 1972.04.01
# PT 126-A/72 BO 41 1972.10.07
# PT 61/73 BO 14 1973.04.07
# PT 182/73 BO 40 1973.10.06
# PT 282/73 BO 51 1973.12.22
# PT 177/74 BO 41 1974.10.12
# PT 51/75 BO 15 1975.04.12
# PT 173/75 BO 41 1975.10.11
# PT 67/76/M BO 14 1976.04.03
# PT 169/76/M BO 41 1976.10.09
# PT 78/79/M BO 19 1979.05.12
# PT 166/79/M BO 42 1979.10.20
# Note that DIL 732 does not belong to "HORÁRIO DE VERÃO" according to
# LegisMac.... Note that between 1942 and 1945, the time switched
# between GMT+9 and GMT+10. Also in 1965 and 1965 the DST ended at 2:30am.
# From Paul Eggert (2018-05-10):
# The 1904 decree says that Macau changed from the meridian of
# Fortaleza do Monte, presumably the basis for the 7:34:10 for LMT.
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule Macau 1961 1962 - Mar Sun>=16 3:30 1:00 D
Rule Macau 1961 1964 - Nov Sun>=1 3:30 0 S
Rule Macau 1963 only - Mar Sun>=16 0:00 1:00 D
Rule Macau 1964 only - Mar Sun>=16 3:30 1:00 D
Rule Macau 1965 only - Mar Sun>=16 0:00 1:00 D
Rule Macau 1965 only - Oct 31 0:00 0 S
Rule Macau 1966 1971 - Apr Sun>=16 3:30 1:00 D
Rule Macau 1966 1971 - Oct Sun>=16 3:30 0 S
Rule Macau 1972 1974 - Apr Sun>=15 0:00 1:00 D
Rule Macau 1972 1973 - Oct Sun>=15 0:00 0 S
Rule Macau 1974 1977 - Oct Sun>=15 3:30 0 S
Rule Macau 1975 1977 - Apr Sun>=15 3:30 1:00 D
Rule Macau 1978 1980 - Apr Sun>=15 0:00 1:00 D
Rule Macau 1978 1980 - Oct Sun>=15 0:00 0 S
# See Europe/Lisbon for info about the 1912 transition.
Rule Macau 1942 1943 - Apr 30 23:00 1:00 -
Rule Macau 1942 only - Nov 17 23:00 0 -
Rule Macau 1943 only - Sep 30 23:00 0 S
Rule Macau 1946 only - Apr 30 23:00s 1:00 D
Rule Macau 1946 only - Sep 30 23:00s 0 S
Rule Macau 1947 only - Apr 19 23:00s 1:00 D
Rule Macau 1947 only - Nov 30 23:00s 0 S
Rule Macau 1948 only - May 2 23:00s 1:00 D
Rule Macau 1948 only - Oct 31 23:00s 0 S
Rule Macau 1949 1950 - Apr Sat>=1 23:00s 1:00 D
Rule Macau 1949 1950 - Oct lastSat 23:00s 0 S
Rule Macau 1951 only - Mar 31 23:00s 1:00 D
Rule Macau 1951 only - Oct 28 23:00s 0 S
Rule Macau 1952 1953 - Apr Sat>=1 23:00s 1:00 D
Rule Macau 1952 only - Nov 1 23:00s 0 S
Rule Macau 1953 1954 - Oct lastSat 23:00s 0 S
Rule Macau 1954 1956 - Mar Sat>=17 23:00s 1:00 D
Rule Macau 1955 only - Nov 5 23:00s 0 S
Rule Macau 1956 1964 - Nov Sun>=1 03:30 0 S
Rule Macau 1957 1964 - Mar Sun>=18 03:30 1:00 D
Rule Macau 1965 1973 - Apr Sun>=16 03:30 1:00 D
Rule Macau 1965 1966 - Oct Sun>=16 02:30 0 S
Rule Macau 1967 1976 - Oct Sun>=16 03:30 0 S
Rule Macau 1973 only - Dec 30 03:30 1:00 D
Rule Macau 1975 1976 - Apr Sun>=16 03:30 1:00 D
Rule Macau 1979 only - May 13 03:30 1:00 D
Rule Macau 1979 only - Oct Sun>=16 03:30 0 S
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Asia/Macau 7:34:20 - LMT 1911 Dec 31 16:00u
Zone Asia/Macau 7:34:10 - LMT 1904 Oct 30
8:00 - CST 1941 Dec 21 23:00
9:00 Macau +09/+10 1945 Sep 30 24:00
8:00 Macau C%sT
@@ -1494,9 +1654,29 @@ Zone Asia/Jerusalem 2:20:54 - LMT 1880
# http://www.shugiin.go.jp/internet/itdb_housei.nsf/html/houritsu/00719500331039.htm
# ... In summary, it is written as follows. From 24:00 on the first Saturday
# in May, until 0:00 on the day after the second Saturday in September.
# From Phake Nick (2018-09-27):
# [T]he webpage authored by National Astronomical Observatory of Japan
# https://eco.mtk.nao.ac.jp/koyomi/wiki/BBFEB9EF2FB2C6BBFEB9EF.html
# ... mentioned that using Showa 23 (year 1948) as example, 13pm of September
# 11 in summer time will equal to 0am of September 12 in standard time.
# It cited a document issued by the Liaison Office which briefly existed
# during the postwar period of Japan, where the detail on implementation
# of the summer time is described in the document.
# https://eco.mtk.nao.ac.jp/koyomi/wiki/BBFEB9EF2FB2C6BBFEB9EFB2C6BBFEB9EFA4CEBCC2BBDCA4CBA4C4A4A4A4C6.pdf
# The text in the document do instruct a fall back to occur at
# September 11, 13pm in summer time, while ordinary citizens can
# change the clock before they sleep.
#
# From Paul Eggert (2018-09-27):
# This instruction is equivalent to "Sat>=8 25:00", so use that. zic treats
# it like "Sun>=9 01:00", which is not quite the same but is the best we can
# do in any POSIX or C platform. The "25:00" assumes zic from 2007 or later,
# which should be safe now.
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule Japan 1948 only - May Sat>=1 24:00 1:00 D
Rule Japan 1948 1951 - Sep Sun>=9 0:00 0 S
Rule Japan 1948 1951 - Sep Sun>=9 1:00 0 S
Rule Japan 1949 only - Apr Sat>=1 24:00 1:00 D
Rule Japan 1950 1951 - May Sat>=1 24:00 1:00 D
@@ -1878,7 +2058,7 @@ Zone Asia/Aqtobe 3:48:40 - LMT 1924 May 2
5:00 - +05
# Mangghystaū (KZ-MAN)
# Aqtau was not founded until 1963, but it represents an inhabited region,
# so include time stamps before 1963.
# so include timestamps before 1963.
Zone Asia/Aqtau 3:21:04 - LMT 1924 May 2
4:00 - +04 1930 Jun 21
5:00 - +05 1981 Oct 1
@@ -2018,6 +2198,10 @@ Rule ROK 1987 1988 - Oct Sun>=8 3:00 0 S
# Assembly, as published in Rodong Sinmun.
# From Tim Parenti (2018-04-29):
# It appears to be the front page story at the top in the right-most column.
#
# From Paul Eggert (2018-05-04):
# The BBC reported that the transition was from 23:30 to 24:00 today.
# https://www.bbc.com/news/world-asia-44010705
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Asia/Seoul 8:27:52 - LMT 1908 Apr 1
@@ -2030,7 +2214,7 @@ Zone Asia/Pyongyang 8:23:00 - LMT 1908 Apr 1
8:30 - KST 1912 Jan 1
9:00 - JST 1945 Aug 24
9:00 - KST 2015 Aug 15 00:00
8:30 - KST 2018 May 5
8:30 - KST 2018 May 4 23:30
9:00 - KST
###############################################################################
@@ -2780,19 +2964,35 @@ Zone Asia/Hebron 2:20:23 - LMT 1900 Oct
# Philippine Star 2014-08-05
# http://www.philstar.com/headlines/2014/08/05/1354152/pnoy-urged-declare-use-daylight-saving-time
# From Paul Goyette (2018-06-15):
# In the Philippines, there is a national law, Republic Act No. 10535
# which declares the official time here as "Philippine Standard Time".
# The act [1] even specifies use of PST as the abbreviation, although
# the FAQ provided by PAGASA [2] uses the "acronym PhST to distinguish
# it from the Pacific Standard Time (PST)."
# [1] http://www.officialgazette.gov.ph/2013/05/15/republic-act-no-10535/
# [2] https://www1.pagasa.dost.gov.ph/index.php/astronomy/philippine-standard-time#republic-act-10535
#
# From Paul Eggert (2018-06-19):
# I surveyed recent news reports, and my impression is that "PST" is
# more popular among reliable English-language news sources. This is
# not just a measure of Google hit counts: it's also the sizes and
# influence of the sources. There is no current abbreviation for DST,
# so use "PDT", the usual American style.
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule Phil 1936 only - Nov 1 0:00 1:00 -
Rule Phil 1937 only - Feb 1 0:00 0 -
Rule Phil 1954 only - Apr 12 0:00 1:00 -
Rule Phil 1954 only - Jul 1 0:00 0 -
Rule Phil 1978 only - Mar 22 0:00 1:00 -
Rule Phil 1978 only - Sep 21 0:00 0 -
Rule Phil 1936 only - Nov 1 0:00 1:00 D
Rule Phil 1937 only - Feb 1 0:00 0 S
Rule Phil 1954 only - Apr 12 0:00 1:00 D
Rule Phil 1954 only - Jul 1 0:00 0 S
Rule Phil 1978 only - Mar 22 0:00 1:00 D
Rule Phil 1978 only - Sep 21 0:00 0 S
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Asia/Manila -15:56:00 - LMT 1844 Dec 31
8:04:00 - LMT 1899 May 11
8:00 Phil +08/+09 1942 May
9:00 - +09 1944 Nov
8:00 Phil +08/+09
8:00 Phil P%sT 1942 May
9:00 - JST 1944 Nov
8:00 Phil P%sT
# Qatar
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
@@ -2803,15 +3003,34 @@ Link Asia/Qatar Asia/Bahrain
# Saudi Arabia
#
# From Paul Eggert (2014-07-15):
# From Paul Eggert (2018-08-29):
# Time in Saudi Arabia and other countries in the Arabian peninsula was not
# standardized until relatively recently; we don't know when, and possibly it
# standardized until 1968 or so; we don't know exactly when, and possibly it
# has never been made official. Richard P Hunt, in "Islam city yielding to
# modern times", New York Times (1961-04-09), p 20, wrote that only airlines
# observed standard time, and that people in Jeddah mostly observed quasi-solar
# time, doing so by setting their watches at sunrise to 6 o'clock (or to 12
# o'clock for "Arab" time).
#
# Timekeeping differed depending on who you were and which part of Saudi
# Arabia you were in. In 1969, Elias Antar wrote that although a common
# practice had been to set one's watch to 12:00 (i.e., midnight) at sunset -
# which meant that the time on one side of a mountain could differ greatly from
# the time on the other side - many foreigners set their watches to 6pm
# instead, while airlines instead used UTC +03 (except in Dhahran, where they
# used UTC +04), Aramco used UTC +03 with DST, and the Trans-Arabian Pipe Line
# Company used Aramco time in eastern Saudi Arabia and airline time in western.
# (The American Military Aid Advisory Group used plain UTC.) Antar writes,
# "A man named Higgins, so the story goes, used to run a local power
# station. One day, the whole thing became too much for Higgins and he
# assembled his staff and laid down the law. 'I've had enough of this,' he
# shrieked. 'It is now 12 o'clock Higgins Time, and from now on this station is
# going to run on Higgins Time.' And so, until last year, it did." See:
# Antar E. Dinner at When? Saudi Aramco World, 1969 March/April. 2-3.
# http://archive.aramcoworld.com/issue/196902/dinner.at.when.htm
# newspapers.com says a similar story about Higgins was published in the Port
# Angeles (WA) Evening News, 1965-03-10, page 5, but I lack access to the text.
#
# The TZ database cannot represent quasi-solar time; airline time is the best
# we can do. The 1946 foreign air news digest of the U.S. Civil Aeronautics
# Board (OCLC 42299995) reported that the "... Arabian Government, inaugurated
@@ -2821,7 +3040,8 @@ Link Asia/Qatar Asia/Bahrain
#
# Shanks & Pottenger also state that until 1968-05-01 Saudi Arabia had two
# time zones; the other zone, at UT +04, was in the far eastern part of
# the country. Ignore this, as it's before our 1970 cutoff.
# the country. Presumably this is documenting airline time. Ignore this,
# as it's before our 1970 cutoff.
#
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Asia/Riyadh 3:06:52 - LMT 1947 Mar 14

View File

@@ -21,6 +21,8 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# tzdb data for Australasia and environs, and for much of the Pacific
# This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson.
@@ -384,8 +386,15 @@ Zone Indian/Cocos 6:27:40 - LMT 1900
# Dominic Fok writes (2017-08-20) that DST ends 2018-01-14, citing
# Extraordinary Government of Fiji Gazette Supplement No. 21 (2017-08-27),
# [Legal Notice No. 41] of an order of the previous day by J Usamate.
# From Raymond Kumar (2018-07-13):
# http://www.fijitimes.com/government-approves-2018-daylight-saving/
# ... The daylight saving period will end at 3am on Sunday January 13, 2019.
#
# From Paul Eggert (2018-07-15):
# For now, guess DST from 02:00 the first Sunday in November to 03:00
# the first Sunday on or after January 14. Although ad hoc, it matches
# the first Sunday on or after January 13. January transitions reportedly
# depend on when school terms start. Although the guess is ad hoc, it matches
# transitions since late 2014 and seems more likely to match future
# practice than guessing no DST.
@@ -399,7 +408,7 @@ Rule Fiji 2011 only - Mar Sun>=1 3:00 0 -
Rule Fiji 2012 2013 - Jan Sun>=18 3:00 0 -
Rule Fiji 2014 only - Jan Sun>=18 2:00 0 -
Rule Fiji 2014 max - Nov Sun>=1 2:00 1:00 -
Rule Fiji 2015 max - Jan Sun>=14 3:00 0 -
Rule Fiji 2015 max - Jan Sun>=13 3:00 0 -
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Pacific/Fiji 11:55:44 - LMT 1915 Oct 26 # Suva
12:00 Fiji +12/+13

View File

@@ -21,10 +21,12 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# tzdb links for backward compatibility
# This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson.
# This file provides links between current names for time zones
# This file provides links between current names for timezones
# and their old names. Many names changed in late 1993.
# Link TARGET LINK-NAME

View File

@@ -21,12 +21,14 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# tzdb data for ships at sea and other miscellany
# This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson.
# These entries are mostly present for historical reasons, so that
# people in areas not otherwise covered by the tz files could "zic -l"
# to a time zone that was right for their area. These days, the
# to a timezone that was right for their area. These days, the
# tz files cover almost all the inhabited world, and the only practical
# need now for the entries that are not on UTC are for ships at sea
# that cannot use POSIX TZ settings.

View File

@@ -21,6 +21,8 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# tzdb data for Europe and environs
# This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson.
@@ -540,7 +542,7 @@ Link Europe/London Europe/Isle_of_Man
#
# To work around this problem, the build procedure can translate the
# following data into two forms, one with negative SAVE values and the
# other form with a traditional approximation for Irish time stamps
# other form with a traditional approximation for Irish timestamps
# after 1971-10-31 02:00 UTC; although this approximation has tm_isdst
# flags that are reversed, its UTC offsets are correct and this often
# suffices. This source file currently uses only nonnegative SAVE
@@ -2450,6 +2452,33 @@ Zone Europe/Bucharest 1:44:24 - LMT 1891 Oct
# administratively part of Sakhalin oblast', they appear to have
# remained on UTC+11 along with Magadan.
# From Marat Nigametzianov (2018-07-16):
# this is link to order from 1956 about timezone in USSR
# http://astro.uni-altai.ru/~orion/blog/2011/11/novyie-granitsyi-chasovyih-poyasov-v-sssr/
#
# From Paul Eggert (2018-07-16):
# Perhaps someone could translate the above-mentioned link and use it
# to correct our data for the ex-Soviet Union. It cites the following:
# «Поясное время и новые границы часовых поясов» / сост. П.Н. Долгов,
# отв. ред. Г.Д. Бурдун - М: Комитет стандартов, мер и измерительных
# приборов при Совете Министров СССР, Междуведомственная комиссия
# единой службы времени, 1956 г.
# This book looks like it would be a helpful resource for the Soviet
# Union through 1956. Although a copy was in the Scientific Library
# of Tomsk State University, I have not been able to track down a copy nearby.
#
# From Stepan Golosunov (2018-07-21):
# http://astro.uni-altai.ru/~orion/blog/2015/05/center-reforma-ischisleniya-vremeni-br-na-territorii-sssr-v-1957-godu-center/
# says that the 1956 decision to change time belts' borders was not
# implemented as planned in 1956 and the change happened in 1957.
# There is also the problem that actual time zones were different from
# the official time belts (and from many time belts' maps) as there were
# numerous exceptions to application of time belt rules. For example,
# https://ru.wikipedia.org/wiki/Московскоеремя#Перемещение_границы_применения_московскогоремени_наосток
# says that by 1962 there were many regions in the 3rd time belt that
# were on Moscow time, referring to a 1962 map. By 1989 number of such
# exceptions grew considerably.
# From Tim Parenti (2014-07-06):
# The comments detailing the coverage of each Russian zone are meant to assist
# with maintenance only and represent our best guesses as to which regions
@@ -2460,9 +2489,6 @@ Zone Europe/Bucharest 1:44:24 - LMT 1891 Oct
# future stability. ISO 3166-2:RU codes are also listed for first-level
# divisions where available.
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
# From Tim Parenti (2014-07-03):
# Europe/Kaliningrad covers...
# 39 RU-KGD Kaliningrad Oblast
@@ -2730,6 +2756,15 @@ Zone Europe/Astrakhan 3:12:12 - LMT 1924 May
# 34 RU-VGG Volgograd Oblast
# The 1988 transition is from USSR act No. 5 (1988-01-04).
# From Alexander Fetisov (2018-09-20):
# Volgograd region in southern Russia (Europe/Volgograd) change
# timezone from UTC+3 to UTC+4 from 28oct2018.
# http://sozd.parliament.gov.ru/bill/452878-7
#
# From Stepan Golosunov (2018-10-11):
# The law has been published today on
# http://publication.pravo.gov.ru/Document/View/0001201810110037
Zone Europe/Volgograd 2:57:40 - LMT 1920 Jan 3
3:00 - +03 1930 Jun 21
4:00 - +04 1961 Nov 11
@@ -2738,7 +2773,8 @@ Zone Europe/Volgograd 2:57:40 - LMT 1920 Jan 3
4:00 - +04 1992 Mar 29 2:00s
3:00 Russia +03/+04 2011 Mar 27 2:00s
4:00 - +04 2014 Oct 26 2:00s
3:00 - +03
3:00 - +03 2018 Oct 28 2:00s
4:00 - +04
# From Paul Eggert (2016-11-11):
# Europe/Saratov covers:
@@ -3427,7 +3463,8 @@ Rule Spain 1978 only - Oct 1 2:00s 0 -
#Rule NatSpain 1937 only - May 22 23:00 1:00 S
#Rule NatSpain 1937 1938 - Oct Sat>=1 24:00s 0 -
#Rule NatSpain 1938 only - Mar 26 23:00 1:00 S
# The following rules are copied from Morocco from 1967 through 1978.
# The following rules are copied from Morocco from 1967 through 1978,
# except with "S" letters.
Rule SpainAfrica 1967 only - Jun 3 12:00 1:00 S
Rule SpainAfrica 1967 only - Oct 1 0:00 0 -
Rule SpainAfrica 1974 only - Jun 24 0:00 1:00 S
@@ -3447,6 +3484,7 @@ Zone Africa/Ceuta -0:21:16 - LMT 1900 Dec 31 23:38:44
0:00 1:00 WEST 1918 Oct 7 23:00
0:00 - WET 1924
0:00 Spain WE%sT 1929
0:00 - WET 1967 # Help zishrink.awk.
0:00 SpainAfrica WE%sT 1984 Mar 16
1:00 - CET 1986
1:00 EU CE%sT
@@ -3632,7 +3670,7 @@ Zone Europe/Zurich 0:34:08 - LMT 1853 Jul 16 # See above comment.
# http://www.resmigazete.gov.tr/eskiler/2001/03/20010324.htm#2 - for 2001
# http://www.resmigazete.gov.tr/eskiler/2002/03/20020316.htm#2 - for 2002-2006
# From Paul Eggert (2016-09-25):
# Prefer the above sources to Shanks & Pottenger for time stamps after 1985.
# Prefer the above sources to Shanks & Pottenger for timestamps after 1985.
# From Steffen Thorsen (2007-03-09):
# Starting 2007 though, it seems that they are adopting EU's 1:00 UTC
@@ -3842,10 +3880,29 @@ Link Europe/Istanbul Asia/Istanbul # Istanbul is in both continents.
# * Ukrainian Government's Resolution of 20.03.1992, No. 139.
# http://www.uazakon.com/documents/date_8u/pg_grcasa.htm
# From Paul Eggert (2018-10-03):
# As is usual in tzdb, Ukrainian zones use the most common English spellings.
# For example, tzdb uses Europe/Kiev, as "Kiev" is the most common spelling in
# English for Ukraine's capital, even though it is certainly wrong as a
# transliteration of the Ukrainian "Київ". This is similar to tzdb's use of
# Europe/Prague, which is certainly wrong as a transliteration of the Czech
# "Praha". ("Kiev" came from old Slavic via Russian to English, and "Prague"
# came from old Slavic via French to English, so the two cases have something
# in common.) Admittedly English-language spelling of Ukrainian names is
# controversial, and some day "Kyiv" may become substantially more popular in
# English; in the meantime, stick with the traditional English "Kiev" as that
# means less disruption for our users.
#
# Anyway, none of the common English-language spellings (Kiev, Kyiv, Kieff,
# Kijeff, Kijev, Kiyef, Kiyeff) do justice to the common pronunciation in
# Ukrainian, namely [ˈkɪjiu̯] (IPA). This pronunciation has nothing like an
# English "v" or "f", and instead trails off with what an English-speaker
# would call a demure "oo" sound, and it would would be better anglicized as
# "Kuiyu". Here's a sound file, if you would like to do as the Kuiyuvians do:
# https://commons.wikimedia.org/wiki/File:Uk-Київ.ogg
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
# Most of Ukraine since 1970 has been like Kiev.
# "Kyiv" is the transliteration of the Ukrainian name, but
# "Kiev" is more common in English.
# This represents most of Ukraine. See above for the spelling of "Kiev".
Zone Europe/Kiev 2:02:04 - LMT 1880
2:02:04 - KMT 1924 May 2 # Kiev Mean Time
2:00 - EET 1930 Jun 21

View File

@@ -21,11 +21,13 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# tzdb data for noncommittal factory settings
# This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson.
# For distributors who don't want to put time zone specification in
# their installation procedures. Users that run 'date' will get the
# For distributors who don't want to specify a timezone in their
# installation procedures. Users who run 'date' will get the
# time zone abbreviation "-00", indicating that the actual time zone
# is unknown.

View File

@@ -26,21 +26,25 @@
# This file is in the public domain.
# This file is generated automatically from the data in the public-domain
# leap-seconds.list file, which is copied from:
# ftp://ftp.nist.gov/pub/time/leap-seconds.list
# leap-seconds.list file, which can be copied from
# <ftp://ftp.nist.gov/pub/time/leap-seconds.list>
# or <ftp://ftp.boulder.nist.gov/pub/time/leap-seconds.list>
# or <ftp://tycho.usno.navy.mil/pub/ntp/leap-seconds.list>.
# For more about leap-seconds.list, please see
# The NTP Timescale and Leap Seconds
# https://www.eecis.udel.edu/~mills/leap.html
# <https://www.eecis.udel.edu/~mills/leap.html>.
# The International Earth Rotation and Reference Systems Service
# periodically uses leap seconds to keep UTC to within 0.9 s of UT1
# (which measures the true angular orientation of the earth in space); see
# Levine J. Coordinated Universal Time and the leap second.
# (which measures the true angular orientation of the earth in space)
# and publishes leap second data in a copyrighted file
# <https://hpiers.obspm.fr/iers/bul/bulc/Leap_Second.dat>.
# See: Levine J. Coordinated Universal Time and the leap second.
# URSI Radio Sci Bull. 2016;89(4):30-6. doi:10.23919/URSIRSB.2016.7909995
# http://ieeexplore.ieee.org/document/7909995/
# <https://ieeexplore.ieee.org/document/7909995>.
# There were no leap seconds before 1972, because the official mechanism
# accounting for the discrepancy between atomic time and the earth's rotation
# did not exist until the early 1970s.
# did not exist.
# The correction (+ or -) is made at the given time, so lines
# will typically look like:
@@ -48,10 +52,7 @@
# or
# Leap YEAR MON DAY 23:59:59 - R/S
# If the leapsecond is Rolling (R) the given time is local time.
# If the leapsecond is Stationary (S) the given time is UTC.
# Leap YEAR MONTH DAY HH:MM:SS CORR R/S
# If the leap second is Rolling (R) the given time is local time (unused here).
Leap 1972 Jun 30 23:59:60 + S
Leap 1972 Dec 31 23:59:60 + S
Leap 1973 Dec 31 23:59:60 + S
@@ -80,5 +81,9 @@ Leap 2012 Jun 30 23:59:60 + S
Leap 2015 Jun 30 23:59:60 + S
Leap 2016 Dec 31 23:59:60 + S
# Updated through IERS Bulletin C55
# File expires on: 28 December 2018
# POSIX timestamps for the data in this file:
#updated 1467936000
#expires 1561680000
# Updated through IERS Bulletin C56
# File expires on: 28 June 2019

View File

@@ -21,6 +21,8 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# tzdb data for North and Central America and environs
# This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson.
@@ -71,7 +73,7 @@
#
# Most of the US soon followed suit. See:
# Bartky IR. The adoption of standard time. Technol Cult 1989 Jan;30(1):25-56.
# http://dx.doi.org/10.2307/3105430
# https://dx.doi.org/10.2307/3105430
# From Paul Eggert (2005-04-16):
# That 1883 transition occurred at 12:00 new time, not at 12:00 old time.
@@ -460,6 +462,19 @@ Zone America/North_Dakota/Beulah -6:47:07 - LMT 1883 Nov 18 12:12:53
# western South Dakota, far western Texas (El Paso County, Hudspeth County,
# and Pine Springs and Nickel Creek in Culberson County), Utah, Wyoming
#
# From Paul Eggert (2018-10-25):
# On 1921-03-04 federal law placed all of Texas into the central time zone.
# However, El Paso ignored the law for decades and continued to observe
# mountain time, on the grounds that that's what they had always done
# and they weren't about to let the federal government tell them what to do.
# Eventually the federal government gave in and changed the law on
# 1970-04-10 to match what El Paso was actually doing. Although
# that's slightly after our 1970 cutoff, there is no need to create a
# separate zone for El Paso since they were ignoring the law anyway. See:
# Long T. El Pasoans were time rebels, fought to stay in Mountain zone.
# El Paso Times. 2018-10-24 06:40 -06.
# https://www.elpasotimes.com/story/news/local/el-paso/2018/10/24/el-pasoans-were-time-rebels-fought-stay-mountain-zone/1744509002/
#
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER
Rule Denver 1920 1921 - Mar lastSun 2:00 1:00 D
Rule Denver 1920 only - Oct lastSun 2:00 0 S
@@ -729,9 +744,7 @@ Zone America/Adak 12:13:22 - LMT 1867 Oct 19 12:44:35
Zone Pacific/Honolulu -10:31:26 - LMT 1896 Jan 13 12:00
-10:30 - HST 1933 Apr 30 2:00
-10:30 1:00 HDT 1933 May 21 12:00
-10:30 - HST 1942 Feb 9 2:00
-10:30 1:00 HDT 1945 Sep 30 2:00
-10:30 - HST 1947 Jun 8 2:00
-10:30 US H%sT 1947 Jun 8 2:00
-10:00 - HST
# Now we turn to US areas that have diverged from the consensus since 1970.

View File

@@ -21,6 +21,8 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# tzdb data for proposed US election time (this file is obsolete)
# This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson.

View File

@@ -21,6 +21,8 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# tzdb data for South America and environs
# This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson.
@@ -415,7 +417,7 @@ Rule Arg 2008 only - Oct Sun>=15 0:00 1:00 -
# standard time, so let's do that here too. This does not change UTC
# offsets, only tm_isdst and the time zone abbreviations. One minor
# plus is that this silences a zic complaint that there's no POSIX TZ
# setting for time stamps past 2038.
# setting for timestamps past 2038.
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
#
@@ -948,6 +950,14 @@ Rule Brazil 2016 2022 - Feb Sun>=15 0:00 0 -
# ... https://www.timeanddate.com/news/time/brazil-delays-dst-2018.html
# From Steffen Thorsen (2017-12-20):
# http://www.planalto.gov.br/ccivil_03/_ato2015-2018/2017/decreto/D9242.htm
#
# From Fábio Gomes (2018-10-04):
# The Brazilian president just announced a new change on this year DST.
# It was scheduled to start on November 4th and it was changed to November 18th.
# From Rodrigo Brüning Wessler (2018-10-15):
# The Brazilian government just announced that the change in DST was
# canceled.... Maybe the president Michel Temer also woke up one hour
# earlier today. :)
Rule Brazil 2018 max - Nov Sun>=1 0:00 1:00 -
Rule Brazil 2023 only - Feb Sun>=22 0:00 0 -
Rule Brazil 2024 2025 - Feb Sun>=15 0:00 0 -
@@ -1254,6 +1264,24 @@ Zone America/Rio_Branco -4:31:12 - LMT 1914
# they will switch from -03 to -04 one hour after Santiago does that day.
# For now, assume that they will not revert.
# From Juan Correa (2018-08-13):
# As of moments ago, the Ministry of Energy in Chile has announced the new
# schema for DST. ... Announcement in video (in Spanish):
# https://twitter.com/MinEnergia/status/1029000399129374720
# From Yonathan Dossow (2018-08-13):
# The video says "first Saturday of September", we all know it means Sunday at
# midnight.
# From Tim Parenti (2018-08-13):
# Translating the captions on the video at 0:44-0:55, "We want to announce as
# Government that from 2019, Winter Time will be increased to 5 months, between
# the first Saturday of April and the first Saturday of September."
# At 2:08-2:20, "The Magallanes region will maintain its current time, as
# decided by the citizens during 2017, but our Government will promote a
# regional dialogue table to gather their opinion on this matter."
# https://twitter.com/MinEnergia/status/1029009354001973248
# "We will keep the new time policy unchanged for at least the next 4 years."
# So we extend the new rules on Saturdays at 24:00 mainland time indefinitely.
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule Chile 1927 1931 - Sep 1 0:00 1:00 -
Rule Chile 1928 1932 - Apr 1 0:00 0 -
@@ -1287,8 +1315,10 @@ Rule Chile 2011 only - May Sun>=2 3:00u 0 -
Rule Chile 2011 only - Aug Sun>=16 4:00u 1:00 -
Rule Chile 2012 2014 - Apr Sun>=23 3:00u 0 -
Rule Chile 2012 2014 - Sep Sun>=2 4:00u 1:00 -
Rule Chile 2016 max - May Sun>=9 3:00u 0 -
Rule Chile 2016 max - Aug Sun>=9 4:00u 1:00 -
Rule Chile 2016 2018 - May Sun>=9 3:00u 0 -
Rule Chile 2016 2018 - Aug Sun>=9 4:00u 1:00 -
Rule Chile 2019 max - Apr Sun>=2 3:00u 0 -
Rule Chile 2019 max - Sep Sun>=2 4:00u 1:00 -
# IATA SSIM anomalies: (1992-02) says 1992-03-14;
# (1996-09) says 1998-03-08. Ignore these.
# Zone NAME GMTOFF RULES FORMAT [UNTIL]

View File

@@ -21,6 +21,8 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# tzdb data for System V rules (this file is obsolete)
# This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson.

View File

@@ -21,12 +21,12 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
#
# tz zone descriptions (deprecated version)
# tzdb timezone descriptions (deprecated version)
#
# This file is in the public domain, so clarified as of
# 2009-05-17 by Arthur David Olson.
#
# From Paul Eggert (2014-07-31):
# From Paul Eggert (2018-06-27):
# This file is intended as a backward-compatibility aid for older programs.
# New programs should use zone1970.tab. This file is like zone1970.tab (see
# zone1970.tab's comments), but with the following additional restrictions:
@@ -35,13 +35,13 @@
# 2. The first data column contains exactly one country code.
#
# Because of (2), each row stands for an area that is the intersection
# of a region identified by a country code and of a zone where civil
# of a region identified by a country code and of a timezone where civil
# clocks have agreed since 1970; this is a narrower definition than
# that of zone1970.tab.
#
# This table is intended as an aid for users, to help them select time
# zone data entries appropriate for their practical needs. It is not
# intended to take or endorse any position on legal or territorial claims.
# This table is intended as an aid for users, to help them select timezones
# appropriate for their practical needs. It is not intended to take or
# endorse any position on legal or territorial claims.
#
#country-
#code coordinates TZ comments
@@ -291,7 +291,7 @@ MM +1647+09610 Asia/Yangon
MN +4755+10653 Asia/Ulaanbaatar Mongolia (most areas)
MN +4801+09139 Asia/Hovd Bayan-Olgiy, Govi-Altai, Hovd, Uvs, Zavkhan
MN +4804+11430 Asia/Choibalsan Dornod, Sukhbaatar
MO +2214+11335 Asia/Macau
MO +221150+1133230 Asia/Macau
MP +1512+14545 Pacific/Saipan
MQ +1436-06105 America/Martinique
MR +1806-01557 Africa/Nouakchott

View File

@@ -11729,6 +11729,7 @@
32FC;CIRCLED KATAKANA WI;So;0;L;<circle> 30F0;;;;N;;;;;
32FD;CIRCLED KATAKANA WE;So;0;L;<circle> 30F1;;;;N;;;;;
32FE;CIRCLED KATAKANA WO;So;0;L;<circle> 30F2;;;;N;;;;;
32FF;SQUARE ERA NAME REIWA;So;0;L;<square> 4EE4 548C;;;;N;SQUARED TWO IDEOGRAPHS ERA NAME REIWA;;;;
3300;SQUARE APAATO;So;0;L;<square> 30A2 30D1 30FC 30C8;;;;N;SQUARED APAATO;;;;
3301;SQUARE ARUHUA;So;0;L;<square> 30A2 30EB 30D5 30A1;;;;N;SQUARED ARUHUA;;;;
3302;SQUARE ANPEA;So;0;L;<square> 30A2 30F3 30DA 30A2;;;;N;SQUARED ANPEA;;;;

View File

@@ -30,7 +30,7 @@ $(eval $(call IncludeCustomExtension, hotspot/lib/JvmOverrideFiles.gmk))
# status for individual files on specific platforms.
ifeq ($(TOOLCHAIN_TYPE), gcc)
BUILD_LIBJVM_vmStructs.cpp_CXXFLAGS := -fno-var-tracking-assignments -O0
BUILD_LIBJVM_vmStructs.cpp_CXXFLAGS := -fno-var-tracking-assignments
BUILD_LIBJVM_jvmciCompilerToVM.cpp_CXXFLAGS := -fno-var-tracking-assignments
BUILD_LIBJVM_jvmciCompilerToVMInit.cpp_CXXFLAGS := -fno-var-tracking-assignments
BUILD_LIBJVM_assembler_x86.cpp_CXXFLAGS := -Wno-maybe-uninitialized
@@ -38,20 +38,26 @@ ifeq ($(TOOLCHAIN_TYPE), gcc)
BUILD_LIBJVM_interp_masm_x86.cpp_CXXFLAGS := -Wno-uninitialized
endif
LIBJVM_FDLIBM_COPY_OPT_FLAG := $(CXX_O_FLAG_NONE)
# If the FDLIBM_CFLAGS variable is non-empty we know
# that the fdlibm-fork in hotspot can get optimized
# by using -ffp-contract=off on GCC/Clang platforms.
ifneq ($(FDLIBM_CFLAGS), )
LIBJVM_FDLIBM_COPY_OPT_FLAG := $(CXX_O_FLAG_NORM)
endif
ifeq ($(OPENJDK_TARGET_OS), linux)
BUILD_LIBJVM_ostream.cpp_CXXFLAGS := -D_FILE_OFFSET_BITS=64
BUILD_LIBJVM_logFileOutput.cpp_CXXFLAGS := -D_FILE_OFFSET_BITS=64
ifeq ($(OPENJDK_TARGET_CPU_ARCH), x86)
BUILD_LIBJVM_sharedRuntimeTrig.cpp_CXXFLAGS := -DNO_PCH $(CXX_O_FLAG_NONE)
BUILD_LIBJVM_sharedRuntimeTrans.cpp_CXXFLAGS := -DNO_PCH $(CXX_O_FLAG_NONE)
BUILD_LIBJVM_sharedRuntimeTrig.cpp_CXXFLAGS := -DNO_PCH $(FDLIBM_CFLAGS) $(LIBJVM_FDLIBM_COPY_OPT_FLAG)
BUILD_LIBJVM_sharedRuntimeTrans.cpp_CXXFLAGS := -DNO_PCH $(FDLIBM_CFLAGS) $(LIBJVM_FDLIBM_COPY_OPT_FLAG)
ifeq ($(TOOLCHAIN_TYPE), clang)
JVM_PRECOMPILED_HEADER_EXCLUDE := \
sharedRuntimeTrig.cpp \
sharedRuntimeTrans.cpp \
#
endif
ifeq ($(TOOLCHAIN_TYPE), clang)
JVM_PRECOMPILED_HEADER_EXCLUDE := \
sharedRuntimeTrig.cpp \
sharedRuntimeTrans.cpp \
#
endif
ifeq ($(OPENJDK_TARGET_CPU), x86)
@@ -120,8 +126,8 @@ else ifeq ($(OPENJDK_TARGET_OS), solaris)
else ifeq ($(OPENJDK_TARGET_OS), macosx)
# The copied fdlibm routines in these files must not be optimized
BUILD_LIBJVM_sharedRuntimeTrans.cpp_CXXFLAGS := $(CXX_O_FLAG_NONE)
BUILD_LIBJVM_sharedRuntimeTrig.cpp_CXXFLAGS := $(CXX_O_FLAG_NONE)
BUILD_LIBJVM_sharedRuntimeTrig.cpp_CXXFLAGS := $(FDLIBM_CFLAGS) $(LIBJVM_FDLIBM_COPY_OPT_FLAG)
BUILD_LIBJVM_sharedRuntimeTrans.cpp_CXXFLAGS := $(FDLIBM_CFLAGS) $(LIBJVM_FDLIBM_COPY_OPT_FLAG)
ifeq ($(TOOLCHAIN_TYPE), clang)
# NOTE: The old build tested clang version to make sure this workaround
# for the clang bug was still needed.

View File

@@ -82,7 +82,6 @@ JVM_GetClassFieldsCount
JVM_GetClassInterfaces
JVM_GetClassMethodsCount
JVM_GetClassModifiers
JVM_GetClassName
JVM_GetClassNameUTF
JVM_GetClassSignature
JVM_GetClassSigners
@@ -133,6 +132,7 @@ JVM_Halt
JVM_HasReferencePendingList
JVM_HoldsLock
JVM_IHashCode
JVM_InitClassName
JVM_InitProperties
JVM_InitStackTraceElement
JVM_InitStackTraceElementArray

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -40,7 +40,7 @@ enum CalendarType {
{0, 2}, // generic
{0, 2}, // gregorian
{0, 1}, // buddhist
{232, 4}, // japanese (eras from Meiji)
{232, 5}, // japanese (eras from Meiji)
{0, 2}, // roc (Minguo)
{0, 1}, // islamic (Hijrah)
{0, 1}, // islamic-civil (same as islamic)

View File

@@ -39,7 +39,7 @@ $(eval $(call SetupBuildLauncher, pack200, \
# On Mac, we have always exported all symbols, probably due to oversight
# and/or misunderstanding. To emulate this, don't hide any symbols
# by default.
# On AIX/xlc we need at least xlc 13.1 for the symbol hiding
# On AIX/xlc we need at least xlc 13.1 for the symbol hiding (see JDK-8214063)
# Also provide an override for non-conformant libraries.
ifeq ($(TOOLCHAIN_TYPE), gcc)
CXXFLAGS_JDKEXE += -fvisibility=hidden
@@ -50,10 +50,6 @@ else ifeq ($(TOOLCHAIN_TYPE), clang)
endif
else ifeq ($(TOOLCHAIN_TYPE), solstudio)
CXXFLAGS_JDKEXE += -xldscope=hidden
else ifeq ($(TOOLCHAIN_TYPE), xlc)
ifneq ($(CC_VERSION_NUMBER), 12.1)
CXXFLAGS_JDKEXE += -qvisibility=hidden
endif
endif
UNPACKEXE_SRC := $(TOPDIR)/src/jdk.pack/share/native/common-unpack \

View File

@@ -45,7 +45,7 @@ endif
# On Mac, we have always exported all symbols, probably due to oversight
# and/or misunderstanding. To emulate this, don't hide any symbols
# by default.
# On AIX/xlc we need at least xlc 13.1 for the symbol hiding
# On AIX/xlc we need at least xlc 13.1 for the symbol hiding (see JDK-8214063)
# Also provide an override for non-conformant libraries.
ifeq ($(TOOLCHAIN_TYPE), gcc)
LAUNCHER_CFLAGS += -fvisibility=hidden
@@ -56,10 +56,6 @@ else ifeq ($(TOOLCHAIN_TYPE), clang)
endif
else ifeq ($(TOOLCHAIN_TYPE), solstudio)
LAUNCHER_CFLAGS += -xldscope=hidden
else ifeq ($(TOOLCHAIN_TYPE), xlc)
ifneq ($(CC_VERSION_NUMBER), 12.1)
CXXFLAGS_JDKEXE += -qvisibility=hidden
endif
endif
LAUNCHER_SRC := $(TOPDIR)/src/java.base/share/native/launcher

View File

@@ -136,6 +136,7 @@ ifeq ($(OPENJDK_TARGET_OS), windows)
$(TOPDIR)/src/$(MODULE)/share/native/common/font \
$(TOPDIR)/src/$(MODULE)/share/native/common/java2d/opengl \
$(TOPDIR)/src/$(MODULE)/$(OPENJDK_TARGET_OS_TYPE)/native/common/awt/systemscale \
$(TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS_TYPE)/native/launcher \
#
endif
@@ -251,7 +252,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBAWT, \
LIBS_windows := kernel32.lib user32.lib gdi32.lib winspool.lib \
imm32.lib ole32.lib uuid.lib shell32.lib \
comdlg32.lib winmm.lib comctl32.lib shlwapi.lib \
delayimp.lib jvm.lib $(WIN_JAVA_LIB) advapi32.lib, \
delayimp.lib jvm.lib $(WIN_JAVA_LIB) advapi32.lib dwmapi.lib, \
VERSIONINFO_RESOURCE := $(LIBAWT_VERSIONINFO_RESOURCE), \
RC_FLAGS := $(RC_FLAGS) $(LIBAWT_RC_FLAGS) \
-D "JDK_FNAME=awt.dll" \
@@ -577,10 +578,12 @@ else ifeq ($(OPENJDK_TARGET_OS), macosx)
LIBFONTMANAGER_EXCLUDE_FILES += X11FontScaler.c \
X11TextRenderer.c \
fontpath.c \
lcdglyph.c
lcdglyph.c \
lcdglyphDW.cpp
else
LIBFONTMANAGER_EXCLUDE_FILES += fontpath.c \
lcdglyph.c
lcdglyph.c \
lcdglyphDW.cpp
endif
LIBFONTMANAGER_CFLAGS += $(X_CFLAGS) -DLE_STANDALONE -DHEADLESS

View File

@@ -39,20 +39,15 @@ ifeq ($(OPENJDK_TARGET_OS), solaris)
BUILD_LIBFDLIBM_OPTIMIZATION := HIGH
endif
ifeq ($(OPENJDK_TARGET_OS), linux)
ifeq ($(OPENJDK_TARGET_CPU), ppc64)
BUILD_LIBFDLIBM_OPTIMIZATION := HIGH
else ifeq ($(OPENJDK_TARGET_CPU), ppc64le)
BUILD_LIBFDLIBM_OPTIMIZATION := HIGH
else ifeq ($(OPENJDK_TARGET_CPU), s390x)
BUILD_LIBFDLIBM_OPTIMIZATION := HIGH
else ifeq ($(OPENJDK_TARGET_CPU), aarch64)
BUILD_LIBFDLIBM_OPTIMIZATION := HIGH
endif
# If FDLIBM_CFLAGS is non-empty we know that we can optimize
# fdlibm when adding those extra C flags. Currently GCC,
# and clang only.
ifneq ($(FDLIBM_CFLAGS), )
BUILD_LIBFDLIBM_OPTIMIZATION := LOW
endif
LIBFDLIBM_SRC := $(TOPDIR)/src/java.base/share/native/libfdlibm
LIBFDLIBM_CFLAGS := -I$(LIBFDLIBM_SRC)
LIBFDLIBM_CFLAGS := -I$(LIBFDLIBM_SRC) $(FDLIBM_CFLAGS)
ifneq ($(OPENJDK_TARGET_OS), macosx)
$(eval $(call SetupNativeCompilation, BUILD_LIBFDLIBM, \
@@ -64,11 +59,7 @@ ifneq ($(OPENJDK_TARGET_OS), macosx)
CFLAGS := $(CFLAGS_JDKLIB) $(LIBFDLIBM_CFLAGS), \
CFLAGS_windows_debug := -DLOGGING, \
CFLAGS_aix := -qfloat=nomaf, \
CFLAGS_linux_ppc64 := -ffp-contract=off, \
CFLAGS_linux_ppc64le := -ffp-contract=off, \
CFLAGS_linux_s390x := -ffp-contract=off, \
CFLAGS_linux_aarch64 := -ffp-contract=off, \
DISABLED_WARNINGS_gcc := sign-compare misleading-indentation, \
DISABLED_WARNINGS_gcc := sign-compare misleading-indentation array-bounds, \
DISABLED_WARNINGS_microsoft := 4146 4244 4018, \
ARFLAGS := $(ARFLAGS), \
OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libfdlibm, \

View File

@@ -55,7 +55,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBNET, \
LIBS_solaris := -lnsl -lsocket $(LIBDL), \
LIBS_aix := $(LIBDL),\
LIBS_windows := ws2_32.lib jvm.lib secur32.lib iphlpapi.lib winhttp.lib \
delayimp.lib $(WIN_JAVA_LIB) advapi32.lib, \
urlmon.lib delayimp.lib $(WIN_JAVA_LIB) advapi32.lib, \
LIBS_macosx := -framework CoreFoundation -framework CoreServices, \
))
@@ -138,6 +138,7 @@ ifeq ($(OPENJDK_TARGET_OS_TYPE), unix)
$(eval $(call SetupJdkLibrary, BUILD_LIBJSIG, \
NAME := jsig, \
OPTIMIZATION := LOW, \
CFLAGS := $(CFLAGS_JDKLIB) $(LIBJSIG_CFLAGS), \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \

View File

@@ -44,7 +44,12 @@ else ifeq ($(OPENJDK_TARGET_OS), windows)
ifeq ($(OPENJDK_TARGET_CPU), x86_64)
SA_CXXFLAGS := -DWIN64
else
SA_CXXFLAGS := -RTC1
# Only add /RTC1 flag for debug builds as it's
# incompatible with release type builds. See
# https://msdn.microsoft.com/en-us/library/8wtf2dfz.aspx
ifeq ($(DEBUG_LEVEL),slowdebug)
SA_CXXFLAGS := -RTC1
endif
endif
endif
@@ -52,7 +57,7 @@ endif
$(eval $(call SetupJdkLibrary, BUILD_LIBSA, \
NAME := saproc, \
OPTIMIZATION := NONE, \
OPTIMIZATION := HIGH, \
DISABLED_WARNINGS_microsoft := 4267, \
DISABLED_WARNINGS_gcc := sign-compare, \
DISABLED_WARNINGS_CXX_solstudio := truncwarn unknownpragma, \

View File

@@ -38,7 +38,7 @@ WIN_JAVA_LIB := $(SUPPORT_OUTPUTDIR)/native/java.base/libjava/java.lib
# On Mac, we have always exported all symbols, probably due to oversight
# and/or misunderstanding. To emulate this, don't hide any symbols
# by default.
# On AIX/xlc we need at least xlc 13.1 for the symbol hiding
# On AIX/xlc we need at least xlc 13.1 for the symbol hiding (see JDK-8214063)
# Also provide an override for non-conformant libraries.
ifeq ($(TOOLCHAIN_TYPE), gcc)
CFLAGS_JDKLIB += -fvisibility=hidden
@@ -55,12 +55,6 @@ else ifeq ($(TOOLCHAIN_TYPE), solstudio)
CFLAGS_JDKLIB += -xldscope=hidden
CXXFLAGS_JDKLIB += -xldscope=hidden
EXPORT_ALL_SYMBOLS := -xldscope=global
else ifeq ($(TOOLCHAIN_TYPE), xlc)
ifneq ($(CC_VERSION_NUMBER), 12.1)
CFLAGS_JDKLIB += -qvisibility=hidden
CXXFLAGS_JDKLIB += -qvisibility=hidden
EXPORT_ALL_SYMBOLS := -qvisibility=default
endif
endif
################################################################################

View File

@@ -139,6 +139,15 @@ NSK_AOD_INCLUDES := \
-I$(VM_TESTBASE_DIR)/nsk/share/native \
-I$(VM_TESTBASE_DIR)/nsk/share/jni
NO_FRAMEPOINTER_CFLAGS :=
ifeq ($(OPENJDK_TARGET_OS),linux)
NO_FRAMEPOINTER_CFLAGS := -fomit-frame-pointer
endif
BUILD_HOTSPOT_JTREG_LIBRARIES_CFLAGS_libNoFramePointer := $(NO_FRAMEPOINTER_CFLAGS)
# Optimization -O3 needed, HIGH == -O3
BUILD_HOTSPOT_JTREG_LIBRARIES_OPTIMIZATION_libNoFramePointer := HIGH
BUILD_HOTSPOT_JTREG_LIBRARIES_CFLAGS_libProcessUtils := $(VM_SHARE_INCLUDES)
BUILD_HOTSPOT_JTREG_LIBRARIES_CFLAGS_libThreadController := $(NSK_MONITORING_INCLUDES)

62
modules.list Normal file
View File

@@ -0,0 +1,62 @@
java.base,
java.compiler,
java.datatransfer,
java.desktop,
java.instrument,
java.logging,
java.management,
java.management.rmi,
java.naming,
java.net.http,
java.prefs,
java.rmi,
java.scripting,
java.se,
java.security.jgss,
java.security.sasl,
java.smartcardio,
java.sql,
java.sql.rowset,
java.transaction.xa,
java.xml,
java.xml.crypto,
javafx.base,
javafx.controls,
javafx.fxml,
javafx.graphics,
javafx.media,
javafx.swing,
javafx.web,
jdk.accessibility,
jdk.aot,
jdk.charsets,
jdk.compiler,
jdk.crypto.cryptoki,
jdk.crypto.ec,
jdk.dynalink,
jdk.httpserver,
jdk.internal.ed,
jdk.internal.le,
jdk.internal.vm.ci,
jdk.internal.vm.compiler,
jdk.internal.vm.compiler.management,
jdk.jdi,
jdk.jdwp.agent,
jdk.jfr,
jdk.jsobject,
jdk.localedata,
jdk.management,
jdk.management.agent,
jdk.management.jfr,
jdk.naming.dns,
jdk.naming.rmi,
jdk.net,
jdk.pack,
jdk.scripting.nashorn,
jdk.scripting.nashorn.shell,
jdk.sctp,
jdk.security.auth,
jdk.security.jgss,
jdk.unsupported,
jdk.xml.dom,
jdk.zipfs

View File

@@ -49,7 +49,7 @@
<target name="compile" depends="init"
description="compile the source " >
<!-- Compile the java code from ${src} into ${build} -->
<javac debug="off" source="1.6" target="1.6" srcdir="${src}" destdir="${build}"/>
<javac debug="on" source="8" target="8" srcdir="${src}" destdir="${build}"/>
</target>
<target name="run" depends="dist"

View File

@@ -0,0 +1,320 @@
package j2dbench.report;
import java.io.IOException;
import java.nio.file.DirectoryIteratorException;
import java.nio.file.DirectoryStream;
import java.nio.file.FileSystem;
import java.nio.file.FileSystems;
import java.nio.file.Files;
import java.nio.file.Path;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Vector;
/**
* The class reads J2DBench scores and reports them into output stream in format applicable for TeamCity charts.
* The directory, where J2DBench result files placed, is specified via command line parameter like follows:
* <p>
* <code>-basexml | -b <xml file path></code>
* </p>
* This directory must contain one file with pattern <code>*{openjdk}*.{res}</code> which is considered as a container
* of reference scores and several <code>*{jbsdk}*.{res}</code>.
* <p>
* <p> Names of these files have several mandatory fields separated by <code>"_"</code> and look like
* <code>osName_jdkName_renderName_*.res</code>
* </p>
* <p>
* If any of score is less than corresponding reference value by 5% then exit code <code>1</code> is returned otherwise
* exit code <code>0</code> is returned.
* <p>
* Standard output will contain scores in format required for TeamCity charts.
* <p>
* Created by vprovodin on 13/02/2017.
*/
public class TCChartReporter {
private static boolean printTCValues = false;
private static boolean printValues = false;
private static final DecimalFormat decimalFormat =
new DecimalFormat("0.00");
private static FileSystem defaultFileSystem = FileSystems.getDefault();
private static double getMeasurementError(String testCaseName, String osName) {
if (testCaseName.contains("text.Rendering.tests.drawString") && osName.toLowerCase().contains("lin") )
return 0.18;
return 0.1;
}
/**
* Level at which tests are grouped to be displayed in summary
*/
private static final int LEVEL = 2;
/**
* Holds the groups and corresponding group-display-names
*/
private static List<String> groups = new ArrayList<>();
private static Map<String, Double> referenceValues = new HashMap<>();
private static boolean testFailed = false;
private static void printUsage() {
String usage =
"\njava TCChartReporter [options] " +
" \n\n" +
"where options include: " +
" \n" +
" -basexml | -b <xml file path> " +
"path to base-build result";
System.out.println(usage);
System.exit(0);
}
/**
* String = getTestResultsTableForSummary()
*/
private static double generateTestCaseReport(
Object key,
Map<String, J2DAnalyzer.ResultHolder> testCaseResult,
Map<String, Integer> testCaseResultCount) {
Integer curTestCountObj = testCaseResultCount.get(key.toString());
int curTestCount = 0;
if (curTestCountObj != null) {
curTestCount = curTestCountObj;
}
double totalScore = 0;
for (int i = 0; i < curTestCount; i++) {
J2DAnalyzer.ResultHolder resultTCR = testCaseResult.get(key.toString() + "_" + i);
totalScore = totalScore + resultTCR.getScore();
}
return totalScore;
}
/**
* Generate Testcase Summary Report for TC - *.out
*/
private static void generateTestCaseSummaryReport(
String OJRname,
Map<String, Double> consoleResult,
Map<String, J2DAnalyzer.ResultHolder> testCaseResult,
Map<String, Integer> testCaseResultCount,
boolean rememberReference) {
String curGroupName, curTestName;
Object[] groupNameArray = groups.toArray();
Object[] testCaseList = consoleResult.keySet().toArray();
Arrays.sort(testCaseList);
for (Object aGroupNameArray : groupNameArray) {
double value;
curGroupName = aGroupNameArray.toString();
for (Object aTestCaseList : testCaseList) {
curTestName = aTestCaseList.toString();
if (curTestName.contains(curGroupName)) {
value = generateTestCaseReport(curTestName, testCaseResult, testCaseResultCount);
if (printTCValues)
System.out.println("##teamcity[buildStatisticValue key='" + (OJRname.isEmpty() ? "" : OJRname + ".") + curTestName
+ "' value='" + decimalFormat.format(value) + "']");
if (printValues)
System.out.println((OJRname.isEmpty() ? "" : OJRname + ".") + curTestName + "," + decimalFormat.format(value));
if (rememberReference) {
referenceValues.put(curTestName, value);
} else {
double refValue = referenceValues.getOrDefault(curTestName, 0.);
if (Math.abs(value/refValue - 1) >= getMeasurementError(curTestName, OJRname)) {
System.err.println(OJRname);
System.err.println(curTestName);
System.err.println("\treferenceValue=" + refValue);
System.err.println("\t actualValue=" + value);
System.err.println("\t diff:" + ((value / refValue - 1) * 100));
testFailed = (value < refValue);
}
}
}
}
}
}
/**
* main
*/
public static void main(String args[]) {
String baseXML = null;
int group = 2;
/* ---- Analysis Mode ----
BEST = 1;
WORST = 2;
AVERAGE = 3;
MIDAVG = 4;
------------------------ */
int analyzerMode = 4;
try {
for (int i = 0; i < args.length; i++) {
if (args[i].startsWith("-basexml") ||
args[i].startsWith("-b")) {
i++;
baseXML = args[i];
} else if (args[i].startsWith("-tc")) {
printTCValues = true;
} else if (args[i].startsWith("-v"))
printValues = true;
}
} catch (Exception e) {
printUsage();
}
XMLHTMLReporter.setGroupLevel(group);
J2DAnalyzer.setMode(analyzerMode);
if (baseXML != null) {
generateComparisonReport(defaultFileSystem.getPath(baseXML));
} else {
printUsage();
}
if (testFailed)
System.exit(1);
}
/**
* Add Test Group to the list
*/
private static void addGroup(String testName) {
String testNameSplit[] = testName.replace('.', '_').split("_");
StringBuilder group = new StringBuilder(testNameSplit[0]);
for (int i = 1; i < LEVEL; i++) {
group.append(".").append(testNameSplit[i]);
}
if (!groups.contains(group.toString()))
groups.add(group.toString());
}
private static List<Path> listResFiles(Path dir, String pattern) throws IOException {
List<Path> result = new ArrayList<>();
try (DirectoryStream<Path> stream = Files.newDirectoryStream(dir, pattern)) {
for (Path entry : stream) {
result.add(entry);
}
} catch (DirectoryIteratorException ex) {
throw ex.getCause();
}
return result;
}
/**
* Generate the reports from the base & target result XML
*/
private static void generateComparisonReport(Path directoryToResFiles) {
if (directoryToResFiles.toFile().isDirectory()) {
List<Path> jbsdkFiles, openjdkFiles;
try {
jbsdkFiles = listResFiles(directoryToResFiles, "*{jbsdk,jbre}*.{res}");
openjdkFiles = listResFiles(directoryToResFiles, "*{openjdk}*.{res}");
} catch (IOException e) {
e.printStackTrace();
return;
}
readScores(openjdkFiles.get(0), true);
for (Path file : jbsdkFiles) {
readScores(file, false);
}
} else {
readScores(directoryToResFiles, true);
}
}
private static void readScores(Path file, boolean rememberReference) {
String fileName = file.getName(file.getNameCount() - 1).toString();
String osName="", jdkName="", renderName="";
if (fileName.contains("win") || fileName.contains("linux") || fileName.contains("osx")) {
String[] fileNameComponents = fileName.split("_");
if (fileNameComponents.length > 0)
osName = fileNameComponents[0];
if (fileNameComponents.length > 1)
jdkName = fileNameComponents[1];
if (fileNameComponents.length > 2)
renderName = fileNameComponents[2];
}
String resultXMLFileName = file.toString();
J2DAnalyzer.results = new Vector();
J2DAnalyzer.readResults(resultXMLFileName);
J2DAnalyzer.SingleResultSetHolder baseSRSH =
(J2DAnalyzer.SingleResultSetHolder) J2DAnalyzer.results.elementAt(0);
Enumeration baseEnum_ = baseSRSH.getKeyEnumeration();
Vector<String> baseKeyvector = new Vector<>();
while (baseEnum_.hasMoreElements()) {
baseKeyvector.add((String) baseEnum_.nextElement());
}
String baseKeys[] = new String[baseKeyvector.size()];
baseKeyvector.copyInto(baseKeys);
J2DAnalyzer.sort(baseKeys);
Map<String, Double> consoleBaseRes = new HashMap<>();
Map<String, J2DAnalyzer.ResultHolder> testCaseBaseResult = new HashMap<>();
Map<String, Integer> testCaseResultCount = new HashMap<>();
for (String baseKey : baseKeys) {
J2DAnalyzer.ResultHolder baseTCR =
baseSRSH.getResultByKey(baseKey);
Integer curTestCountObj = testCaseResultCount.get(baseTCR.getName());
int curTestCount = 0;
if (curTestCountObj != null) {
curTestCount = curTestCountObj;
}
curTestCount++;
testCaseBaseResult.put(baseTCR.getName() + "_" + (curTestCount - 1), baseTCR);
testCaseResultCount.put(baseTCR.getName(), curTestCount);
addGroup(baseTCR.getName());
Double curTotalScoreObj = consoleBaseRes.get(baseTCR.getName());
double curTotalScore = 0;
if (curTotalScoreObj != null) {
curTotalScore = curTotalScoreObj;
}
curTotalScore = curTotalScore + baseTCR.getScore();
consoleBaseRes.put(baseTCR.getName(), curTotalScore);
}
String OJRname = osName + "." + jdkName + "." + renderName;
generateTestCaseSummaryReport((OJRname.length() == 2? "": OJRname),
consoleBaseRes,
testCaseBaseResult,
testCaseResultCount,
rememberReference);
}
}

View File

@@ -1,3 +1,34 @@
/*
*
* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* - Neither the name of Oracle nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package java2d;
import java.awt.Color;

View File

@@ -1,3 +1,34 @@
/*
*
* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* - Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* - Neither the name of Oracle nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package java2d;
import java.awt.Color;

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
// Copyright (c) 2014, Red Hat Inc. All rights reserved.
// Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
// Copyright (c) 2014, 2019, Red Hat, Inc. All rights reserved.
// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
//
// This code is free software; you can redistribute it and/or modify it
@@ -4817,13 +4817,7 @@ encode %{
// Handle existing monitor
if ((EmitSync & 0x02) == 0) {
// we can use AArch64's bit test and branch here but
// markoopDesc does not define a bit index just the bit value
// so assert in case the bit pos changes
# define __monitor_value_log2 1
assert(markOopDesc::monitor_value == (1 << __monitor_value_log2), "incorrect bit position");
__ tbnz(disp_hdr, __monitor_value_log2, object_has_monitor);
# undef __monitor_value_log2
__ tbnz(disp_hdr, exact_log2(markOopDesc::monitor_value), object_has_monitor);
}
// Set displaced_header to be (markOop of object | UNLOCK_VALUE).
@@ -4855,14 +4849,6 @@ encode %{
__ b(retry_load);
}
// Formerly:
// __ cmpxchgptr(/*oldv=*/disp_hdr,
// /*newv=*/box,
// /*addr=*/oop,
// /*tmp=*/tmp,
// cont,
// /*fail*/NULL);
assert(oopDesc::mark_offset_in_bytes() == 0, "offset of _mark is not 0");
// If the compare-and-exchange succeeded, then we found an unlocked
@@ -4911,43 +4897,19 @@ encode %{
__ bind(fail);
}
// Label next;
// __ cmpxchgptr(/*oldv=*/disp_hdr,
// /*newv=*/rthread,
// /*addr=*/tmp,
// /*tmp=*/rscratch1,
// /*succeed*/next,
// /*fail*/NULL);
// __ bind(next);
// store a non-null value into the box.
__ str(box, Address(box, BasicLock::displaced_header_offset_in_bytes()));
// PPC port checks the following invariants
// #ifdef ASSERT
// bne(flag, cont);
// We have acquired the monitor, check some invariants.
// addw(/*monitor=*/tmp, tmp, -ObjectMonitor::owner_offset_in_bytes());
// Invariant 1: _recursions should be 0.
// assert(ObjectMonitor::recursions_size_in_bytes() == 8, "unexpected size");
// assert_mem8_is_zero(ObjectMonitor::recursions_offset_in_bytes(), tmp,
// "monitor->_recursions should be 0", -1);
// Invariant 2: OwnerIsThread shouldn't be 0.
// assert(ObjectMonitor::OwnerIsThread_size_in_bytes() == 4, "unexpected size");
//assert_mem4_isnot_zero(ObjectMonitor::OwnerIsThread_offset_in_bytes(), tmp,
// "monitor->OwnerIsThread shouldn't be 0", -1);
// #endif
// Store a non-null value into the box to avoid looking like a re-entrant
// lock. The fast-path monitor unlock code checks for
// markOopDesc::monitor_value so use markOopDesc::unused_mark which has the
// relevant bit set, and also matches ObjectSynchronizer::slow_enter.
__ mov(tmp, (address)markOopDesc::unused_mark());
__ str(tmp, Address(box, BasicLock::displaced_header_offset_in_bytes()));
}
__ bind(cont);
// flag == EQ indicates success
// flag == NE indicates failure
%}
// TODO
// reimplement this with custom cmpxchgptr code
// which avoids some of the unnecessary branching
enc_class aarch64_enc_fast_unlock(iRegP object, iRegP box, iRegP tmp, iRegP tmp2) %{
MacroAssembler _masm(&cbuf);
Register oop = as_Register($object$$reg);
@@ -4956,7 +4918,6 @@ encode %{
Register tmp = as_Register($tmp2$$reg);
Label cont;
Label object_has_monitor;
Label cas_failed;
assert_different_registers(oop, box, tmp, disp_hdr);
@@ -4977,7 +4938,6 @@ encode %{
__ cmp(disp_hdr, zr);
__ br(Assembler::EQ, cont);
// Handle existing monitor.
if ((EmitSync & 0x02) == 0) {
__ ldr(tmp, Address(oop, oopDesc::mark_offset_in_bytes()));
@@ -4988,38 +4948,29 @@ encode %{
// see the stack address of the basicLock in the markOop of the
// object.
if (UseLSE) {
__ mov(tmp, box);
__ casl(Assembler::xword, tmp, disp_hdr, oop);
__ cmp(tmp, box);
} else {
Label retry_load;
if ((VM_Version::features() & VM_Version::CPU_STXR_PREFETCH))
__ prfm(Address(oop), PSTL1STRM);
__ bind(retry_load);
__ ldxr(tmp, oop);
__ cmp(box, tmp);
__ br(Assembler::NE, cas_failed);
// use stlxr to ensure update is immediately visible
__ stlxr(tmp, disp_hdr, oop);
__ cbzw(tmp, cont);
__ b(retry_load);
}
if (UseLSE) {
__ mov(tmp, box);
__ casl(Assembler::xword, tmp, disp_hdr, oop);
__ cmp(tmp, box);
__ b(cont);
} else {
Label retry_load;
if ((VM_Version::features() & VM_Version::CPU_STXR_PREFETCH))
__ prfm(Address(oop), PSTL1STRM);
__ bind(retry_load);
__ ldxr(tmp, oop);
__ cmp(box, tmp);
__ br(Assembler::NE, cont);
// use stlxr to ensure update is immediately visible
__ stlxr(tmp, disp_hdr, oop);
__ cbzw(tmp, cont);
__ b(retry_load);
}
// __ cmpxchgptr(/*compare_value=*/box,
// /*exchange_value=*/disp_hdr,
// /*where=*/oop,
// /*result=*/tmp,
// cont,
// /*cas_failed*/NULL);
assert(oopDesc::mark_offset_in_bytes() == 0, "offset of _mark is not 0");
__ bind(cas_failed);
// Handle existing monitor.
if ((EmitSync & 0x02) == 0) {
__ b(cont);
__ bind(object_has_monitor);
__ add(tmp, tmp, -markOopDesc::monitor_value); // monitor
__ ldr(rscratch1, Address(tmp, ObjectMonitor::owner_offset_in_bytes()));
@@ -5036,7 +4987,7 @@ encode %{
__ cbnz(rscratch1, cont);
// need a release store here
__ lea(tmp, Address(tmp, ObjectMonitor::owner_offset_in_bytes()));
__ stlr(rscratch1, tmp); // rscratch1 is zero
__ stlr(zr, tmp); // set unowned
}
__ bind(cont);
@@ -9787,8 +9738,7 @@ instruct compareAndExchangeB(iRegINoSp res, indirect mem, iRegI oldval, iRegI ne
"cmpxchg $res = $mem, $oldval, $newval\t# (byte, weak) if $mem == $oldval then $mem <-- $newval"
%}
ins_encode %{
__ uxtbw(rscratch2, $oldval$$Register);
__ cmpxchg($mem$$Register, rscratch2, $newval$$Register,
__ cmpxchg($mem$$Register, $oldval$$Register, $newval$$Register,
Assembler::byte, /*acquire*/ false, /*release*/ true,
/*weak*/ false, $res$$Register);
__ sxtbw($res$$Register, $res$$Register);
@@ -9804,8 +9754,7 @@ instruct compareAndExchangeS(iRegINoSp res, indirect mem, iRegI oldval, iRegI ne
"cmpxchg $res = $mem, $oldval, $newval\t# (short, weak) if $mem == $oldval then $mem <-- $newval"
%}
ins_encode %{
__ uxthw(rscratch2, $oldval$$Register);
__ cmpxchg($mem$$Register, rscratch2, $newval$$Register,
__ cmpxchg($mem$$Register, $oldval$$Register, $newval$$Register,
Assembler::halfword, /*acquire*/ false, /*release*/ true,
/*weak*/ false, $res$$Register);
__ sxthw($res$$Register, $res$$Register);
@@ -9882,8 +9831,7 @@ instruct weakCompareAndSwapB(iRegINoSp res, indirect mem, iRegI oldval, iRegI ne
"csetw $res, EQ\t# $res <-- (EQ ? 1 : 0)"
%}
ins_encode %{
__ uxtbw(rscratch2, $oldval$$Register);
__ cmpxchg($mem$$Register, rscratch2, $newval$$Register,
__ cmpxchg($mem$$Register, $oldval$$Register, $newval$$Register,
Assembler::byte, /*acquire*/ false, /*release*/ true,
/*weak*/ true, noreg);
__ csetw($res$$Register, Assembler::EQ);
@@ -9900,8 +9848,7 @@ instruct weakCompareAndSwapS(iRegINoSp res, indirect mem, iRegI oldval, iRegI ne
"csetw $res, EQ\t# $res <-- (EQ ? 1 : 0)"
%}
ins_encode %{
__ uxthw(rscratch2, $oldval$$Register);
__ cmpxchg($mem$$Register, rscratch2, $newval$$Register,
__ cmpxchg($mem$$Register, $oldval$$Register, $newval$$Register,
Assembler::halfword, /*acquire*/ false, /*release*/ true,
/*weak*/ true, noreg);
__ csetw($res$$Register, Assembler::EQ);

View File

@@ -1,6 +1,6 @@
/*
* Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2015, Red Hat Inc. All rights reserved.
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2019, Red Hat Inc. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -317,29 +317,6 @@ namespace ext
enum operation { uxtb, uxth, uxtw, uxtx, sxtb, sxth, sxtw, sxtx };
};
// abs methods which cannot overflow and so are well-defined across
// the entire domain of integer types.
static inline unsigned int uabs(unsigned int n) {
union {
unsigned int result;
int value;
};
result = n;
if (value < 0) result = -result;
return result;
}
static inline unsigned long uabs(unsigned long n) {
union {
unsigned long result;
long value;
};
result = n;
if (value < 0) result = -result;
return result;
}
static inline unsigned long uabs(long n) { return uabs((unsigned long)n); }
static inline unsigned long uabs(int n) { return uabs((unsigned int)n); }
// Addressing modes
class Address {
public:
@@ -1142,7 +1119,7 @@ public:
Register Rn, enum operand_size sz, int op, bool ordered) {
starti;
f(sz, 31, 30), f(0b001000, 29, 24), f(op, 23, 21);
rf(Rs, 16), f(ordered, 15), rf(Rt2, 10), rf(Rn, 5), rf(Rt1, 0);
rf(Rs, 16), f(ordered, 15), rf(Rt2, 10), srf(Rn, 5), zrf(Rt1, 0);
}
void load_exclusive(Register dst, Register addr,

View File

@@ -2789,7 +2789,10 @@ void LIR_Assembler::align_backward_branch_target() {
}
void LIR_Assembler::negate(LIR_Opr left, LIR_Opr dest) {
void LIR_Assembler::negate(LIR_Opr left, LIR_Opr dest, LIR_Opr tmp) {
// tmp must be unused
assert(tmp->is_illegal(), "wasting a register if tmp is allocated");
if (left->is_single_cpu()) {
assert(dest->is_single_cpu(), "expect single result reg");
__ negw(dest->as_register(), left->as_register());

View File

@@ -812,6 +812,15 @@ address MacroAssembler::emit_trampoline_stub(int insts_call_instruction_offset,
return stub_start_addr;
}
void MacroAssembler::c2bool(Register x) {
// implements x == 0 ? 0 : 1
// note: must only look at least-significant byte of x
// since C-style booleans are stored in one byte
// only! (was bug)
tst(x, 0xff);
cset(x, Assembler::NE);
}
address MacroAssembler::ic_call(address entry, jint method_index) {
RelocationHolder rh = virtual_call_Relocation::spec(pc(), method_index);
// address const_ptr = long_constant((jlong)Universe::non_oop_word());
@@ -2348,21 +2357,18 @@ void MacroAssembler::cmpxchg(Register addr, Register expected,
bool weak,
Register result) {
if (result == noreg) result = rscratch1;
BLOCK_COMMENT("cmpxchg {");
if (UseLSE) {
mov(result, expected);
lse_cas(result, new_val, addr, size, acquire, release, /*not_pair*/ true);
cmp(result, expected);
compare_eq(result, expected, size);
} else {
BLOCK_COMMENT("cmpxchg {");
Label retry_load, done;
if ((VM_Version::features() & VM_Version::CPU_STXR_PREFETCH))
prfm(Address(addr), PSTL1STRM);
bind(retry_load);
load_exclusive(result, addr, size, acquire);
if (size == xword)
cmp(result, expected);
else
cmpw(result, expected);
compare_eq(result, expected, size);
br(Assembler::NE, done);
store_exclusive(rscratch1, new_val, addr, size, release);
if (weak) {
@@ -2371,10 +2377,28 @@ void MacroAssembler::cmpxchg(Register addr, Register expected,
cbnzw(rscratch1, retry_load);
}
bind(done);
BLOCK_COMMENT("} cmpxchg");
}
BLOCK_COMMENT("} cmpxchg");
}
// A generic comparison. Only compares for equality, clobbers rscratch1.
void MacroAssembler::compare_eq(Register rm, Register rn, enum operand_size size) {
if (size == xword) {
cmp(rm, rn);
} else if (size == word) {
cmpw(rm, rn);
} else if (size == halfword) {
eorw(rscratch1, rm, rn);
ands(zr, rscratch1, 0xffff);
} else if (size == byte) {
eorw(rscratch1, rm, rn);
ands(zr, rscratch1, 0xff);
} else {
ShouldNotReachHere();
}
}
static bool different(Register a, RegisterOrConstant b, Register c) {
if (b.is_constant())
return a != c;
@@ -4856,7 +4880,7 @@ void MacroAssembler::string_compare(Register str1, Register str2,
// A very short string
cmpw(cnt2, minCharsInWord);
br(Assembler::LT, SHORT_STRING);
br(Assembler::LE, SHORT_STRING);
// Compare longwords
// load first parts of strings and finish initialization while loading
@@ -4880,8 +4904,7 @@ void MacroAssembler::string_compare(Register str1, Register str2,
ldr(tmp2, Address(str2));
cmp(cnt2, STUB_THRESHOLD);
br(GE, STUB);
subsw(cnt2, cnt2, 4);
br(EQ, TAIL_CHECK);
subw(cnt2, cnt2, 4);
eor(vtmpZ, T16B, vtmpZ, vtmpZ);
lea(str1, Address(str1, cnt2, Address::uxtw(str1_chr_shift)));
lea(str2, Address(str2, cnt2, Address::uxtw(str2_chr_shift)));
@@ -4897,8 +4920,7 @@ void MacroAssembler::string_compare(Register str1, Register str2,
ldrs(vtmp, Address(str2));
cmp(cnt2, STUB_THRESHOLD);
br(GE, STUB);
subsw(cnt2, cnt2, 4);
br(EQ, TAIL_CHECK);
subw(cnt2, cnt2, 4);
lea(str1, Address(str1, cnt2, Address::uxtw(str1_chr_shift)));
eor(vtmpZ, T16B, vtmpZ, vtmpZ);
lea(str2, Address(str2, cnt2, Address::uxtw(str2_chr_shift)));
@@ -5609,12 +5631,12 @@ void MacroAssembler::encode_iso_array(Register src, Register dst,
orr(v5, T16B, Vtmp3, Vtmp4);
uzp1(Vtmp1, T16B, Vtmp1, Vtmp2);
uzp1(Vtmp3, T16B, Vtmp3, Vtmp4);
stpq(Vtmp1, Vtmp3, dst);
uzp2(v5, T16B, v4, v5); // high bytes
umov(tmp2, v5, D, 1);
fmovd(tmp1, v5);
orr(tmp1, tmp1, tmp2);
cbnz(tmp1, LOOP_8);
stpq(Vtmp1, Vtmp3, dst);
sub(len, len, 32);
add(dst, dst, 32);
add(src, src, 64);
@@ -5632,7 +5654,6 @@ void MacroAssembler::encode_iso_array(Register src, Register dst,
prfm(Address(src, SoftwarePrefetchHintDistance));
uzp1(v4, T16B, Vtmp1, Vtmp2);
uzp1(v5, T16B, Vtmp3, Vtmp4);
stpq(v4, v5, dst);
orr(Vtmp1, T16B, Vtmp1, Vtmp2);
orr(Vtmp3, T16B, Vtmp3, Vtmp4);
uzp2(Vtmp1, T16B, Vtmp1, Vtmp3); // high bytes
@@ -5640,6 +5661,7 @@ void MacroAssembler::encode_iso_array(Register src, Register dst,
fmovd(tmp1, Vtmp1);
orr(tmp1, tmp1, tmp2);
cbnz(tmp1, LOOP_8);
stpq(v4, v5, dst);
sub(len, len, 32);
add(dst, dst, 32);
add(src, src, 64);
@@ -5654,9 +5676,9 @@ void MacroAssembler::encode_iso_array(Register src, Register dst,
ld1(Vtmp1, T8H, src);
uzp1(Vtmp2, T16B, Vtmp1, Vtmp1); // low bytes
uzp2(Vtmp3, T16B, Vtmp1, Vtmp1); // high bytes
strd(Vtmp2, dst);
fmovd(tmp1, Vtmp3);
cbnz(tmp1, NEXT_1);
strd(Vtmp2, dst);
sub(len, len, 8);
add(dst, dst, 8);
@@ -5669,9 +5691,9 @@ void MacroAssembler::encode_iso_array(Register src, Register dst,
cbz(len, DONE);
BIND(NEXT_1);
ldrh(tmp1, Address(post(src, 2)));
strb(tmp1, Address(post(dst, 1)));
tst(tmp1, 0xff00);
br(NE, SET_RESULT);
strb(tmp1, Address(post(dst, 1)));
subs(len, len, 1);
br(GT, NEXT_1);

View File

@@ -781,6 +781,9 @@ public:
void resolve_jobject(Register value, Register thread, Register tmp);
// C 'boolean' to Java boolean: x == 0 ? 0 : 1
void c2bool(Register x);
// oop manipulations
void load_klass(Register dst, Register src);
void store_klass(Register dst, Register src);
@@ -1012,7 +1015,10 @@ public:
enum operand_size size,
bool acquire, bool release, bool weak,
Register result);
private:
void compare_eq(Register rn, Register rm, enum operand_size size);
public:
// Calls
address trampoline_call(Address entry, CodeBuffer *cbuf = NULL);

View File

@@ -1922,7 +1922,7 @@ nmethod* SharedRuntime::generate_native_wrapper(MacroAssembler* masm,
// Unpack native results.
switch (ret_type) {
case T_BOOLEAN: __ ubfx(r0, r0, 0, 8); break;
case T_BOOLEAN: __ c2bool(r0); break;
case T_CHAR : __ ubfx(r0, r0, 0, 16); break;
case T_BYTE : __ sbfx(r0, r0, 0, 8); break;
case T_SHORT : __ sbfx(r0, r0, 0, 16); break;

View File

@@ -5741,15 +5741,18 @@ class StubGenerator: public StubCodeGenerator {
}
if (vmIntrinsics::is_intrinsic_available(vmIntrinsics::_dlog)) {
StubRoutines::_dlog = generate_dlog();
// disabled pending fix and retest of generated code via JDK-8210858
// StubRoutines::_dlog = generate_dlog();
}
if (vmIntrinsics::is_intrinsic_available(vmIntrinsics::_dsin)) {
StubRoutines::_dsin = generate_dsin_dcos(/* isCos = */ false);
// disabled pending fix and retest of generated code via JDK-8210461
// StubRoutines::_dsin = generate_dsin_dcos(/* isCos = */ false);
}
if (vmIntrinsics::is_intrinsic_available(vmIntrinsics::_dcos)) {
StubRoutines::_dcos = generate_dsin_dcos(/* isCos = */ true);
// disabled pending fix and retest of generated code via JDK-8210461
// StubRoutines::_dcos = generate_dsin_dcos(/* isCos = */ true);
}
}

View File

@@ -557,7 +557,7 @@ address TemplateInterpreterGenerator::generate_result_handler_for(
BasicType type) {
address entry = __ pc();
switch (type) {
case T_BOOLEAN: __ uxtb(r0, r0); break;
case T_BOOLEAN: __ c2bool(r0); break;
case T_CHAR : __ uxth(r0, r0); break;
case T_BYTE : __ sxtb(r0, r0); break;
case T_SHORT : __ sxth(r0, r0); break;
@@ -1891,6 +1891,7 @@ void TemplateInterpreterGenerator::generate_throw_exception() {
__ restore_locals();
__ restore_constant_pool_cache();
__ get_method(rmethod);
__ get_dispatch();
// The method data pointer was incremented already during
// call profiling. We have to restore the mdp for the current bcp.

View File

@@ -44,24 +44,30 @@
#define __ masm->
#ifndef PRODUCT
extern "C" void bad_compiled_vtable_index(JavaThread* thread,
oop receiver,
int index);
extern "C" void bad_compiled_vtable_index(JavaThread* thread, oop receiver, int index);
#endif
VtableStub* VtableStubs::create_vtable_stub(int vtable_index) {
const int aarch64_code_length = VtableStub::pd_code_size_limit(true);
VtableStub* s = new(aarch64_code_length) VtableStub(true, vtable_index);
// Read "A word on VtableStub sizing" in share/code/vtableStubs.hpp for details on stub sizing.
const int stub_code_length = code_size_limit(true);
VtableStub* s = new(stub_code_length) VtableStub(true, vtable_index);
// Can be NULL if there is no free space in the code cache.
if (s == NULL) {
return NULL;
}
ResourceMark rm;
CodeBuffer cb(s->entry_point(), aarch64_code_length);
// Count unused bytes in instruction sequences of variable size.
// We add them to the computed buffer size in order to avoid
// overflow in subsequently generated stubs.
address start_pc;
int slop_bytes = 0;
int slop_delta = 0;
ResourceMark rm;
CodeBuffer cb(s->entry_point(), stub_code_length);
MacroAssembler* masm = new MacroAssembler(&cb);
#ifndef PRODUCT
#if (!defined(PRODUCT) && defined(COMPILER2))
if (CountCompiledCalls) {
__ lea(r16, ExternalAddress((address) SharedRuntime::nof_megamorphic_calls_addr()));
__ incrementw(Address(r16));
@@ -78,21 +84,35 @@ VtableStub* VtableStubs::create_vtable_stub(int vtable_index) {
#ifndef PRODUCT
if (DebugVtables) {
Label L;
// TODO: find upper bound for this debug code.
start_pc = __ pc();
// check offset vs vtable length
__ ldrw(rscratch1, Address(r16, Klass::vtable_length_offset()));
__ cmpw(rscratch1, vtable_index * vtableEntry::size());
__ br(Assembler::GT, L);
__ enter();
__ mov(r2, vtable_index);
__ call_VM(noreg,
CAST_FROM_FN_PTR(address, bad_compiled_vtable_index), j_rarg0, r2);
__ call_VM(noreg, CAST_FROM_FN_PTR(address, bad_compiled_vtable_index), j_rarg0, r2);
const ptrdiff_t estimate = 256;
const ptrdiff_t codesize = __ pc() - start_pc;
slop_delta = estimate - codesize; // call_VM varies in length, depending on data
slop_bytes += slop_delta;
assert(slop_delta >= 0, "vtable #%d: Code size estimate (%d) for DebugVtables too small, required: %d", vtable_index, (int)estimate, (int)codesize);
__ leave();
__ bind(L);
}
#endif // PRODUCT
start_pc = __ pc();
__ lookup_virtual_method(r16, vtable_index, rmethod);
slop_delta = 8 - (int)(__ pc() - start_pc);
slop_bytes += slop_delta;
assert(slop_delta >= 0, "negative slop(%d) encountered, adjust code size estimate!", slop_delta);
#ifndef PRODUCT
if (DebugVtables) {
Label L;
__ cbz(rmethod, L);
@@ -101,6 +121,8 @@ VtableStub* VtableStubs::create_vtable_stub(int vtable_index) {
__ stop("Vtable entry is NULL");
__ bind(L);
}
#endif // PRODUCT
// r0: receiver klass
// rmethod: Method*
// r2: receiver
@@ -108,43 +130,46 @@ VtableStub* VtableStubs::create_vtable_stub(int vtable_index) {
__ ldr(rscratch1, Address(rmethod, Method::from_compiled_offset()));
__ br(rscratch1);
__ flush();
masm->flush();
bookkeeping(masm, tty, s, npe_addr, ame_addr, true, vtable_index, slop_bytes, 0);
if (PrintMiscellaneous && (WizardMode || Verbose)) {
tty->print_cr("vtable #%d at " PTR_FORMAT "[%d] left over: %d",
vtable_index, p2i(s->entry_point()),
(int)(s->code_end() - s->entry_point()),
(int)(s->code_end() - __ pc()));
}
guarantee(__ pc() <= s->code_end(), "overflowed buffer");
s->set_exception_points(npe_addr, ame_addr);
return s;
}
VtableStub* VtableStubs::create_itable_stub(int itable_index) {
// Note well: pd_code_size_limit is the absolute minimum we can get
// away with. If you add code here, bump the code stub size
// returned by pd_code_size_limit!
const int code_length = VtableStub::pd_code_size_limit(false);
VtableStub* s = new(code_length) VtableStub(false, itable_index);
ResourceMark rm;
CodeBuffer cb(s->entry_point(), code_length);
// Read "A word on VtableStub sizing" in share/code/vtableStubs.hpp for details on stub sizing.
const int stub_code_length = code_size_limit(false);
VtableStub* s = new(stub_code_length) VtableStub(false, itable_index);
// Can be NULL if there is no free space in the code cache.
if (s == NULL) {
return NULL;
}
// Count unused bytes in instruction sequences of variable size.
// We add them to the computed buffer size in order to avoid
// overflow in subsequently generated stubs.
address start_pc;
int slop_bytes = 0;
int slop_delta = 0;
ResourceMark rm;
CodeBuffer cb(s->entry_point(), stub_code_length);
MacroAssembler* masm = new MacroAssembler(&cb);
#ifndef PRODUCT
#if (!defined(PRODUCT) && defined(COMPILER2))
if (CountCompiledCalls) {
__ lea(r10, ExternalAddress((address) SharedRuntime::nof_megamorphic_calls_addr()));
__ incrementw(Address(r10));
}
#endif
// get receiver (need to skip return address on top of stack)
assert(VtableStub::receiver_location() == j_rarg0->as_VMReg(), "receiver expected in j_rarg0");
// Entry arguments:
// rscratch2: CompiledICHolder
// j_rarg0: Receiver
// Most registers are in use; we'll use r16, rmethod, r10, r11
const Register recv_klass_reg = r10;
const Register holder_klass_reg = r16; // declaring interface klass (DECC)
@@ -157,8 +182,8 @@ VtableStub* VtableStubs::create_itable_stub(int itable_index) {
__ ldr(resolved_klass_reg, Address(icholder_reg, CompiledICHolder::holder_klass_offset()));
__ ldr(holder_klass_reg, Address(icholder_reg, CompiledICHolder::holder_metadata_offset()));
// get receiver (need to skip return address on top of stack)
assert(VtableStub::receiver_location() == j_rarg0->as_VMReg(), "receiver expected in j_rarg0");
start_pc = __ pc();
// get receiver klass (also an implicit null-check)
address npe_addr = __ pc();
__ load_klass(recv_klass_reg, j_rarg0);
@@ -172,16 +197,25 @@ VtableStub* VtableStubs::create_itable_stub(int itable_index) {
L_no_such_interface,
/*return_method=*/false);
const ptrdiff_t typecheckSize = __ pc() - start_pc;
start_pc = __ pc();
// Get selected method from declaring class and itable index
__ load_klass(recv_klass_reg, j_rarg0); // restore recv_klass_reg
__ lookup_interface_method(// inputs: rec. class, interface, itable index
recv_klass_reg, holder_klass_reg, itable_index,
// outputs: method, scan temp. reg
rmethod, temp_reg,
L_no_such_interface);
recv_klass_reg, holder_klass_reg, itable_index,
// outputs: method, scan temp. reg
rmethod, temp_reg,
L_no_such_interface);
// method (rmethod): Method*
// j_rarg0: receiver
const ptrdiff_t lookupSize = __ pc() - start_pc;
// Reduce "estimate" such that "padding" does not drop below 8.
const ptrdiff_t estimate = 152;
const ptrdiff_t codesize = typecheckSize + lookupSize;
slop_delta = (int)(estimate - codesize);
slop_bytes += slop_delta;
assert(slop_delta >= 0, "itable #%d: Code size estimate (%d) for lookup_interface_method too small, required: %d", itable_index, (int)estimate, (int)codesize);
#ifdef ASSERT
if (DebugVtables) {
@@ -206,92 +240,17 @@ VtableStub* VtableStubs::create_itable_stub(int itable_index) {
// We force resolving of the call site by jumping to the "handle
// wrong method" stub, and so let the interpreter runtime do all the
// dirty work.
assert(SharedRuntime::get_handle_wrong_method_stub() != NULL, "check initialization order");
__ far_jump(RuntimeAddress(SharedRuntime::get_handle_wrong_method_stub()));
__ flush();
masm->flush();
bookkeeping(masm, tty, s, npe_addr, ame_addr, false, itable_index, slop_bytes, 0);
if (PrintMiscellaneous && (WizardMode || Verbose)) {
tty->print_cr("itable #%d at " PTR_FORMAT "[%d] left over: %d",
itable_index, p2i(s->entry_point()),
(int)(s->code_end() - s->entry_point()),
(int)(s->code_end() - __ pc()));
}
guarantee(__ pc() <= s->code_end(), "overflowed buffer");
s->set_exception_points(npe_addr, ame_addr);
return s;
}
int VtableStub::pd_code_size_limit(bool is_vtable_stub) {
int size = DebugVtables ? 216 : 0;
if (CountCompiledCalls)
size += 6 * 4;
// FIXME: vtable stubs only need 36 bytes
if (is_vtable_stub)
size += 52;
else
size += 176;
return size;
// In order to tune these parameters, run the JVM with VM options
// +PrintMiscellaneous and +WizardMode to see information about
// actual itable stubs. Run it with -Xmx31G -XX:+UseCompressedOops.
//
// If Universe::narrow_klass_base is nonzero, decoding a compressed
// class can take zeveral instructions.
//
// The JVM98 app. _202_jess has a megamorphic interface call.
// The itable code looks like this:
// ldr xmethod, [xscratch2,#CompiledICHolder::holder_klass_offset]
// ldr x0, [xscratch2]
// ldr w10, [x1,#oopDesc::klass_offset_in_bytes]
// mov xheapbase, #0x3c000000 // #narrow_klass_base
// movk xheapbase, #0x3f7, lsl #32
// add x10, xheapbase, x10
// mov xheapbase, #0xe7ff0000 // #heapbase
// movk xheapbase, #0x3f7, lsl #32
// ldr w11, [x10,#vtable_length_offset]
// add x11, x10, x11, uxtx #3
// add x11, x11, #itableMethodEntry::method_offset_in_bytes
// ldr x10, [x11]
// cmp xmethod, x10
// b.eq found_method
// search:
// cbz x10, no_such_interface
// add x11, x11, #0x10
// ldr x10, [x11]
// cmp xmethod, x10
// b.ne search
// found_method:
// ldr w10, [x1,#oopDesc::klass_offset_in_bytes]
// mov xheapbase, #0x3c000000 // #narrow_klass_base
// movk xheapbase, #0x3f7, lsl #32
// add x10, xheapbase, x10
// mov xheapbase, #0xe7ff0000 // #heapbase
// movk xheapbase, #0x3f7, lsl #32
// ldr w11, [x10,#vtable_length_offset]
// add x11, x10, x11, uxtx #3
// add x11, x11, #itableMethodEntry::method_offset_in_bytes
// add x10, x10, #itentry_off
// ldr xmethod, [x11]
// cmp x0, xmethod
// b.eq found_method2
// search2:
// cbz xmethod, 0x000003ffa872e6cc
// add x11, x11, #0x10
// ldr xmethod, [x11]
// cmp x0, xmethod
// b.ne search2
// found_method2:
// ldr w11, [x11,#itableOffsetEntry::offset_offset_in_bytes]
// ldr xmethod, [x10,w11,uxtw]
// ldr xscratch1, [xmethod,#Method::from_compiled_offset]
// br xscratch1
// no_such_interface:
// b throw_ICCE_entry
int VtableStub::pd_code_alignment() {
// aarch64 cache line size is not an architected constant. We just align on 4 bytes (instruction size).
const unsigned int icache_line_size = 4;
return icache_line_size;
}
int VtableStub::pd_code_alignment() { return 4; }

View File

@@ -3258,7 +3258,9 @@ void LIR_Assembler::align_backward_branch_target() {
}
void LIR_Assembler::negate(LIR_Opr left, LIR_Opr dest) {
void LIR_Assembler::negate(LIR_Opr left, LIR_Opr dest, LIR_Opr tmp) {
// tmp must be unused
assert(tmp->is_illegal(), "wasting a register if tmp is allocated");
if (left->is_single_cpu()) {
assert (dest->type() == T_INT, "unexpected result type");

View File

@@ -48,17 +48,31 @@ extern "C" void bad_compiled_vtable_index(JavaThread* thread, oop receiver, int
#endif
VtableStub* VtableStubs::create_vtable_stub(int vtable_index) {
const int code_length = VtableStub::pd_code_size_limit(true);
VtableStub* s = new(code_length) VtableStub(true, vtable_index);
// Read "A word on VtableStub sizing" in share/code/vtableStubs.hpp for details on stub sizing.
const int stub_code_length = code_size_limit(true);
VtableStub* s = new(stub_code_length) VtableStub(true, vtable_index);
// Can be NULL if there is no free space in the code cache.
if (s == NULL) {
return NULL;
}
ResourceMark rm;
CodeBuffer cb(s->entry_point(), code_length);
// Count unused bytes in instruction sequences of variable size.
// We add them to the computed buffer size in order to avoid
// overflow in subsequently generated stubs.
address start_pc;
int slop_bytes = 0;
int slop_delta = 0;
ResourceMark rm;
CodeBuffer cb(s->entry_point(), stub_code_length);
MacroAssembler* masm = new MacroAssembler(&cb);
#if (!defined(PRODUCT) && defined(COMPILER2))
if (CountCompiledCalls) {
// Implementation required?
}
#endif
assert(VtableStub::receiver_location() == R0->as_VMReg(), "receiver expected in R0");
const Register tmp = Rtemp; // Rtemp OK, should be free at call sites
@@ -66,17 +80,33 @@ VtableStub* VtableStubs::create_vtable_stub(int vtable_index) {
address npe_addr = __ pc();
__ load_klass(tmp, R0);
{
int entry_offset = in_bytes(Klass::vtable_start_offset()) + vtable_index * vtableEntry::size_in_bytes();
int method_offset = vtableEntry::method_offset_in_bytes() + entry_offset;
#ifndef PRODUCT
if (DebugVtables) {
// Implementation required?
}
#endif
assert ((method_offset & (wordSize - 1)) == 0, "offset should be aligned");
int offset_mask = AARCH64_ONLY(0xfff << LogBytesPerWord) NOT_AARCH64(0xfff);
if (method_offset & ~offset_mask) {
__ add(tmp, tmp, method_offset & ~offset_mask);
start_pc = __ pc();
{ // lookup virtual method
int entry_offset = in_bytes(Klass::vtable_start_offset()) + vtable_index * vtableEntry::size_in_bytes();
int method_offset = vtableEntry::method_offset_in_bytes() + entry_offset;
assert ((method_offset & (wordSize - 1)) == 0, "offset should be aligned");
int offset_mask = AARCH64_ONLY(0xfff << LogBytesPerWord) NOT_AARCH64(0xfff);
if (method_offset & ~offset_mask) {
__ add(tmp, tmp, method_offset & ~offset_mask);
}
__ ldr(Rmethod, Address(tmp, method_offset & offset_mask));
}
__ ldr(Rmethod, Address(tmp, method_offset & offset_mask));
slop_delta = 8 - (int)(__ pc() - start_pc);
slop_bytes += slop_delta;
assert(slop_delta >= 0, "negative slop(%d) encountered, adjust code size estimate!", slop_delta);
#ifndef PRODUCT
if (DebugVtables) {
// Implementation required?
}
#endif
address ame_addr = __ pc();
#ifdef AARCH64
@@ -87,35 +117,36 @@ VtableStub* VtableStubs::create_vtable_stub(int vtable_index) {
#endif // AARCH64
masm->flush();
bookkeeping(masm, tty, s, npe_addr, ame_addr, true, vtable_index, slop_bytes, 0);
if (PrintMiscellaneous && (WizardMode || Verbose)) {
tty->print_cr("vtable #%d at " PTR_FORMAT "[%d] left over: %d",
vtable_index, p2i(s->entry_point()),
(int)(s->code_end() - s->entry_point()),
(int)(s->code_end() - __ pc()));
}
guarantee(__ pc() <= s->code_end(), "overflowed buffer");
// FIXME ARM: need correct 'slop' - below is x86 code
// shut the door on sizing bugs
//int slop = 8; // 32-bit offset is this much larger than a 13-bit one
//assert(vtable_index > 10 || __ pc() + slop <= s->code_end(), "room for 32-bit offset");
s->set_exception_points(npe_addr, ame_addr);
return s;
}
VtableStub* VtableStubs::create_itable_stub(int itable_index) {
const int code_length = VtableStub::pd_code_size_limit(false);
VtableStub* s = new(code_length) VtableStub(false, itable_index);
// Read "A word on VtableStub sizing" in share/code/vtableStubs.hpp for details on stub sizing.
const int stub_code_length = code_size_limit(false);
VtableStub* s = new(stub_code_length) VtableStub(false, itable_index);
// Can be NULL if there is no free space in the code cache.
if (s == NULL) {
return NULL;
}
// Count unused bytes in instruction sequences of variable size.
// We add them to the computed buffer size in order to avoid
// overflow in subsequently generated stubs.
address start_pc;
int slop_bytes = 0;
int slop_delta = 0;
ResourceMark rm;
CodeBuffer cb(s->entry_point(), code_length);
ResourceMark rm;
CodeBuffer cb(s->entry_point(), stub_code_length);
MacroAssembler* masm = new MacroAssembler(&cb);
#if (!defined(PRODUCT) && defined(COMPILER2))
if (CountCompiledCalls) {
// Implementation required?
}
#endif
assert(VtableStub::receiver_location() == R0->as_VMReg(), "receiver expected in R0");
// R0-R3 / R0-R7 registers hold the arguments and cannot be spoiled
@@ -123,15 +154,16 @@ VtableStub* VtableStubs::create_itable_stub(int itable_index) {
const Register Rintf = AARCH64_ONLY(R10) NOT_AARCH64(R5);
const Register Rscan = AARCH64_ONLY(R11) NOT_AARCH64(R6);
Label L_no_such_interface;
assert_different_registers(Ricklass, Rclass, Rintf, Rscan, Rtemp);
// Calculate the start of itable (itable goes after vtable)
const int scale = exact_log2(vtableEntry::size_in_bytes());
start_pc = __ pc();
// get receiver klass (also an implicit null-check)
address npe_addr = __ pc();
__ load_klass(Rclass, R0);
Label L_no_such_interface;
// Receiver subtype check against REFC.
__ ldr(Rintf, Address(Ricklass, CompiledICHolder::holder_klass_offset()));
__ lookup_interface_method(// inputs: rec. class, interface, itable index
@@ -140,6 +172,9 @@ VtableStub* VtableStubs::create_itable_stub(int itable_index) {
noreg, Rscan, Rtemp,
L_no_such_interface);
const ptrdiff_t typecheckSize = __ pc() - start_pc;
start_pc = __ pc();
// Get Method* and entry point for compiler
__ ldr(Rintf, Address(Ricklass, CompiledICHolder::holder_metadata_offset()));
__ lookup_interface_method(// inputs: rec. class, interface, itable index
@@ -148,6 +183,21 @@ VtableStub* VtableStubs::create_itable_stub(int itable_index) {
Rmethod, Rscan, Rtemp,
L_no_such_interface);
const ptrdiff_t lookupSize = __ pc() - start_pc;
// Reduce "estimate" such that "padding" does not drop below 8.
const ptrdiff_t estimate = 140;
const ptrdiff_t codesize = typecheckSize + lookupSize;
slop_delta = (int)(estimate - codesize);
slop_bytes += slop_delta;
assert(slop_delta >= 0, "itable #%d: Code size estimate (%d) for lookup_interface_method too small, required: %d", itable_index, (int)estimate, (int)codesize);
#ifndef PRODUCT
if (DebugVtables) {
// Implementation required?
}
#endif
address ame_addr = __ pc();
#ifdef AARCH64
@@ -158,7 +208,6 @@ VtableStub* VtableStubs::create_itable_stub(int itable_index) {
#endif // AARCH64
__ bind(L_no_such_interface);
// Handle IncompatibleClassChangeError in itable stubs.
// More detailed error message.
// We force resolving of the call site by jumping to the "handle
@@ -168,43 +217,13 @@ VtableStub* VtableStubs::create_itable_stub(int itable_index) {
__ jump(SharedRuntime::get_handle_wrong_method_stub(), relocInfo::runtime_call_type, Rtemp);
masm->flush();
bookkeeping(masm, tty, s, npe_addr, ame_addr, false, itable_index, slop_bytes, 0);
if (PrintMiscellaneous && (WizardMode || Verbose)) {
tty->print_cr("itable #%d at " PTR_FORMAT "[%d] left over: %d",
itable_index, p2i(s->entry_point()),
(int)(s->code_end() - s->entry_point()),
(int)(s->code_end() - __ pc()));
}
guarantee(__ pc() <= s->code_end(), "overflowed buffer");
// FIXME ARM: need correct 'slop' - below is x86 code
// shut the door on sizing bugs
//int slop = 8; // 32-bit offset is this much larger than a 13-bit one
//assert(itable_index > 10 || __ pc() + slop <= s->code_end(), "room for 32-bit offset");
s->set_exception_points(npe_addr, ame_addr);
return s;
}
int VtableStub::pd_code_size_limit(bool is_vtable_stub) {
int instr_count;
if (is_vtable_stub) {
// vtable stub size
instr_count = NOT_AARCH64(4) AARCH64_ONLY(5);
} else {
// itable stub size
instr_count = NOT_AARCH64(31) AARCH64_ONLY(31);
}
#ifdef AARCH64
if (UseCompressedClassPointers) {
instr_count += MacroAssembler::instr_count_for_decode_klass_not_null();
}
#endif // AARCH64
return instr_count * Assembler::InstructionSize;
}
int VtableStub::pd_code_alignment() {
return 8;
// ARM32 cache line size is not an architected constant. We just align on word size.
const unsigned int icache_line_size = wordSize;
return icache_line_size;
}

View File

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2017 SAP SE. All rights reserved.
* Copyright (c) 2012, 2018 SAP SE. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -299,6 +299,8 @@ class Assembler : public AbstractAssembler {
CMPI_OPCODE = (11u << OPCODE_SHIFT),
CMPL_OPCODE = (31u << OPCODE_SHIFT | 32u << 1),
CMPLI_OPCODE = (10u << OPCODE_SHIFT),
CMPRB_OPCODE = (31u << OPCODE_SHIFT | 192u << 1),
CMPEQB_OPCODE = (31u << OPCODE_SHIFT | 224u << 1),
ISEL_OPCODE = (31u << OPCODE_SHIFT | 15u << 1),
@@ -336,6 +338,7 @@ class Assembler : public AbstractAssembler {
MTCRF_OPCODE = (31u << OPCODE_SHIFT | 144u << 1),
MFCR_OPCODE = (31u << OPCODE_SHIFT | 19u << 1),
MCRF_OPCODE = (19u << OPCODE_SHIFT | 0u << 1),
SETB_OPCODE = (31u << OPCODE_SHIFT | 128u << 1),
// condition register logic instructions
CRAND_OPCODE = (19u << OPCODE_SHIFT | 257u << 1),
@@ -397,6 +400,7 @@ class Assembler : public AbstractAssembler {
LWAX_OPCODE = (31u << OPCODE_SHIFT | 341u << XO_21_30_SHIFT), // X-FORM
CNTLZW_OPCODE = (31u << OPCODE_SHIFT | 26u << XO_21_30_SHIFT), // X-FORM
CNTTZW_OPCODE = (31u << OPCODE_SHIFT | 538u << XO_21_30_SHIFT), // X-FORM
// 64 bit opcode encodings
@@ -428,6 +432,7 @@ class Assembler : public AbstractAssembler {
DIVD_OPCODE = (31u << OPCODE_SHIFT | 489u << 1), // XO-FORM
CNTLZD_OPCODE = (31u << OPCODE_SHIFT | 58u << XO_21_30_SHIFT), // X-FORM
CNTTZD_OPCODE = (31u << OPCODE_SHIFT | 570u << XO_21_30_SHIFT), // X-FORM
NAND_OPCODE = (31u << OPCODE_SHIFT | 476u << XO_21_30_SHIFT), // X-FORM
NOR_OPCODE = (31u << OPCODE_SHIFT | 124u << XO_21_30_SHIFT), // X-FORM
@@ -522,6 +527,9 @@ class Assembler : public AbstractAssembler {
XXLXOR_OPCODE = (60u << OPCODE_SHIFT | 154u << 3),
XXLEQV_OPCODE = (60u << OPCODE_SHIFT | 186u << 3),
// Deliver A Random Number (introduced with POWER9)
DARN_OPCODE = (31u << OPCODE_SHIFT | 755u << 1),
// Vector Permute and Formatting
VPKPX_OPCODE = (4u << OPCODE_SHIFT | 782u ),
VPKSHSS_OPCODE = (4u << OPCODE_SHIFT | 398u ),
@@ -1051,7 +1059,8 @@ class Assembler : public AbstractAssembler {
static int frs( int x) { return opp_u_field(x, 10, 6); }
static int frt( int x) { return opp_u_field(x, 10, 6); }
static int fxm( int x) { return opp_u_field(x, 19, 12); }
static int l10( int x) { return opp_u_field(x, 10, 10); }
static int l10( int x) { assert(x == 0 || x == 1, "must be 0 or 1"); return opp_u_field(x, 10, 10); }
static int l14( int x) { return opp_u_field(x, 15, 14); }
static int l15( int x) { return opp_u_field(x, 15, 15); }
static int l910( int x) { return opp_u_field(x, 10, 9); }
static int e1215( int x) { return opp_u_field(x, 15, 12); }
@@ -1417,6 +1426,10 @@ class Assembler : public AbstractAssembler {
inline void cmplw( ConditionRegister crx, Register a, Register b);
inline void cmpld( ConditionRegister crx, Register a, Register b);
// >= Power9
inline void cmprb( ConditionRegister bf, int l, Register a, Register b);
inline void cmpeqb(ConditionRegister bf, Register a, Register b);
inline void isel( Register d, Register a, Register b, int bc);
// Convenient version which takes: Condition register, Condition code and invert flag. Omit b to keep old value.
inline void isel( Register d, ConditionRegister cr, Condition cc, bool inv, Register a, Register b = noreg);
@@ -1476,6 +1489,10 @@ class Assembler : public AbstractAssembler {
inline void cntlzw_( Register a, Register s);
inline void cntlzd( Register a, Register s);
inline void cntlzd_( Register a, Register s);
inline void cnttzw( Register a, Register s);
inline void cnttzw_( Register a, Register s);
inline void cnttzd( Register a, Register s);
inline void cnttzd_( Register a, Register s);
// PPC 1, section 3.3.12, Fixed-Point Rotate and Shift Instructions
inline void sld( Register a, Register s, Register b);
@@ -1612,6 +1629,8 @@ class Assembler : public AbstractAssembler {
inline void mfcr( Register d);
inline void mcrf( ConditionRegister crd, ConditionRegister cra);
inline void mtcr( Register s);
// >= Power9
inline void setb( Register d, ConditionRegister cra);
// Special purpose registers
// Exception Register
@@ -2180,6 +2199,9 @@ class Assembler : public AbstractAssembler {
inline void mtfprwa( FloatRegister d, Register a);
inline void mffprd( Register a, FloatRegister d);
// Deliver A Random Number (introduced with POWER9)
inline void darn( Register d, int l = 1 /*L=CRN*/);
// AES (introduced with Power 8)
inline void vcipher( VectorRegister d, VectorRegister a, VectorRegister b);
inline void vcipherlast( VectorRegister d, VectorRegister a, VectorRegister b);

View File

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2002, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2017 SAP SE. All rights reserved.
* Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2018 SAP SE. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -171,6 +171,8 @@ inline void Assembler::cmpi( ConditionRegister f, int l, Register a, int si16)
inline void Assembler::cmp( ConditionRegister f, int l, Register a, Register b) { emit_int32( CMP_OPCODE | bf(f) | l10(l) | ra(a) | rb(b)); }
inline void Assembler::cmpli( ConditionRegister f, int l, Register a, int ui16) { emit_int32( CMPLI_OPCODE | bf(f) | l10(l) | ra(a) | uimm(ui16,16)); }
inline void Assembler::cmpl( ConditionRegister f, int l, Register a, Register b) { emit_int32( CMPL_OPCODE | bf(f) | l10(l) | ra(a) | rb(b)); }
inline void Assembler::cmprb( ConditionRegister f, int l, Register a, Register b) { emit_int32( CMPRB_OPCODE | bf(f) | l10(l) | ra(a) | rb(b)); }
inline void Assembler::cmpeqb(ConditionRegister f, Register a, Register b) { emit_int32( CMPEQB_OPCODE| bf(f) | ra(a) | rb(b)); }
// extended mnemonics of Compare Instructions
inline void Assembler::cmpwi( ConditionRegister crx, Register a, int si16) { Assembler::cmpi( crx, 0, a, si16); }
@@ -235,6 +237,10 @@ inline void Assembler::cntlzw( Register a, Register s) { emit_int3
inline void Assembler::cntlzw_( Register a, Register s) { emit_int32(CNTLZW_OPCODE | rta(a) | rs(s) | rc(1)); }
inline void Assembler::cntlzd( Register a, Register s) { emit_int32(CNTLZD_OPCODE | rta(a) | rs(s) | rc(0)); }
inline void Assembler::cntlzd_( Register a, Register s) { emit_int32(CNTLZD_OPCODE | rta(a) | rs(s) | rc(1)); }
inline void Assembler::cnttzw( Register a, Register s) { emit_int32(CNTTZW_OPCODE | rta(a) | rs(s) | rc(0)); }
inline void Assembler::cnttzw_( Register a, Register s) { emit_int32(CNTTZW_OPCODE | rta(a) | rs(s) | rc(1)); }
inline void Assembler::cnttzd( Register a, Register s) { emit_int32(CNTTZD_OPCODE | rta(a) | rs(s) | rc(0)); }
inline void Assembler::cnttzd_( Register a, Register s) { emit_int32(CNTTZD_OPCODE | rta(a) | rs(s) | rc(1)); }
// PPC 1, section 3.3.12, Fixed-Point Rotate and Shift Instructions
inline void Assembler::sld( Register a, Register s, Register b) { emit_int32(SLD_OPCODE | rta(a) | rs(s) | rb(b) | rc(0)); }
@@ -367,6 +373,8 @@ inline void Assembler::mfcr( Register d ) { emit_int32(MFCR_OPCODE | rt
inline void Assembler::mcrf( ConditionRegister crd, ConditionRegister cra)
{ emit_int32(MCRF_OPCODE | bf(crd) | bfa(cra)); }
inline void Assembler::mtcr( Register s) { Assembler::mtcrf(0xff, s); }
inline void Assembler::setb(Register d, ConditionRegister cra)
{ emit_int32(SETB_OPCODE | rt(d) | bfa(cra)); }
// Special purpose registers
// Exception Register
@@ -959,6 +967,9 @@ inline void Assembler::tsuspend_() { emit_int32( TS
inline void Assembler::tresume_() { emit_int32( TSR_OPCODE | /*L=1*/ 1u << (31-10) | rc(1)); }
inline void Assembler::tcheck(int f) { emit_int32( TCHECK_OPCODE | bf(f)); }
// Deliver A Random Number (introduced with POWER9)
inline void Assembler::darn(Register d, int l /* =1 */) { emit_int32( DARN_OPCODE | rt(d) | l14(l)); }
// ra0 version
inline void Assembler::lwzx( Register d, Register s2) { emit_int32( LWZX_OPCODE | rt(d) | rb(s2));}
inline void Assembler::lwz( Register d, int si16 ) { emit_int32( LWZ_OPCODE | rt(d) | d1(si16));}

View File

@@ -39,13 +39,13 @@
RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index, LIR_Opr array)
: _throw_index_out_of_bounds_exception(false), _index(index), _array(array) {
: _index(index), _array(array), _throw_index_out_of_bounds_exception(false) {
assert(info != NULL, "must have info");
_info = new CodeEmitInfo(info);
}
RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index)
: _throw_index_out_of_bounds_exception(true), _index(index), _array(NULL) {
: _index(index), _array(NULL), _throw_index_out_of_bounds_exception(true) {
assert(info != NULL, "must have info");
_info = new CodeEmitInfo(info);
}

View File

@@ -2840,7 +2840,9 @@ void LIR_Assembler::emit_delay(LIR_OpDelay* op) {
}
void LIR_Assembler::negate(LIR_Opr left, LIR_Opr dest) {
void LIR_Assembler::negate(LIR_Opr left, LIR_Opr dest, LIR_Opr tmp) {
// tmp must be unused
assert(tmp->is_illegal(), "wasting a register if tmp is allocated");
assert(left->is_register(), "can only handle registers");
if (left->is_single_cpu()) {

View File

@@ -292,11 +292,11 @@ void LIRGenerator::cmp_reg_mem(LIR_Condition condition, LIR_Opr reg, LIR_Opr bas
bool LIRGenerator::strength_reduce_multiply(LIR_Opr left, int c, LIR_Opr result, LIR_Opr tmp) {
assert(left != result, "should be different registers");
if (is_power_of_2(c + 1)) {
__ shift_left(left, log2_intptr(c + 1), result);
__ shift_left(left, log2_int(c + 1), result);
__ sub(result, left, result);
return true;
} else if (is_power_of_2(c - 1)) {
__ shift_left(left, log2_intptr(c - 1), result);
__ shift_left(left, log2_int(c - 1), result);
__ add(result, left, result);
return true;
}

View File

@@ -67,8 +67,8 @@ bool frame::safe_for_sender(JavaThread *thread) {
return false;
}
// Unextended sp must be within the stack and above or equal sp
bool unextended_sp_safe = (unextended_sp < thread->stack_base()) && (unextended_sp >= sp);
// Unextended sp must be within the stack
bool unextended_sp_safe = (unextended_sp < thread->stack_base());
if (!unextended_sp_safe) {
return false;
@@ -76,9 +76,10 @@ bool frame::safe_for_sender(JavaThread *thread) {
// An fp must be within the stack and above (but not equal) sp.
bool fp_safe = (fp <= thread->stack_base()) && (fp > sp);
// an interpreter fp must be within the stack and above (but not equal) sp
bool fp_interp_safe = (fp <= thread->stack_base()) && (fp > sp) &&
((fp - sp) >= (ijava_state_size + top_ijava_frame_abi_size));
// An interpreter fp must be within the stack and above (but not equal) sp.
// Moreover, it must be at least the size of the ijava_state structure.
bool fp_interp_safe = (fp <= thread->stack_base()) && (fp > sp) &&
((fp - sp) >= ijava_state_size);
// We know sp/unextended_sp are safe, only fp is questionable here

Some files were not shown because too many files have changed in this diff Show More