Commit Graph

62 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Kumar Srinivasan
d81bd9fdcf 8038732: [javadoc] NetBeans IDE target does not build doclets
Reviewed-by: jjg, jlahoda
2014-08-27 06:25:17 -07:00
Chris Hegarty
2b80c4715f 8054834: Modular Source Code
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@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>
Reviewed-by: alanb, chegar, ihse, mduigou
2014-08-17 15:52:32 +01:00
Jan Lahoda
66ea31ef63 8043643: Add an crules analyzer avoiding string concatenation in messages of Assert checks
Generalizing the crules infrastructure, adding a new analyzer to check String concatenation in Assert calls.

Reviewed-by: jjg, vromero
2014-08-01 11:09:40 -07:00
Maurizio Cimadamore
f26f50470b 8049234: Add support for running/debugging bootstrap tools in IntelliJ
Add support for bootstrap tools; overhaul ant logger

Reviewed-by: vromero
2014-07-22 17:47:45 +01:00
Jonathan Gibbons
53ec459b89 8050805: Add a target to langtools/make/build.xml to generate docs for test library classes
Reviewed-by: ksrini
2014-07-15 18:17:31 -07:00
Maurizio Cimadamore
9baf436fd6 8048905: More tweaking with langtools intellij support
Add support for 'jtreg.home' property; fix code width to be 80; disable import optimizations

Reviewed-by: vromero
2014-07-01 17:23:46 +01:00
Maurizio Cimadamore
29297396ab 8046451: Add basic IntelliJ support for langtools
Add new ant target 'idea' to create IntelliJ langtools project

Reviewed-by: jjg
2014-06-24 16:04:46 +01:00
Werner Dietl
e5c34a89eb 8026564: import changes from type-annotations forest
Co-authored-by: Steve Sides <steve.sides@oracle.com>
Reviewed-by: jjg
2013-10-15 15:57:13 -07:00
Jan Lahoda
5ec0ba7c47 8025087: Annotation processing api returns default modifier for interface static method
ClassReader must not set Flags.DEFAULT for interface static methods

Reviewed-by: vromero, jjg
2013-10-09 13:09:31 +02:00
Vicente Romero
4c481aa87c 8010304: javac should detect all mutable implicit static fields in langtools using a plugin
Reviewed-by: jjg
2013-04-26 15:59:39 +01:00
Jonathan Gibbons
a52c1dd51a 8010315: doclint errors in javac public API
Reviewed-by: darcy
2013-03-19 15:13:44 -07:00
Fredrik Öhrström
3d5f55b851 8004658: Add internal smart javac wrapper to solve JEP 139
Reviewed-by: jjg
2013-01-18 00:16:21 +01:00
Jonathan Gibbons
c78e1cbfac 7021614: extend com.sun.source API to support parsing javadoc comments
Reviewed-by: ksrini, strarup
2012-11-14 17:23:10 -08:00
Fredrik Öhrström
d74cd0bff8 7150579: Moved ant code into a separate package, anttasks
To allow langtools to be built without ant, the ant tasks were moved to a separated package. The packages were also renamed to proper lower case package names.

Reviewed-by: jjg
2012-03-07 13:11:27 +01:00
Jan Valenta
0073cdd512 7144979: incorrect path separator in make/build.xml for Windows when running jtreg tests
Reviewed-by: jjg
2012-02-12 16:44:13 -08:00
Joe Darcy
f30ca2fd58 7041249: Remove apt tool and API from the JDK
Reviewed-by: jjg, ohair
2012-02-05 21:59:45 -08:00
Kumar Srinivasan
ca1deee4d3 7110974: (javac) add coding conventions and style checkers for langtools
Reviewed-by: jjg
2011-11-14 08:09:47 -08:00
Alexandre Boulgakov
d44dc19842 7058174: Reduce langtools build warnings
Reviewed-by: jjg
2011-06-23 11:49:27 -07:00
Jim Holmlund
e9456bc9af 7032975: API files in javax.annotation.processing need to be updated for references to JLS
7032972: API files in javax.tools need to updated for references to JVM Spec with editions/hyperlinks
7032978: API files in javax.tools need to be updated for references to JLS with editions/hyperlinks

Removed URLs and 'edition' references

Reviewed-by: jjg, darcy
2011-04-13 11:35:43 -07:00
Jonathan Gibbons
b540a63a84 7009599: javac build puts extraneous files into dist/lib/classes.jar
Reviewed-by: ohair
2011-03-25 07:39:30 -07:00
Jonathan Gibbons
5ca7f854cf 7018452: langtools not buildable on Mac
Reviewed-by: ohair
2011-02-10 14:27:34 -08:00
Jonathan Gibbons
de3bde6688 7013272: Automatically generate info about how compiler resource keys are used
Reviewed-by: mcimadamore
2011-01-26 13:45:25 -08:00
Kumar Srinivasan
8efa2d97ed 7011272: langtools build.xml should provide a patch target
Reviewed-by: jonathan, jjh
2011-01-14 13:59:18 -08:00
Jim Holmlund
089d748192 7008869: Debug printlns accidentally added to make/build.xml
Delete bogus echo statements

Reviewed-by: ksrini
2010-12-23 10:08:53 -08:00
Jim Holmlund
97663382e1 7008378: javac bootstrap launcher fails on cygwin when called via an absolute path
Use cygpath if it is cygwin

Reviewed-by: ksrini
2010-12-21 16:29:10 -08:00
Jonathan Gibbons
e3c7ca0c53 6978974: [langtools] <findbugs> task should use ${target.java.home}
Reviewed-by: mcimadamore
2010-09-13 11:40:58 -07:00
Jesse Glick
0d2b8790d3 6965264: langtools build should use ${ant.core.lib} instead of ${ant.home}/lib/ant.jar
Reviewed-by: mcimadamore
2010-09-13 11:35:27 -07:00
Jonathan Gibbons
0e1661c2f1 6979564: ":" for path separator in dist/bin/javac does not work on Windows
Reviewed-by: jjh
2010-08-25 11:24:30 -07:00
Jonathan Gibbons
7eb8c115ec 6968063: provide examples of code that generate diagnostics
Reviewed-by: mcimadamore
2010-07-22 11:02:54 -07:00
Jonathan Gibbons
774e9847c4 6877961: langtools build should allow more options when running jtreg
Reviewed-by: mcimadamore
2010-06-11 07:12:07 -07:00
Jonathan Gibbons
aa58d21213 6958802: cleanup and doc langtools build.xml file
Reviewed-by: ohair
2010-06-04 17:33:25 -07:00
Jonathan Gibbons
c8cce21323 6958391: add vizant support to langtools build
Reviewed-by: mcimadamore
2010-06-04 14:54:54 -07:00
Kelly O'Hair
bd4f4be9d7 6943119: Rebrand source copyright notices
Reviewed-by: darcy
2010-05-25 15:54:51 -07:00
Jonathan Gibbons
09e737337b 6915152: langtools build failures with import.jdk on Windows
Reviewed-by: ohair
2010-01-08 13:14:45 -08:00
Jonathan Gibbons
75f1feee86 6906175: bridge JSR199 and JSR 203 APIs
Reviewed-by: darcy, alanb
2009-12-11 14:26:27 -08:00
Jonathan Gibbons
42bf8347dc 6902337: fix langtools build to allow forward refs into jdk/ repo
Reviewed-by: ohair, mcimadamore
2009-11-20 11:18:43 -08:00
Jonathan Gibbons
046d1831b0 6903456: 6898585 drops javadoc doclet.xml from JDK
Reviewed-by: ohair
2009-11-20 10:15:54 -08:00
Jonathan Gibbons
538c9dbddf 6898585: restructure langtools build.xml to facilitate more options for <build-classes> macro
Reviewed-by: ohair
2009-11-17 16:45:19 -08:00
Jonathan Gibbons
e116c27b51 6572945: javah should be written as an annotation processor, not a doclet
Reviewed-by: darcy
2009-09-23 19:15:04 -07:00
Andrew John Hughes
5c818e4b6a 6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk
Set source and target explicitly in pcompile task

Reviewed-by: jjg
2009-08-19 20:44:22 +01:00
Jonathan Gibbons
b95303097d 6758471: should be able to set jtreg options in langtools build
Reviewed-by: mcimadamore
2009-08-12 07:54:30 -07:00
Jonathan Gibbons
d029eaeb57 6870706: langtools launcher issues
Reviewed-by: mcimadamore
2009-08-12 07:14:02 -07:00