Commit Graph

3119 Commits

Author SHA1 Message Date
Ivan Hetman
fe1a169d9b
classlib: fix delete and replace for AbstractStringBuilder (#783) 2023-10-05 13:27:15 +02:00
Alexey Andreev
83a53e13bc Add sponsorship config file 2023-10-04 20:00:20 +02:00
Alexey Andreev
7ff56d7a94 wasm: suppress some failing tests 2023-10-02 14:18:25 +02:00
Alexey Andreev
2c00df288f wasm: fix ServiceLoader 2023-10-02 14:05:25 +02:00
Alexey Andreev
eab9254bfe Enable running C tests by default 2023-10-02 08:31:37 +02:00
Alexey Andreev
1c56036171 Suppress tests that are failing on C backend 2023-10-02 08:30:52 +02:00
Alexey Andreev
8fb6087bf0 Fix running tests for C backend 2023-10-02 08:30:24 +02:00
Alexey Andreev
f6a858520b Update test run configuration 2023-10-01 21:37:31 +02:00
Alexey Andreev
d850780d94 Update test annotations 2023-10-01 21:37:23 +02:00
Alexey Andreev
db4418ae1d Refactor test runner
1. Deprecate WhileClassCompilation annotation, introduce EachTestCompiledSeparately instead
2. Add annotations to enabled/disable tests for particular backends
2023-10-01 21:37:04 +02:00
Alexey Andreev
7806a699c5 wasm: fixing debug C generator 2023-09-30 20:19:22 +02:00
Alexey Andreev
fc3d92f58d classlib: improve performance of String.toLower/toUpper 2023-09-30 07:17:22 +02:00
Alexey Andreev
ee0ebd4c2b Remove excessive file 2023-09-29 21:12:05 +02:00
Alexey Andreev
47973face1 Simplify test runner, remove parallel run, remove HtmlUnit runner, fix Wasm tests 2023-09-29 21:11:23 +02:00
Alexey Andreev
a3eb5f635f Fix wrong previous commit 2023-09-29 20:57:45 +02:00
Alexey Andreev
58e68db2c4 classlib: properly determine enum class in SwitchBootstrapSubstitutor 2023-09-29 18:09:01 +02:00
Alexey Andreev
f14fc18afb Fix wrong maxTopLevelNames in InProcessBuildStrategy 2023-09-29 14:06:18 +02:00
Alexey Andreev
d4113a6744 classlib: improve Math min/max implementations in C and Wasm
Follow-up to ihromant's "fix Math min/max functions in JS"
2023-09-28 17:02:18 +02:00
ihromant
56ff3fbdd8 classlib: fix Math min/max functions 2023-09-28 17:02:18 +02:00
Ivan Hetman
5dec78b590
classlib: support SwitchBootstraps (#764)
Java 21 supports switch pattern matching (as well as few earlier Java version as an experimental feature). Javac produces code with INVOKEDYNAMIC that relies on bootstrap methods from `java.lang.runtime.SwitchBootstraps`. This commit is intended to support for new Java language feature
2023-09-28 15:04:07 +02:00
Ivan Hetman
0ef08a01e7
classlib: inheritDeque from SequencedCollection, fix ArrayDeque (#765)
Second part of JEP-431
2023-09-28 14:35:41 +02:00
Alexey Andreev
ada85b4c07 Bump checkstyle version to support Java 21 syntax 2023-09-28 13:51:08 +02:00
Alexey Andreev
ab507bb22b wasm: fix bugs in coroutine support 2023-09-27 20:28:09 +02:00
Alexey Andreev
219de85e24 Improve performance of PhiUpdater 2023-09-27 19:36:02 +02:00
Alexey Andreev
7fd3166f9b wasm: support Date.toString 2023-09-27 14:30:20 +02:00
Alexey Andreev
348b71685d js: fix object id generator 2023-09-27 13:51:37 +02:00
Alexey Andreev
eed44998f0 jso: trying to improve optimization of JSWrapper 2023-09-27 13:50:30 +02:00
Alexey Andreev
9c0e3b5e59 Remove unnecessary test file 2023-09-26 23:02:34 +02:00
Alexey Andreev
b7cf7b593c wasm: when building tests, resolve absolute paths to source files in DWARF 2023-09-26 23:02:16 +02:00
Alexey Andreev
5a0c418389 wasm: fix duplicate random function 2023-09-25 21:23:46 +02:00
Alexey Andreev
46790d11db Satisfy checkstyle after recent PR 2023-09-25 20:25:49 +02:00
Alexey Andreev
e84a1a8531 wasm: fix raw conversion of float and double to int and long 2023-09-25 20:25:49 +02:00
Alexey Andreev
de25cee3b8 When out-of-process build crashes with OOME, write heap dump 2023-09-25 20:25:49 +02:00
Alexey Andreev
c2c1d78f13 wasm: fix issue in exception handling transformer 2023-09-25 20:25:49 +02:00
Ivan Hetman
603d7f1f88
classlib: distinguish between +0 and -0 in double stringifier, improve copySign implementation 2023-09-25 15:56:43 +02:00
Colorize
05f50afa8d
classlib: add ExecutionException (#637) 2023-09-25 15:50:19 +02:00
ihromant
c858542605 classlib: implement general reversed ListIterator 2023-09-25 15:28:26 +02:00
Alexey Andreev
e383b94e1b classlib: fix implementations of SequencedCollection methods in ArrayList 2023-09-25 15:23:18 +02:00
Ivan Hetman
55426b25cf
classlib: add SequencedCollection interface, inherited List from it (#759)
(initial part of JEP-431)
2023-09-25 14:50:00 +02:00
Alexey Andreev
57ca715195 Bump test JDK version to 21 2023-09-25 11:38:36 +02:00
Ivan Hetman
a669cd4957
classlib: add MatchException needed for exhaustive switch (#757) 2023-09-24 19:24:47 +03:00
Alexey Andreev
fa2e003dd6 classlib: fix crash in WeakReference constructor
It occurred when ReferenceQueue.remove method was never used

Fix #756
2023-09-24 13:47:15 +02:00
Jonathan Coates
e02f91b0fd
classlib: add Java 9's Arrays.equals and Arrays.mismatch (#755) 2023-09-23 13:01:26 +03:00
Alexey Andreev
390861f835 wasm: fix producing programs with detached basic blocks 2023-09-22 21:26:34 +02:00
Alexey Andreev
98ec4597d6 Fix dominator tree algorithm 2023-09-22 21:26:34 +02:00
Alexey Andreev
1cd635afa5 Fix node splitting in irreducible CFG 2023-09-22 07:51:49 +02:00
Ivan Hetman
7589eb23fc
classlib: remove deprecated constructors of primitive wrappers (#754) 2023-09-21 16:05:18 +02:00
Alexey Andreev
94e34188c3 Satisfy checkstyle after last merged PR 2023-09-21 16:04:43 +02:00
Ivan Hetman
887528531f
classlib: fix for hashcode implementation in various classes, add other minor fixes/improvements (#752) 2023-09-21 15:30:41 +02:00
Ivan Hetman
e13746a650
classlib: fix reverse bytes methods in primitive wrappers (#753) 2023-09-21 13:58:03 +02:00