Commit Graph

179 Commits

Author SHA1 Message Date
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
Maurizio Cimadamore
8ba15f464a 8140333: Tweak langtools IntelliJ project to better support Kulla changes
Add support for target.java.home option to the idea target

Reviewed-by: jlahoda
2015-10-22 18:58:00 +01:00
Jan Lahoda
a21102b5f4 8134254: JShell API/tool: REPL for Java into JDK9
Adding the implementation of the jshell (read-eval-print-loop) tool.

Co-authored-by: Robert Field <robert.field@oracle.com>
Co-authored-by: Shinya Yoshida <bitterfoxc@gmail.com>
Reviewed-by: briangoetz, mcimadamore, psandoz, forax
2015-10-19 19:15:16 +02:00
Iris Clark
11a87851d7 Merge 2015-07-13 13:24:07 -07:00
Jan Lahoda
3210b9650a 8072480: javac should support compilation for a specific platform version
Adding a new javac option for compiling for JDK N: -release N; including history data for previous version of JDK.

Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: erikj, ihse, jjg, mcimadamore, mr
2015-07-01 09:51:48 +02:00
Magnus Ihse Bursie
ebd376a99e 8085822: JEP 223: New Version-String Scheme (initial integration)
Co-authored-by: Kumar Srinivasan <kumar.x.srinivasan@oracle.com>
Reviewed-by: erikj, dcubed, dholmes, alanb
2015-06-11 00:23:18 +02:00
Mandy Chung
ab120497cf 8074432: Move jdeps and javap to jdk.jdeps module
Reviewed-by: jjg, alanb, erikj
2015-05-27 13:25:18 -07:00
Jonathan Gibbons
4b07750bb1 8076583: move jdk.Exported from langtools to jdk
Reviewed-by: darcy, alanb, tbell, mchung, jlahoda
2015-04-03 15:23:02 -07:00
Magnus Ihse Bursie
ffae4d6955 8076060: Improve make bootstrap process
Reviewed-by: erikj
2015-03-26 16:17:36 +01:00
Maurizio Cimadamore
1114c26925 8073645: Add lambda-based lazy eval versions of Assert.check methods
Enhance Assert so that lazy string computation can occurr where needed; enhance static roding rule checkers to make sure the right version of the method is called.

Reviewed-by: jlahoda
2015-03-05 13:10:49 +00:00
Jan Lahoda
3aff88ae3b 8072054: Cannot build langtools if checked-out in a directory ending with \"com\"
Making sure a proper package name is used when generating Properties classes

Reviewed-by: mcimadamore
2015-02-02 21:53:36 +01:00
Maurizio Cimadamore
ca4dba303f 8069229: new .java file with no copyright notice
Add missing copyright header

Reviewed-by: jlahoda
2015-01-19 18:29:45 +00:00
Erik Joelsson
09d9213488 8069164: Fix langtools make build so that diagnostic framework can be used
Fix race condition between gensrc targets and output location of parseproperties task

Reviewed-by: erikj, jlahoda
2015-01-16 12:02:41 +00:00
Maurizio Cimadamore
56a33e4541 8058542: Devise scheme for better diagnostic creation
Add support for generating (at build-time) an enum-like class containing all javac diagnostics, which allows for safe diagnostic creation.

Reviewed-by: jlahoda, jjg, vromero, erikj, jfranck
2015-01-08 14:43:05 +00:00
Maurizio Cimadamore
da41cfd9f1 8067006: Tweak IntelliJ langtools project to show jtreg report directory
Jtreg test output directory should be allowed to flow into IntelliJ's output

Reviewed-by: jlahoda
2014-12-09 17:40:02 +00:00
Maurizio Cimadamore
fb05a03095 8066889: IntelliJ langtools launcher ought to be Windows friendly
Fixup file and path separators in project setup stage.

Reviewed-by: jlahoda
2014-12-08 16:30:43 +00:00
Chris Hegarty
8bc2b3ff3a 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: jlahoda, ksrini
2014-12-03 14:25:46 +00:00
Maurizio Cimadamore
1de8cf1b7f 8064367: Fix IntelliJ langtools support to use new dev build
Update ant hooks in langtools IntelliJ project

Reviewed-by: jlahoda
2014-11-08 22:00:31 +00:00
Jan Lahoda
3f3f44af47 8058489: More adjustments of langtools/make/build.xml to modularized layout
Re-structuring the langtools/make/build.xml to reflect the modular layout, cleanup of the build script

Reviewed-by: jjg, mcimadamore, ksrini
2014-11-07 18:22:36 +01:00