Jan Lahoda
abddf32a62
8172668: NPE in jdk.compiler/com.sun.tools.javac.comp.TypeEnter$ImportsPhase.importNamed(
...
Guarding against noType returned from ErrorType.getOriginalType.
Reviewed-by: mcimadamore
2017-01-12 15:37:46 +01:00
Jan Lahoda
c2d9172419
8169197: Improve error reporting for compiling against unexported package
...
When a type cannot be found, look into other modules, search for possible viable types, and report them conveniently to the user.
Reviewed-by: mcimadamore, jjg
2017-01-11 10:59:57 +01:00
Jan Lahoda
4ec30a933a
8172158: Annotation processor not run with -source <= 8
...
Avoiding use of module prefix to map annotations to processors when running without modules.
Reviewed-by: darcy, jjg
2017-01-06 14:16:45 +01:00
Jonathan Gibbons
71b65b06e4
8171412: tools/javac/modules/AddLimitMods.java failed with "error: module not found"
...
Reviewed-by: mcimadamore
2016-12-20 05:50:39 -08:00
Jonathan Gibbons
bf8ce3692c
8171255: Javac generates Deprecated class file attribute for @deprecated javadoc tag on module declaration
...
Reviewed-by: mcimadamore, anazarov
2016-12-19 11:15:01 -08:00
Andrey Nazarov
bf8e595590
8170549: Improve testing of annotations on modules
...
Reviewed-by: jjg, jlahoda
2016-12-16 18:40:23 +03:00
Jan Lahoda
e62a384eb3
8133896: Update javax.lang.model APIs
...
Reviewed-by: darcy, jjg
2016-12-16 12:02:30 +01:00
Alan Bateman
574ac0add6
Merge
2016-12-16 08:17:55 +00:00
Alan Bateman
2381943e61
8170987: Module system implementation refresh (12/2016)
...
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Srikanth Adayapalam <srikanth.adayapalam@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: mcimadamore
2016-12-16 05:47:58 +00:00
Jan Lahoda
d3892cc3b4
8072988: Update javax.annotation.processing for modules
...
Support for generating files in multi-module mode.
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Reviewed-by: darcy, jjg
2016-12-13 10:49:28 +01:00
Jonathan Gibbons
ffcb66f113
8162712: StandardJavaFileManager.getModuleLocation() can't find a module
...
Reviewed-by: jlahoda
2016-12-02 14:15:43 -08:00
Alan Bateman
01a366e6dd
Merge
2016-12-01 11:16:45 +00:00
Alan Bateman
22e233b2e9
8169069: Module system implementation refresh (11/2016)
...
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Bhavesh Patel <bhavesh.x.patel@oracle.com>
Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com>
Reviewed-by: mcimadamore, jjg, mchung, anazarov
2016-12-01 09:02:42 +00:00
Jonathan Gibbons
6e31f6440f
8164590: javac --inherit-runtime-environment fails with "cannot find modules: ALL-DEFAULT"
...
Reviewed-by: mchung
2016-11-22 15:57:32 -08:00
Srikanth Adayapalam
95d99302d8
8168312: javac throws NPE if annotation processor is specified and module is declared in a file named arbitrarily
...
Reviewed-by: jlahoda
2016-11-14 19:45:41 +05:30
Jonathan Gibbons
a1f6786ab9
8169447: javac should detect/reject repeated use of --patch-module on command line
...
Reviewed-by: jlahoda
2016-11-10 13:29:34 -08:00
Maurizio Cimadamore
9b0354380e
8168854: javac erroneously reject a a service interface inner class in a provides clause
...
Java SE 9 proposed spec changes do not explicitly forbid a service interface to be an inner class - javac should follow
Reviewed-by: jjg
2016-11-07 11:16:23 +00:00
Jonathan Gibbons
e781b9f262
8167975: align javac --add-* modules options with launcher
...
Reviewed-by: jlahoda
2016-11-03 13:59:15 -07:00
Jan Lahoda
7cffceb22f
8169074: Build is failing after JDK-8166538
...
Reverting d7c9720c4223
Reviewed-by: darcy
2016-11-02 20:21:45 +01:00
Jan Lahoda
5daafbe43b
8166538: Improve error reporting for compiling against unexported package
...
When a type cannot be found, look into other modules, search for possible viable types, and report them conveniently to the user.
Reviewed-by: mcimadamore, jjg
2016-11-02 16:48:57 +01:00
Mandy Chung
b79835c56b
8164689: Retrofit jar, jlink, jmod as a ToolProvider
...
Reviewed-by: alanb, jjg
2016-10-12 15:37:27 -07:00
Jan Lahoda
5794656914
8167320: Trying to document only java.base causes a NPE in javac
...
Ensure ModuleSymbol.getDirectives completes the Symbol
Reviewed-by: ksrini, jjg
2016-10-11 10:31:10 +02:00
Jonathan Gibbons
6fef223c3f
8159855: Create an SPI for tools
...
Reviewed-by: mchung
2016-10-07 16:49:39 -07:00
Jan Lahoda
6a0ceb74e8
8153362: Add javac -Xlint warning to list exposed types which are not accessible
...
Adding implementation to -Xlint:exports, to warn about exposing inaccessible types in API
Reviewed-by: jjg
2016-10-06 14:03:58 +02:00
Jan Lahoda
c58a8aae3e
8152911: javac assertion error when compiling overlay sources
...
Avoid creating ModuleSymbols with unspecified name, to avoid conflicts with predefined ModuleSymbol for the java.base module.
Reviewed-by: jjg
2016-10-04 16:25:19 +02:00
Srikanth Adayapalam
ac462ed848
8164742: ServiceConfigurationError on invoke of getServiceLoader method of StandardJavaFileManager
...
Reviewed-by: jlahoda
2016-09-19 05:31:53 +05:30
Vicente Romero
29aa24a3c1
8162546: change hidden options -Xdebug to --debug, -XshouldStop to --should-stop, and -diags to --diags
...
Reviewed-by: mcimadamore
2016-09-06 17:04:43 -07:00
Vicente Romero
7e27dd569e
8160454: JSR269 jigsaw update: javax.lang.model.element.ModuleElement.getDirectives() causes NPE on unnamed modules
...
Reviewed-by: jjg
2016-09-02 05:43:54 -07:00
Jan Lahoda
161e3c650a
8165008: javac -Xmodule compiles the module in a way that reads the unnamed module
...
Ensuring proper separation between named modules and the unnamed module when using -Xmodule
Reviewed-by: jjg
2016-08-29 15:53:03 +02:00
Mandy Chung
2a62da3a63
8165109: langtools/test switches to use new CLI options
...
Reviewed-by: jjg, amlu
2016-08-30 20:49:41 -07:00
Jan Lahoda
bbf85261aa
8164951: Build broken after JDK-8164745
...
Reverting the fix for JDK-8164745 to investigate a build failure.
Reviewed-by: jjg
2016-08-29 18:14:26 +02:00
Jan Lahoda
4404741f80
8164745: javac -Xmodule compiles the module in a way that reads the unnamed module
...
Ensuring proper separation between named modules the unnamed module when using -Xmodule
Reviewed-by: jjg
2016-08-29 15:53:03 +02:00
Jonathan Gibbons
1386ffb4f2
8164887: update tests to remove use of old-style options
...
Reviewed-by: mchung
2016-08-26 15:54:36 -07:00
Vicente Romero
7328ed21cb
8161501: JSR269 jigsaw update: javax.lang.model.element.ModuleElement.getEnclosedElements() on unnamed module with unnamed package
...
Reviewed-by: jjg
2016-08-24 17:41:52 -07:00
Sandeep Konchady
865b439a69
8163991: Fix license and copyright headers under test/jdk/javadoc/ and test/tools/javac/
...
Reviewed-by: anazarov, iris, jjg, shurailine
2016-08-23 10:19:49 +01:00
Jan Lahoda
f65c3ae869
8164550: tools/javac/modules/InheritRuntimeEnvironmentTest.java fails on Windows after JDK-8153391
...
Empty classpath is not working on Windows; using a classpath consisting on a sole empty dir
Reviewed-by: mcimadamore
2016-08-22 15:16:30 +02:00
Jan Lahoda
53cd7b54fa
8153391: an image created for \"jdk.compiler\" fails to run javac
...
Improving errors produced by javac when the zipfs implementation is missing in the JDK image.
Reviewed-by: jjg
2016-08-22 09:59:43 +02:00
Srikanth Adayapalam
c7f35c53af
8157512: AssertionError in javac when module-info < v53.0
...
Reviewed-by: jjg
2016-08-16 09:45:19 +05:30
Srikanth Adayapalam
8513d8d26f
8157519: Error messages when compiling a malformed module-info.java confusing
...
Reviewed-by: jjg
2016-08-16 09:13:33 +05:30
Jan Lahoda
ec9ca2997f
8133884: javac moduleName/className and moduleName/packageName options
...
8162711: javax.lang.model.util.Elements.getModuleElement returns null during annotation processing on class files
Adding a test for annotation processing for <module-name>/<class-name>; ensuring the <module-name> module is in the module graph.
Reviewed-by: jjg
2016-08-11 17:26:12 +02:00
Jonathan Gibbons
978417c4c7
8136930: Simplify use of module-system options by custom launchers
...
8160489: Multiple -Xpatch lines ignored by javac
8156998: javac should support new option -XinheritRuntimeEnvironment
Reviewed-by: jlahoda, ksrini
2016-08-10 15:47:46 -07:00
Jonathan Gibbons
b601617d9c
8162359: javac should use stdout for --help and --version
...
Reviewed-by: vromero
2016-08-03 16:01:09 -07:00
Srikanth Adayapalam
90a4b8ab1a
8158224: NullPointerException in com.sun.tools.javac.comp.Modules.checkCyclicDependencies when module missing
...
Reviewed-by: jlahoda
2016-07-28 10:13:34 +05:30
Vicente Romero
a7cc024b53
8161020: javac, fold stop compilation options
...
Reviewed-by: mcimadamore
2016-07-11 15:27:52 -07:00
Jan Lahoda
0cc565280e
8155026: javac grants implied readability to explicit modules
...
Automatic modules should not 'requires public' ordinary named modules
Reviewed-by: jjg
2016-06-28 13:33:04 +02:00
Vicente Romero
b69fa0a44d
8159439: javac throws NPE with Module attribute and super_class != 0
...
Reviewed-by: jjg
2016-06-27 12:29:41 -07:00
Jonathan Gibbons
6f1a819053
8159749: Update toolbox ModuleBuilder for doc comments
...
Reviewed-by: ksrini
2016-06-17 17:40:01 -07:00
Shinya Yoshida
e4edbb4617
8158123: NPE when the annotations is used in export-to of module-info
...
Reviewed-by: mcimadamore
2016-06-11 09:47:59 +09:00
Vicente Romero
8d93dc2a15
8152062: obscure error message for bad 'provides'
...
Reviewed-by: jjg
2016-05-31 13:00:17 -04:00
Jonathan Gibbons
6cb53fe31c
8156962: javac should support options specified in _JAVAC_OPTIONS
...
Reviewed-by: vromero
2016-05-26 10:45:13 -07:00