Commit Graph

197 Commits

Author SHA1 Message Date
Jan Lahoda
75831b7be2 8170326: Inconsistencies between code, compiler.properties and comments
Converting uses of Log and JCDiagnostic.Factory methods to use CompilerProperties instead of plain Strings, fixing inconsistencies, adding crules analyzer to ensure CompilerProperties are used whenever possible.

Reviewed-by: mcimadamore
2017-06-15 13:44:42 +02:00
Mandy Chung
b57ce33394 8181148: Update the jdeps tool to list exported packages instead of just internal APIs
Reviewed-by: psandoz
2017-05-30 14:11:53 -07:00
Jan Lahoda
f417779f87 8178152: Handling of incubating modules, the jdk.unsupported module and --add-exports with --release <current>
--release 9 should only allow documented modules; --add-exports/--add-reads/--patch-module should not be allowed on system modules when --release 9 is used.

Reviewed-by: jjg, erikj, ihse
2017-05-12 06:42:37 +02:00
Alan Bateman
481f056ca9 8177530: Module system implementation refresh (4/2017)
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: jjg
2017-04-07 08:08:26 +00:00
Maurizio Cimadamore
d226380878 8177667: Langtools ant build has issues with Windows file separators
Replace complex, non-portable regex logic for generating --patch-module option with a script mapper

Reviewed-by: jjg, ksrini
2017-04-03 12:40:41 +01:00
Jonathan Gibbons
a50968d79f 8177484: The old standard doclet should be deprecated for removal
Reviewed-by: ksrini
2017-03-30 16:36:48 -07:00
Maurizio Cimadamore
e1b0359c80 8177392: Fix default verbosity for IntelliJ Ant logger wrapper
Adjust langtools ant build logger to be compatible with IJ 2017

Reviewed-by: jlahoda
2017-03-24 12:33:29 +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
Maurizio Cimadamore
01fc0b7771 8172287: improve intellij logging to cover javac internal errors
Add new message kind to custom intellij ant logger

Reviewed-by: jjg
2017-01-05 19:10:24 +00:00
Maurizio Cimadamore
c4e8276376 8181370: Convert anonymous inner classes into lambdas/method references
Reviewed-by: jjg, rfield, mchung
2016-12-16 15:27:34 +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
Kumar Srinivasan
3d46ad34e0 8166857: langtools build.xml broken on windows
Reviewed-by: jjg, jlahoda, mcimadamore
2016-11-02 15:42:20 -07:00
Jan Lahoda
969c7a933a 8167442: Langtools ant build not working after addition of -Xlint:exports
Disabling the exports lint when compiling the langtools modules until the warnings are resolved.

Reviewed-by: mcimadamore, forax
2016-10-11 13:16:45 +02:00
Maurizio Cimadamore
f923578969 8167456: Tweak IntelliJ langtools project's jtreg settings
Adjust IntelliJ project template to reflect new serialized format of jtreg plugin settings

Reviewed-by: jlahoda
2016-10-11 10:56:09 +01:00
Magnus Ihse Bursie
24a4e49180 8167424: Various trivial fixes in build system
Reviewed-by: erikj, tbell
2016-10-11 09:50:44 +02:00
Jonathan Gibbons
6fef223c3f 8159855: Create an SPI for tools
Reviewed-by: mchung
2016-10-07 16:49:39 -07:00
Mandy Chung
a3f3f797b5 8166860: Add magic number to jmod file
Reviewed-by: alanb, jjg
2016-10-04 18:56:03 -07:00
Erik Joelsson
16bf17a9a7 8166965: Some small java build tools are still running with big JVM configuration
Reviewed-by: ihse
2016-10-04 13:41:52 +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
Jan Lahoda
dc0db76409 8164836: TEST_BUG: adjust scope of the DefinedByAnalyzer in tools/all/RunCodingRules.java
Only enabling the DefinedByAnalyzer on java.compiler and jdk.compiler; removing the @DefinedBy annotations from other modules

Reviewed-by: jjg, ksrini
2016-08-29 20:55:24 +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
Stuart Marks
1673e17518 8145464: implement deprecation static analysis tool
Reviewed-by: psandoz, darcy
2016-08-25 17:58:39 -07:00
Maurizio Cimadamore
1c7781b760 8164481: Remove jtreg run configurations from langtools idea project
Update langtools intellij project and related ant build files.

Reviewed-by: jlahoda
2016-08-19 16:45:22 +01: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
Erik Joelsson
b485ceb1f8 8157100: missing dependency in build system
Reviewed-by: tbell
2016-08-04 10:07:48 +02:00
Mandy Chung
de4f424b8c 8160398: (jdeps) Replace a list of JDK 8 internal API for detecting if it's removed in JDK 9 or later
Reviewed-by: dfuchs
2016-07-13 14:41:27 -07:00
Maurizio Cimadamore
0d9142bf89 8159834: Add some support for jtreg test headers in IntelliJ langtools project
Add live templates to help creation of jtreg tests

Reviewed-by: jlahoda
2016-06-21 15:31:08 +01:00
Jonathan Gibbons
aba0a631d8 8159537: create build file to generate diags reports for all locales
Reviewed-by: mcimadamore
2016-06-20 13:21:09 -07:00
Kumar Srinivasan
d3d0beed42 8158836: langtools build.xml needs some adjustments
Reviewed-by: jjg, jlahoda
2016-06-14 15:34:10 -07:00
Maurizio Cimadamore
2c8f465c47 8158630: Langtools Intellij project is missing some source roots
Add source roots for build tools to IntelliJ project

Reviewed-by: alundblad
2016-06-13 12:04:09 +01:00
Maurizio Cimadamore
d9b332a2f5 8157895: langtools launcher.sh-template script is broken
Add logic to quote Xpatch paths

Reviewed-by: jjg
2016-05-26 18:09:42 +01:00
Jonathan Gibbons
e568099980 8157474: clean up/simplify/rename ModuleWrappers class
Reviewed-by: mchung
2016-05-20 16:44:35 -07:00
Maurizio Cimadamore
07b326bd10 8157326: Intellij langtools project should use shared run configurations
Turn langtools run configurations into shared configurations. Fix minor addExport issues.

Reviewed-by: jlahoda
2016-05-19 17:57:28 +01:00
Jan Lahoda
ef51223aa3 8054562: document skip results in RunCodingRules.java
Documenting when RunCodingRules gets skipped; adding a short description of AssertCheckAnalyzer and MutableFieldsAnalyzer

Reviewed-by: jjg
2016-05-16 15:41:20 +02:00
Maurizio Cimadamore
eef5821303 8157030: langtools dev build broken after classfile version bump
Fix build to use different source/target version when compiling build tools

Reviewed-by: jlahoda
2016-05-16 12:03:41 +01:00
Maurizio Cimadamore
0e991f21cb 8155959: Langtools ant build should support new Xpatch option format
Switch ant build and IntelliJ project to use the new Xpatch syntax flavor

Reviewed-by: jlahoda, jjg
2016-05-05 11:18:13 +01:00
Jan Lahoda
37c2a5ad4e 8156000: tools/all/RunCodingRules.java fails if build dir exists, but generated sources do not
RunCodingRules test compiles and runs PropertiesParser to get the generated CompilerProperties.java

Reviewed-by: mcimadamore, jjg
2016-05-04 17:06:55 +02:00
Jonathan Gibbons
64261477b1 8154956: Module system implementation refresh (4/2016)
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: jjg, mchung, alanb
2016-05-03 09:11:12 +01:00
Mandy Chung
6d6d60aa9a 8153211: Convert build tool to use the new -XaddExports syntax in bootcycle build
Reviewed-by: alanb
2016-03-31 11:50:26 -07:00
Alan Bateman
001ebb3a72 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Co-authored-by: Andreas Lundblad <andreas.lundblad@oracle.com>
Co-authored-by: Andrey Nazarov <andrey.x.nazarov@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Kumar Srinivasan <kumar.x.srinivasan@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: jjg, jlahoda, vromero, mcimadamore, bpatel, ksrini, darcy, anazarov, dfuchs
2016-03-17 19:04:28 +00:00
Jan Lahoda
a7c8b9448e 8147949: NetBeans cannot open langtools repository because of the reserved word \"aux\"
Dropping unnecessary references to artificial "aux" source roots.

Reviewed-by: mcimadamore
2016-02-02 12:56:35 +00:00
Kumar Srinivasan
cf406debb4 8035473: [javadoc] Revamp the existing Doclet APIs
8146529: Update the new Doclet API
8146427: "-nohelp" option issue
8146475: "-helpfile" option issue

Reviewed-by: alanb, bpatel, ihse, jjg, jlahoda, mchung, ogb, vromero
2015-11-28 18:52:17 -08:00
Maurizio Cimadamore
7985afb4e5 8147554: InfoOptsTest fails when executed outside make
Local ant build uses '-' as a build separator instead of '+' for fullversion string

Reviewed-by: jlahoda
2016-01-18 14:25:29 +00:00
Vassili Igouchkine
9c33078299 8145342: Some copyright notices are inconsistently and ill formatted
Adjusted formatting of copyright notices.

Reviewed-by: darcy, alundblad
2015-12-14 20:18:19 +01:00
Iris Clark
2673fcaf07 Merge 2015-11-29 20:29:56 -08:00
Iris Clark
26c71ec728 Merge 2015-11-16 17:10:23 -08:00
Bhavesh Patel
7b9f3a4030 8142367: Allow files with .png extension to be copied for javadoc
Reviewed-by: erikj
2015-11-16 22:51:58 +00:00
Magnus Ihse Bursie
7e33756aa5 8141333: Rename SetupArchive to SetupJarArchive
Reviewed-by: erikj, tbell
2015-11-03 17:54:36 +01:00
Iris Clark
616e4c704e Merge 2015-11-01 09:49:09 -08:00
Jan Lahoda
2b9c0b888d 8140766: langtools/make/test/sym/CreateSymbolsTest.java contains incorrect paths
Fixing paths in CreateSymbolsTest; fixing imports in CreateSymbolsTestImpl.

Reviewed-by: mcimadamore
2015-10-30 17:00:33 +01:00