Lana Steuck
ba78c19fac
Merge
2017-02-23 17:22:32 +00:00
Vicente Romero
a82c165dd5
8174805: JavacTrees should use Types.skipTypeVars() to get the upper bound of type variables
...
Reviewed-by: jjg, ksrini
2017-02-16 14:47:39 -08:00
Kumar Srinivasan
c5656c1c76
8173308: JAVAC_OPTIONS should be updated to align with JAVA_OPTIONS
...
Reviewed-by: jjg
2017-02-15 18:07:28 -08:00
Jonathan Gibbons
6873ceb82c
8173596: JavaCompiler.CompilationTask should support addModules
...
Reviewed-by: ksrini, jlahoda
2017-02-15 14:12:29 -08:00
Jan Lahoda
286a28f834
8175038: Wrong note about multiple type/package elements being found
...
Avoiding quoting by a single '.
Reviewed-by: jjg
2017-02-15 20:31:16 +01:00
Jan Lahoda
8a2de9b69b
8175007: Incorrect error messages for inaccessible classes in visible packages
...
Recovery lookup may be triggered for inaccessible classes in visible packages - providing better errors.
Reviewed-by: mcimadamore
2017-02-15 11:27:03 +01:00
Vicente Romero
48b3288060
8174243: incorrect error message for nested service provider
...
Reviewed-by: jjg, jlahoda
2017-02-14 15:45:17 -08:00
Hamlin Li
ce8df4ca58
8174695: Fix @since in module-info.java in dev/langtools repo
...
Reviewed-by: mcimadamore
2017-02-13 18:19:36 -08:00
Joe Darcy
205d485510
8173945: Add methods for Elements.getAll{Type, Package, Module}Elements
...
Reviewed-by: jlahoda, jjg
2017-02-13 10:29:04 -08:00
Jan Lahoda
4c9c591399
8174245: Javadoc is not working for some methods
...
Parsing source file as if they were part of their corresponding modules.
Reviewed-by: rfield
2017-02-13 11:57:56 +01:00
Jan Lahoda
261ce92be5
8173777: Merge javac -Xmodule into javac--patch-module
...
Merging -Xmodule: functionality into --patch-module.
Reviewed-by: jjg, mchung, rfield
2017-02-13 09:37:26 +01:00
Jonathan Gibbons
0fcd98980c
8174104: Compiler does not allow non-existent module path entry
...
Reviewed-by: jlahoda
2017-02-10 15:42:17 -08:00
Alan Bateman
3460214b07
Merge
2017-02-10 12:28:35 +00:00
Alan Bateman
d6fbe2b113
8173393: Module system implementation refresh (2/2017)
...
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: mcimadamore, mchung, alanb
2017-02-10 09:06:10 +00:00
Vicente Romero
9c79170aed
8169200: Gen has a reference to Flow that is not used, should be removed
...
Reviewed-by: jjg
2017-02-09 16:30:30 -08:00
Lana Steuck
0b5fdf1fc3
Merge
2017-02-09 18:17:42 +00:00
Maurizio Cimadamore
e05d91747c
8174249: Regression in generic method unchecked calls
...
Erasure for unchecked call occurs too early after JDK-8078093
Reviewed-by: vromero
2017-02-09 15:19:05 +00:00
Vicente Romero
c3759775fb
8174073: NPE caused by @link reference to class
...
Reviewed-by: jjg, ksrini
2017-02-08 19:42:24 -08:00
Vicente Romero
25a8d5cb01
8174027: error message should adapt to the corresponding top level element
...
Reviewed-by: mcimadamore
2017-02-08 06:43:34 -08:00
Liam Miller-Cushon
9229886d99
6388543: improve accuracy of source positions for AnnotationValue param of Messager.printMessage
...
Reviewed-by: jjg
2017-02-06 17:19:06 -08:00
Jonathan Gibbons
23017d450e
8174051: fix terminology in javadoc comment
...
Reviewed-by: darcy
2017-02-06 17:51:54 -08:00
Jonathan Gibbons
f4c670d9b6
8172901: javac: 'opens' statement cannot specify non observable package
...
Reviewed-by: jlahoda
2017-02-06 12:35:13 -08:00
Jan Lahoda
eb5ba01b02
8173636: Results from Processor.getSupportedAnnotationTypes should be intepreted strictly
...
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Reviewed-by: darcy, jjg
2017-02-06 15:57:35 +01:00
Srikanth Adayapalam
d6090047be
8166420: Confusing error message when reading bad module declaration
...
Reviewed-by: jlahoda
2017-02-06 18:14:51 +05:30
Srikanth Adayapalam
1b5251ab0c
8173456: com.sun.tools.javac.util.Assert.error during code compilation
...
Reviewed-by: mcimadamore
2017-02-06 13:12:30 +05:30
Jan Lahoda
40c2afd1eb
8172240: javac should not need the transitive closure to compile a module
...
Reviewed-by: jjg
2017-02-03 08:16:24 -08:00
Jonathan Gibbons
02431ac603
8172807: Javac doesn't report errors on duplicate provides with different service implementations
...
Reviewed-by: jlahoda
2017-02-02 14:34:21 -08:00
Jonathan Gibbons
04de18856a
8166675: Latent bug in jar file handling during module path processing
...
Reviewed-by: jlahoda
2017-02-02 11:40:01 -08:00
Joe Darcy
874b8cdc74
8028544: Add SourceVersion.RELEASE_10
...
8028546: Add -source 10 and -target 10 to javac
Reviewed-by: jjg, smarks
2017-01-27 16:22:08 -08:00
Maurizio Cimadamore
922a7c6a3a
8171294: Slow compilation with long classpaths under JDK 9
...
Precompute packages contained in jars, to quickly determine at the lookup time whether a jar contains the given package
Reviewed-by: jjg
2017-02-01 15:03:06 +01:00
Jonathan Gibbons
ea2592fd1d
8172810: ModuleElement should declare and provide appropriate modifiers
...
Reviewed-by: darcy
2017-01-30 17:43:18 -08:00
Joe Darcy
28110a1e7e
8173609: Elements.printElements needs to support modules
...
Reviewed-by: forax, jjg
2017-01-30 15:08:38 -08:00
Denis Istomin
145e729236
8081820: javadoc does not report warnings in case of multiple "@param" tags for the same parameter and multiple "@return" tags for the same method
...
Reviewed-by: jjg
2017-01-27 15:49:14 -08:00
Jonathan Gibbons
872d18a9c3
8173312: Hide support for --inherit-runtime-environment
...
Reviewed-by: mchung
2017-01-26 14:35:04 -08:00
Jan Lahoda
210dd83834
8173068: ElementUtils getPackageElement does not allow for an unnamed package
...
Removing special handling of unnamed packages in Elements.getPackageElement.
Reviewed-by: darcy, jjg, ksrini
2017-01-26 14:14:01 +01:00
Jan Lahoda
a57e6e77d2
8067747: javac throws exception during compilation when annotation processing is enabled
...
Enforcing Filer rules regarding initial inputs, to avoid downstream problems.
Reviewed-by: darcy, jjg
2017-01-26 14:11:38 +01:00
Srikanth Adayapalam
4141792982
8171322: AssertionError in TypeSymbol.getAnnotationTypeMetadata
...
Reviewed-by: vromero
2017-01-23 10:28:52 +05:30
Vicente Romero
6e24cb584c
8170692: inconsistent check of module-related options against target version
...
Reviewed-by: jjg
2017-01-20 08:29:59 -08:00
Jan Lahoda
721001933d
8173117: Compilation significantly slower after JDK-8169197
...
Only using recovery search when an error is inevitable.
Reviewed-by: jjg, mcimadamore
2017-01-20 15:32:07 +01:00
Jan Lahoda
3e7e4c275b
8172809: Error compiling javafx modules after fix for JDK-8169197
...
Properly stripping broken requires from ModuleSymbols.
Reviewed-by: jjg, mcimadamore
2017-01-20 15:32:03 +01:00
Jan Lahoda
b6e7bcbc6a
8171177: Compiler should issue a warning for incubating modules that are resolved
...
Javac needs to follow ModuleResolution.DO_NOT_RESOLVE_BY_DEFAULT and ModuleResolution.WARN_INCUBATING
Reviewed-by: jjg
2017-01-20 13:20:42 +01:00
Jan Lahoda
ec3981561d
8171098: NPE when --add-modules java.corba is used
...
Block annotations queue until enter is done, to avoid flushing annotations during module resolution.
Reviewed-by: jjg
2017-01-20 09:26:49 +01:00
Jonathan Gibbons
04405c6abc
8147414: java.nio.file.ClosedFileSystemException in javadoc
...
Reviewed-by: vromero
2017-01-19 19:14:51 -08:00
Jonathan Gibbons
16d379dad4
8165102: incorrect message from javac
...
Reviewed-by: vromero
2017-01-19 15:12:59 -08:00
Kumar Srinivasan
8045fb0059
8169608: Compiler Tree API's Doctrees.getDocTreePath needs to accept a PackageElement
...
8157611: field visiblePackages is null for the unnamed module producing NPE when accessed
Reviewed-by: jjg, jlahoda
2017-01-19 13:16:19 -08:00
Jan Lahoda
53792b463e
8172262: packages missing from docs build
...
Do not return packages without members from Elements.getPackageElement(String), to avoid ambiguities among such packages in multiple modules.
Reviewed-by: jjg
2017-01-17 07:41:04 +01:00
Srikanth Adayapalam
f1eb002e95
8171993: AssertionError when compiling method reference with generic code and varargs
...
Reviewed-by: mcimadamore
2017-01-17 09:17:10 +05:30
Jonathan Gibbons
ee0491d210
8172474: javac should enable doclint checking for HTML 5
...
Reviewed-by: jlahoda
2017-01-13 15:48:12 -08:00
Vicente Romero
5fc51d4ecd
8171528: Crash in Annotate with duplicate package-info declarations
...
Reviewed-by: jjg
2017-01-12 15:59:28 -08:00
Vicente Romero
a709f5c3ef
8172213: Remove unused and partially implemented JavacElements#getSourcePosition methods
...
Reviewed-by: jjg
2017-01-12 09:04:16 -08:00