Jan Lahoda
78af109a06
Fixing tests.
2025-10-08 15:59:19 +02:00
Jan Lahoda
c78f6964eb
Cleanup.
2025-10-07 19:01:42 +02:00
Jan Lahoda
ce838030db
Enabling disabled test.
2025-09-25 17:32:51 +02:00
Jan Lahoda
31d3990ca7
Cleanup, making timeout work.
2025-09-12 12:51:20 +02:00
Jan Lahoda
d54e53d5f9
Merge branch 'JDK-8367499' into JDK-8367530
2025-09-12 12:01:26 +02:00
Jan Lahoda
bed37c4f10
Adding test.
2025-09-12 09:12:37 +02:00
Jan Lahoda
7320a5a102
Merge branch 'JDK-8364991' into exhaustiveness-errors
2025-09-11 16:51:19 +02:00
Jan Lahoda
8735a3d7c0
Adjusting to spec.
2025-09-11 16:41:34 +02:00
Jan Lahoda
74c72e6250
Merge branch 'master' into JDK-8364991
2025-09-11 12:56:31 +02:00
Chen Liang
85996572b6
8365676: javac incorrectly allows calling interface static method via type variable
...
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: vromero
2025-09-10 21:23:45 +00:00
Jan Lahoda
03c54d4288
8365689: Elements.getFileObjectOf fails with a NullPointerException when an erroneous Element is passed in
...
Reviewed-by: darcy, vromero
2025-09-08 12:26:58 +00:00
Jan Lahoda
f9dc640ef0
8351260: java.lang.AssertionError: Unexpected type tree: (ERROR) = (ERROR)
...
Reviewed-by: vromero
2025-09-08 06:33:30 +00:00
Archie Cobbs
1e90af08ab
8359383: Incorrect starting positions for implicitly typed variables
...
Reviewed-by: vromero
2025-09-05 14:30:40 +00:00
Leo Korinth
55e7af0560
8260555: Change the default TIMEOUT_FACTOR from 4 to 1
...
Reviewed-by: alanb, sspitsyn, lmesnik, ihse
2025-09-02 07:27:12 +00:00
Chen Liang
0e7399318b
8366264: tools/javac/launcher/SourceLauncherStackTraceTest.java does not cover the scenario for 8362237
...
Reviewed-by: cstein, jlahoda
2025-08-30 14:03:56 +00:00
Archie Cobbs
3e60ab51fe
8348611: Eliminate DeferredLintHandler and emit warnings after attribution
...
8224228: No way to locally suppress lint warnings in parser/tokenizer or preview features
8353758: Missing calls to Log.useSource() in JavacTrees
Reviewed-by: mcimadamore, vromero, jlahoda
2025-08-20 15:04:48 +00:00
Hannes Wallnöfer
908f3c9697
8356411: Comment tree not reporting correct position for label
...
Reviewed-by: liach
2025-08-20 08:38:06 +00:00
Jan Lahoda
a6be228642
8365314: javac fails with an exception for erroneous source
...
Reviewed-by: vromero
2025-08-14 07:04:40 +00:00
Jan Lahoda
c22e01d776
8341342: Elements.getAllModuleElements() does not work properly before JavacTask.analyze()
...
Reviewed-by: vromero, liach
2025-08-14 07:02:08 +00:00
Jan Lahoda
72e22b4de5
8362885: A more formal way to mark javac's Flags that belong to a specific Symbol type only
...
Reviewed-by: ihse, liach, vromero, mcimadamore, erikj
2025-08-13 08:07:45 +00:00
Jan Lahoda
8b5bb01355
8364987: javac fails with an exception when looking for diamond creation
...
Reviewed-by: vromero
2025-08-11 10:28:59 +00:00
Jan Lahoda
2f569e32f6
Merge branch 'JDK-8364991' into exhaustiveness-errors
2025-08-07 19:14:48 +02:00
Jan Lahoda
e4f655d70f
Improving test debuggability.
2025-08-07 19:13:38 +02:00
Jan Lahoda
36e337fab3
Merge branch 'JDK-8364991' into exhaustiveness-errors
2025-08-07 18:48:37 +02:00
Jan Lahoda
2cfbc715c0
8364991: Incorrect not-exhaustive error
2025-08-07 18:27:35 +02:00
Jan Lahoda
cad665ea40
Improvements.
2025-08-06 13:28:07 +02:00
David Beaumont
0ceb366dc2
8356645: Javac should utilize new ZIP file system read-only access mode
...
Reviewed-by: jlahoda
2025-08-06 08:55:47 +00:00
Jan Lahoda
3d6728cec9
A attempt to create more user-friendly errors for switch exaustiveness.
2025-08-04 17:42:42 +02:00
Chen Liang
1a206d2a6c
8364545: tools/javac/launcher/SourceLauncherTest.java fails frequently
...
Reviewed-by: cstein, jpai
2025-08-03 13:23:43 +00:00
Christian Stein
8ac4a88f3c
8362237: IllegalArgumentException in the launcher when exception without stack trace is thrown
...
Reviewed-by: kcr, vromero
2025-08-01 11:01:56 +00:00
Aggelos Biboudis
5e4a2ead71
8357653: Inner classes of type parameters emitted as raw types in signatures
...
8357472: NPE in Types.containsType for type variable used as a qualifier
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore, vromero, liach
2025-07-16 10:52:26 +00:00
Maurizio Cimadamore
b787ad6f69
8361401: Warnings for use of Sun APIs should not be mandatory
...
Reviewed-by: jlahoda, vromero
2025-07-16 09:55:08 +00:00
Vicente Romero
80662a485a
8361499: Intersection type cast causes javac crash with -Xjcov
...
Reviewed-by: mcimadamore
2025-07-10 10:38:31 +00:00
Chen Liang
d886ae12a2
8357185: Redundant local variables with unconditionally matching primitive patterns
...
Reviewed-by: jlahoda, abimpoudis
2025-07-09 12:14:14 +00:00
Jan Lahoda
853319439e
8361570: Incorrect 'sealed is not allowed here' compile-time error
...
Reviewed-by: mcimadamore, vromero
2025-07-08 14:33:14 +00:00
Jan Lahoda
0bd2f9cba2
8361445: javac crashes on unresolvable constant in @SuppressWarnings
...
Reviewed-by: asotona, liach
2025-07-08 12:04:08 +00:00
Maurizio Cimadamore
1934bd8d2c
8361481: Flexible Constructor Bodies generates a compilation error when compiling a user supplied java.lang.Object class
...
Reviewed-by: vromero, liach, jlahoda
2025-07-08 10:38:59 +00:00
Vicente Romero
05c9eec8d0
8361214: An anonymous class is erroneously being classify as an abstract class
...
Reviewed-by: liach, mcimadamore
2025-07-07 14:56:53 +00:00
Chen Liang
566279af49
8360022: ClassRefDupInConstantPoolTest.java fails when running in repeat
...
Reviewed-by: vromero
2025-07-03 20:49:05 +00:00
Jan Lahoda
fd13e1ce98
8358801: javac produces class that does not pass verifier.
...
Reviewed-by: mcimadamore, liach
2025-07-03 07:17:59 +00:00
Archie Cobbs
3525a40f39
8359596: Behavior change when both -Xlint:options and -Xlint:-options flags are given
...
Reviewed-by: mcimadamore, uschindler
2025-06-27 18:25:27 +00:00
Archie Cobbs
0e725c6fb1
8354447: Missing test for retroactive @SuppressWarnings("dangling-doc-comments") behavior
...
Reviewed-by: darcy
2025-06-13 21:42:17 +00:00
Vicente Romero
8adb052b46
8341778: Some javac tests ignore the result of JavacTask::call
...
Reviewed-by: shade
2025-06-06 14:11:27 +00:00
Archie Cobbs
c793de989f
8350212: Track source end positions of declarations that support @SuppressWarnings
...
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: mcimadamore
2025-06-05 21:57:33 +00:00
Nizar Benalla
af87035b71
8355746: Start of release updates for JDK 26
...
8355748: Add SourceVersion.RELEASE_26
8355751: Add source 26 and target 26 to javac
Co-authored-by: Joe Darcy <darcy@openjdk.org>
Reviewed-by: iris, coleenp, darcy
2025-06-05 16:01:32 +00:00
Hannes Greule
575806c0e5
8358078: javap crashes with NPE on preview class file
...
Reviewed-by: liach
2025-06-05 01:41:21 +00:00
Archie Cobbs
09ec4de74d
8358066: Non-ascii package names gives compilation error "import requires canonical name"
...
Reviewed-by: jlahoda, naoto
2025-06-04 12:56:18 +00:00
Magnus Ihse Bursie
edf92721c2
8356977: UTF-8 cleanups
...
Reviewed-by: naoto, prr
2025-06-04 08:10:42 +00:00
Archie Cobbs
e2f736658f
8329951: var emits deprecation warnings that do not point to the file or position
...
Reviewed-by: vromero
2025-06-03 14:35:17 +00:00
Archie Cobbs
26275a10b2
8355753: @SuppressWarnings("this-escape") not respected for indirect leak via field
...
Reviewed-by: vromero
2025-05-30 14:42:36 +00:00