Archie Cobbs
910bb68e51
8349847: Support configuring individual lint categories as errors
...
Reviewed-by: vromero
2025-10-07 19:32:08 +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
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
Archie Cobbs
cb9a98b31a
8347141: Several javac tests compile with an unnecessary -Xlint:-path flag
...
Reviewed-by: vromero, darcy
2025-01-09 14:46:13 +00:00
t.ogata
e6698f51a1
8337851: Some tests have name which confuse jtreg
...
Reviewed-by: aivanov, prr, cstein
2024-10-15 07:47:42 +00:00
Liam Miller-Cushon
7564949a56
8291643: Consider omitting type annotations from type error diagnostics
...
Reviewed-by: vromero
2024-06-05 19:10:13 +00:00
Jonathan Gibbons
a920af233a
8303689: javac -Xlint could/should report on "dangling" doc comments
...
Reviewed-by: vromero, ihse, prr
2024-04-26 19:47:06 +00:00
Archie Cobbs
064628471b
8317376: Minor improvements to the 'this' escape analyzer
...
Reviewed-by: vromero
2024-04-17 17:35:17 +00:00
Archie Cobbs
17535c34bc
8317818: Combinatorial explosion during 'this' escape analysis
...
Reviewed-by: vromero
2023-10-12 22:39:03 +00:00
Archie Cobbs
a8473b7079
8317336: Assertion error thrown during 'this' escape analysis
...
Reviewed-by: vromero
2023-10-12 16:51:53 +00:00
Joe Darcy
cb82c954e3
8312415: Expand -Xlint:serial checks to enum constants with specialized class bodies
...
Reviewed-by: jjg, jlahoda
2023-07-25 18:57:32 +00:00
Joe Darcy
61ab27087e
8310835: Address gaps in -Xlint:serial checks
...
Reviewed-by: rriggs, jjg
2023-07-20 01:10:46 +00:00
Joe Darcy
815ac6eeb3
8310907: Add missing file
...
Reviewed-by: jjg
2023-06-26 18:14:32 +00:00
Joe Darcy
289f218a32
8310861: Improve location reporting for javac serial lint warnings
...
Reviewed-by: jlahoda
2023-06-26 16:56:40 +00:00
Archie L. Cobbs
8f5bb538ab
8015831: Add lint check for calling overridable methods from a constructor
...
6557145: Warn about calling abstract methods in constructors
Reviewed-by: ihse, vromero, mcimadamore
2023-03-17 22:05:50 +00:00
Vicente Romero
1480d418e3
8208470: Type annotations on inner type that is an array component
...
Co-authored-by: Bernard Blaser <bsrbnd@openjdk.org>
Reviewed-by: jlahoda
2023-02-16 04:01:12 +00:00
Jaikiran Pai
e10778acce
8297695: Fix typos in test/langtools files
...
Co-authored-by: Michael Ernst <mernst@openjdk.org>
Reviewed-by: prappo, jjg, iris
2022-11-30 00:42:40 +00:00
Joe Darcy
2d18dda3f2
8173605: Remove support for source and target 1.7 option in javac
...
Reviewed-by: vromero
2022-09-01 16:43:50 +00:00
Joe Darcy
cc2861a993
8290901: Reduce use of -source in langtools tests
...
Reviewed-by: jjg
2022-07-29 17:35:22 +00:00
Jonathan Gibbons
3312d8c620
8285756: clean up use of bad arguments for @clean in langtools tests
...
Reviewed-by: darcy
2022-04-27 22:22:28 +00:00
Jan Lahoda
e3365041bd
8280866: SuppressWarnings does not work properly in package-info and module-info
...
Reviewed-by: darcy, vromero
2022-02-18 11:04:11 +00:00
Joe Darcy
6a466fe7ae
8202056: Expand serial warning to check for bad overloads of serial-related methods and ineffectual fields
...
8160675: Issue lint warning for non-serializable non-transient instance fields in serializable type
Reviewed-by: erikj, sspitsyn, jlahoda, vromero, rriggs, smarks
2021-10-21 21:11:01 +00:00
Vicente Romero
ff4018bc86
8268148: unchecked warnings handle ? and ? extends Object differently
...
Reviewed-by: jlahoda
2021-09-03 15:20:23 +00:00
Vicente Romero
4f9d6b7d68
8267465: remove superfluous preview related annotations and test options
...
Reviewed-by: jlahoda
2021-06-07 13:57:15 +00:00
Joe Darcy
0ae4ceb413
8244146: javac changes for JEP 306
...
8266399: Core libs update for JEP 306
Reviewed-by: sadayapalam, bpb, naoto
2021-06-01 21:59:39 +00:00
Guoxiong Li
8435f0daf2
8258525: Some existing tests should use /nodynamiccopyright/ instead of the standard header
...
Reviewed-by: jjg
2020-12-30 17:20:54 +00:00
Joe Darcy
ba7f7fe417
8251921: Expand default constructor warning to cover more cases
...
Reviewed-by: jjg, abuckley
2020-08-27 13:01:41 -07:00
Joe Darcy
61e42ed85d
8071961: Add javac lint warning when a default constructor is created
...
Reviewed-by: jjg, jlahoda, abuckley, erikj, mcimadamore
2020-08-17 18:58:20 -07:00
Mikael Vidstedt
eef726a99a
8237601: test/langtools/tools/javac/warnings/MaxDiagsRecompile.java fails after JDK-8237589
...
Reviewed-by: dholmes
2020-01-21 17:37:18 -08:00
Mikael Vidstedt
3318314c7c
8237589: Fix copyright header formatting
...
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Liam Miller-Cushon
b0f6b1086a
8220632: Suggest recompiling with a larger value of -Xmaxerrs/-Xmaxwarns if diagnostics were suppressed
...
Reviewed-by: jjg
2019-03-26 16:09:33 -07:00
Joe Darcy
a376d5dab4
8207248: Reduce incidence of compiler.warn.source.no.bootclasspath in javac tests
...
Reviewed-by: vromero
2018-07-16 21:53:49 -07:00
Jan Lahoda
d5ec9dbfb5
8194764: javac incorrectly flags deprecated for removal imports
...
Fixing source range for the Source.Feature.DEPRECATE_ON_IMPORT
Reviewed-by: mcimadamore
2018-02-07 16:49:24 +01:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00