Jan Lahoda
1e97c1c913
8335989: Implement JEP 494: Module Import Declarations (Second Preview)
...
Reviewed-by: vromero, abimpoudis, mcimadamore, alanb
2024-11-14 06:14:33 +00:00
Jan Lahoda
7ff4ea8d01
8341966: Broken annotated module may lead to an exception in javac
...
Reviewed-by: asotona
2024-10-17 09:26:13 +00:00
Chen Liang
0db9bc57de
8335290: Rename ClassFile::transform to ClassFile::transformClass
...
Reviewed-by: asotona
2024-07-03 05:03:56 +00:00
Adam Sotona
cfdc64fcb4
8331291: java.lang.classfile.Attributes class performs a lot of static initializations
...
Reviewed-by: liach, redestad, vromero
2024-05-24 15:58:34 +00:00
Nizar Benalla
ae999eae7e
8129418: JShell: better highlighting of errors in imports on demand
...
Reviewed-by: jlahoda
2024-05-17 06:39:53 +00:00
Joe Darcy
d8b63370f3
8323839: Expand use of Messager convenience methods in langtools regression tests
...
Reviewed-by: jjg
2024-01-17 00:29:05 +00:00
Adam Sotona
2b00ac0d02
8308753: Class-File API transition to Preview
...
Reviewed-by: ihse, mchung, vromero
2023-12-04 07:07:57 +00:00
Adam Sotona
53eb6f126b
8187591: -Werror turns incubator module warning to an error
...
Reviewed-by: jlahoda
2023-11-21 15:11:00 +00:00
Qing Xiao
8f7e29b2cd
8313422: test/langtools/tools/javac 144 test classes uses com.sun.tools.classfile library
...
Reviewed-by: asotona
2023-09-07 15:37:25 +00:00
Jan Lahoda
b6c9232b8b
8305225: A service broken error despite annotation processor generating it if directives listed
...
Reviewed-by: asotona
2023-06-05 06:30:44 +00:00
Archie L. Cobbs
a58fa6e73e
8302514: Misleading error generated when empty class file encountered
...
Reviewed-by: vromero, jwaters
2023-02-16 14:48:39 +00:00
Jan Lahoda
52fffdd2c8
8298463: tools/javac/modules/EdgeCases.java fails on Windows after JDK-8297988
...
Reviewed-by: jjg
2022-12-09 16:41:26 +00:00
Jan Lahoda
133ad8e173
8297988: NPE in JavacTypes.getOverriddenMethods from doclint
...
Reviewed-by: vromero, jjg
2022-12-09 11:11:46 +00:00
Jan Lahoda
9e80cf9c37
8296390: Incremental build failed with a NPE
...
Reviewed-by: vromero
2022-11-30 09:47:48 +00:00
Alexey Ivanov
9b7e42c0f0
8284209: Replace remaining usages of 'a the' in source code
...
Reviewed-by: lancea, wetmore, dfuchs, iris, jjg, ihse
2022-05-24 20:08:11 +00:00
Joe Darcy
2f01a6f8b6
8273157: Add convenience methods to Messager
...
Reviewed-by: jjg
2021-09-01 20:28:05 +00:00
Guoxiong Li
17ceef97c3
8266819: Separate the stop policies from the compile policies completely
...
Reviewed-by: mcimadamore
2021-05-13 10:22:13 +00:00
Jan Lahoda
0a4c33826d
8263432: javac may report an invalid package/class clash on case insensitive filesystems
...
Reviewed-by: vromero
2021-04-27 08:55:59 +00:00
Joe Darcy
ccefa5e378
8261625: Add Elements.isAutomaticModule(ModuleElement)
...
Reviewed-by: vromero, jlahoda
2021-04-08 21:25:17 +00:00
Jonathan Gibbons
e8eda655bb
8264664: use text blocks in javac module tests
...
Reviewed-by: darcy
2021-04-03 01:18:00 +00:00
Guoxiong Li
41f312eb64
8254023: A module declaration is not allowed to be a target of an annotation that lacks an @Target meta-annotation
...
Reviewed-by: jfranck, vromero
2020-12-17 08:06:35 +00:00
Jan Lahoda
d05df7c17a
8236842: Surprising 'multiple elements' behaviour from getTypeElement when cross-compiling with --release
...
Reviewed-by: vromero
2020-11-02 10:15:16 +00:00
Jan Lahoda
a2f651904d
8233685: Test tools/javac/modules/AddLimitMods.java fails
...
Reviewed-by: vromero
2020-10-09 06:22:15 +00:00
Jan Lahoda
5fef8ddaff
8235229: Compilation against a modular, multi-release JAR erroneous with --release
...
Reviewed-by: vromero
2020-09-09 13:03:00 +00:00
Toshio Nakamura
28e219f038
8233829: javac cannot find non-ASCII module name under non-UTF8 environment
...
Reviewed-by: jjg
2020-07-06 16:08:00 -07:00
Jan Lahoda
04ad75e788
8241519: javac crashes with wrong module-info.class in module path
...
If module-info.class is broken, mark the corresponding ModuleSymbol as erroneous.
Reviewed-by: jjg
2020-06-02 08:27:37 +02:00
Vicente Romero
bf54c47471
8240970: Some tests fail when run with JCov
...
Reviewed-by: jjg
2020-03-18 14:33:05 -04:00
Vicente Romero
827e5e3226
8225054: Compiler implementation for records
...
8225052: javax.lang.model support for records
8225053: Preview APIs support for records
8225055: Javadoc for records
8226314: com.sun.source support for records
8227113: Specification for java.lang.Record
8233526: JVM support for records
Implement records in the compiler and the JVM, including serialization, reflection and APIs support
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
2019-12-04 15:57:39 -05:00
Christoph Langer
d3fa36896e
8228571: [TESTBUG] Fix tests failing on non-aot platforms after JDK-8227512
...
Reviewed-by: iignatyev, jjg
2019-07-26 09:06:03 +02:00
Pengfei Li
a5388f21b7
8227512: [TESTBUG] Fix JTReg javac test failures with Graal
...
Reviewed-by: mcimadamore
2019-07-16 00:57:00 +00:00
Joe Darcy
aeedfd44b0
8164819: Make javac's toString() on annotation objects consistent with core reflection
...
Reviewed-by: jjg, coleenp
2019-06-13 11:50:45 -07:00
Jan Lahoda
0112514fde
8220702: compiling in the context of an automatic module disallows --add-modules ALL-MODULE-PATH
...
Allow --add-modules ALL-MODULE-PATH when compiling in the context of an automatic module.
Reviewed-by: jjg
2019-05-24 12:25:18 +02:00
Lance Andersen
5a4cef05d6
8218875: Add new FileSystems.newFileSystem methods
...
Reviewed-by: rriggs, alanb, clanger, dfuchs
2019-05-02 17:08:03 -04:00
Maurizio Cimadamore
7b7f9a6fd3
8222289: Overhaul logic for reading/writing constant pool entries
...
Rewrite of Pool,ClassReader,ClassWriter to use shared pool helper components
Reviewed-by: vromero
2019-04-17 15:37:20 +01:00
Christoph Langer
1a48fa0fb7
8200286: (testbug) MOptionTest test fails with java.lang.AssertionError: Classfiles too old!
...
Reviewed-by: stuefe, jjg
2019-03-22 08:56:30 +01:00
Jan Lahoda
76c916516c
8217868: Crash for overlap between source path and patch module path
...
When analyzing implicit files, do not look for containing module, but rather use the already known one.
Reviewed-by: jjg
2019-03-04 10:19:35 +01:00
Srinivas Dama
ead8577920
8208184: IllegalArgumentException while invoking code completion on netbeans IDE
...
Set Log.useSource and fix the issue in Modules.java when broken module is encountered
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: jjg
2018-12-24 12:18:40 +05:30
Jonathan Gibbons
73fa99ae86
8213263: fix legal headers in test/langtools
...
Reviewed-by: darcy
2018-11-01 14:32:55 -07:00
Jonathan Gibbons
c8d641d148
8208608: Update --module-source-path to allow explicit source paths for specific modules
...
Reviewed-by: jlahoda
2018-08-31 14:54:42 -07:00
Phil Race
28e828130d
Merge
2018-07-19 10:17:22 -07:00
Jan Lahoda
fe80e55647
8189747: JDK9 javax.lang.model.util.Elements#getTypeElement regressed 1000x in performance
...
Caching the results of Elements.getTypeElement/getPackageElement
Reviewed-by: darcy
2018-07-16 12:35:25 +02:00
Joe Darcy
e18f343141
8207055: Make javac -help output for -source and -target more informative
...
Reviewed-by: jjg
2018-07-11 16:12:18 -07:00
Jonathan Gibbons
e2064980ff
8205563: modules/AnnotationProcessing.java failed testGenerateSingleModule
...
Reviewed-by: darcy
2018-07-02 17:54:36 -07:00
Jonathan Gibbons
f0b244a4ac
8196425: tools/javac/modules/AnnotationProcessing.java failed
...
Reviewed-by: jlahoda
2018-06-21 13:29:44 -07:00
Jan Lahoda
5bf8a6f44b
8196618: Create API to list supported values for javac --release option
...
8194308: jdeprscan will need updates to deal with the removal of the Java EE modules
Generalizing tests to run over all supported --release keys; fixing jdeprscan to work with --release 11.
Reviewed-by: smarks, vromero
2018-06-14 13:16:21 +02:00
Jan Lahoda
78b7362c97
8193302: Javac AssertionError: typeSig ERROR on usage of @Generated
...
Importing from an invisible package whose name is a prefix of a visible package is not allowed.
Reviewed-by: vromero
2018-06-13 12:52:21 +02:00
Jan Lahoda
5635d6f937
8202832: cycle detection depends on ordering of requires directives
...
Ensuring cyclic dependencies among modules produce a compile-time error.
Reviewed-by: vromero
2018-05-29 10:53:55 +02:00
Vicente Romero
03a10ec7b2
8196433: use the new error diagnostic approach at javac.Main
...
Reviewed-by: jjg
2018-04-18 16:02:53 -04:00
Jan Lahoda
5333f197be
8207032: Compilation succeeds without checking readability when --add-exports used
...
Ensuring --add-exports are only propagated when the target module reads the exporting module.
Reviewed-by: vromero, jjg
2018-07-16 16:31:33 +02:00
Jan Lahoda
d103b59ac3
8189747: JDK9 javax.lang.model.util.Elements#getTypeElement regressed 1000x in performance
...
Caching the results of Elements.getTypeElement/getPackageElement
Reviewed-by: darcy
2018-07-16 12:58:49 +02:00