Commit Graph

186 Commits

Author SHA1 Message Date
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
Eric McCorkle
8244cae54a 8054457: Refactor Symbol kinds from small ints to an enum
Replace bitmap logic in symbol.kind and pkind with an enum-based API

Reviewed-by: mcimadamore, jjg
2014-10-21 09:01:51 -04:00
Maurizio Cimadamore
ef0951db68 8057005: IntelliJ should allow import for nested classes
Minor tweaks to langtools intellij project

Reviewed-by: jfranck
2014-09-01 17:41:01 +01:00
Mandy Chung
b82e9ddea4 8055856: checkdeps build target doesn't work for cross-compilation builds
8056113: [build] tools.jar missing modules.xml

Reviewed-by: ihse, erikj
2014-08-29 10:46:33 -07: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
Jan Lahoda
c9406c88c4 8056061: Mark implementations of public interfaces with an annotation
Adding @DefinedBy annotation to mark methods that implement public API methods; annotating the methods; adding a coding rules analyzer to enforce all such methods are annotated.

Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: jjg, mcimadamore, jfranck
2014-08-27 07:44:00 +02:00
Maurizio Cimadamore
afd18d4cd4 8056055: IntelliJ source paths broken after modularization of langtools
Add 'share/classes' prefix to all src roots

Reviewed-by: jfranck
2014-08-26 12:45:28 +01:00
Jonathan Gibbons
08e122f2cb 8044859: javac duplicates option processing when using Compiler API
Reviewed-by: mcimadamore, vromero, jlahoda
2014-08-22 16:28:16 -07:00
Maurizio Cimadamore
d1c2d9e6bd 8055390: IntelliJ langtools project should reflect modular source tree
Adjust langtools.iml to point to the new source trees

Reviewed-by: jfranck
2014-08-19 12:13:43 +01:00
Chris Hegarty
2d81f9c851 Merge 2014-08-18 10:59:44 +01: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
Jonathan Gibbons
33e6564a6b 8050429: Update/cleanup ToolBox
Reviewed-by: vromero
2014-08-13 13:20:31 -07: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
Jan Lahoda
756eae6492 8042867: Missing license header for langtools/make/netbeans/langtools/nbproject/project.properties
Reviewed-by: ksrini
2014-05-09 23:31:05 +02:00
Jan Lahoda
3fb6775539 8041695: Update the NetBeans build script and metadata
Various improvements to the NetBeans project for langtools, adding formatting/import setting for langtools.

Reviewed-by: ksrini
2014-04-24 13:32:21 +02:00
Paul Govereau
0a5665b53a 8041521: JDK-8034245 breaks a bootcycle build
Reviewed-by: jjg
2014-04-22 15:59:33 -07:00
Erik Joelsson
961e7da0a4 8026773: Failing compilation in Corba does not fail the build
Reviewed-by: ihse, tbell
2014-02-05 11:04:04 +01:00
Steve Sides
4cbb43a7e3 8029230: Update copyright year to match last edit in jdk8 langtools repository for 2013
Reviewed-by: ksrini
2013-12-24 09:17:37 -08:00
Alexander Zuev
b1ae577b23 6726154: javadoc generated with incorrect version in comment
Reviewed-by: jjg, bpatel, erikj, tbell
2013-11-19 22:14:51 +04:00
Magnus Ihse Bursie
9e72063042 8027566: Remove the old build system
Reviewed-by: erikj, tbell
2013-11-04 11:08:41 +01:00
David Katleman
a9467bf52b Merge 2013-10-23 08:50:36 -07:00
Tim Bell
4c2ade4cc3 8027039: [jprt] Remove 32-bit Solaris from jprt.properties files
Reviewed-by: mduigou, mchung
2013-10-22 16:30:06 -07: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
Lana Steuck
cb1bbba5c8 Merge 2013-09-27 18:38:29 -07:00
Lana Steuck
87d0ea84c1 Merge 2013-09-26 17:23:00 -07:00
Vicente Romero
f5a3e39f94 8025139: javac patch for using bootstrap compiler for debugging is not working properly
Reviewed-by: jjg
2013-09-26 19:06:09 +01:00
Tim Bell
2578c3a839 8025411: JPRT to switch to the new Win platforms for JDK8 builds this week
Reviewed-by: ksrini, katleman
2013-09-25 12:24:13 -07:00
Maurizio Cimadamore
de5e0f4b27 8024414: javac, should facilitate the use of the bootstrap compiler for debugging
Reviewed-by: jjg
2013-09-10 16:47:40 +01:00
Kumar Srinivasan
704f96a0d5 7080001: Need to bump version numbers in build.properties for 8
Reviewed-by: jjg
2013-06-27 12:42:47 -07:00
Jonathan Gibbons
dd5dcda907 8015641: genstubs needs to cope with static interface methods
Reviewed-by: ksrini
2013-05-29 15:34:56 -07:00
Jonathan Gibbons
8530833747 8014461: genstubs creates default native methods
Reviewed-by: alanb
2013-05-14 12:55:15 -07: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
2e806d1c3e 8012661: remove langtools Makefile-classic
Reviewed-by: erikj, tbell
2013-04-19 11:10:40 -07:00
Jonathan Gibbons
66dde86ad0 8012658: Change default langtools source level to 7
Reviewed-by: darcy
2013-04-18 19:58:45 -07:00
Jonathan Gibbons
a52c1dd51a 8010315: doclint errors in javac public API
Reviewed-by: darcy
2013-03-19 15:13:44 -07:00
Mandy Chung
857b7efb96 8005428: Update jdeps to read the same profile information as by javac
Reviewed-by: alanb
2013-03-14 10:33:31 -07:00
Joe Darcy
c2e77030a1 8001614: Include annotation type to documented supported-ness
Reviewed-by: alanb, jjg, tbell
2013-02-01 13:01:26 -08: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
Lana Steuck
87a4453583 Merge 2013-01-01 17:50:29 -08:00
Mandy Chung
e8ce882d43 8003562: Provide a CLI tool to analyze class dependencies
Reviewed-by: jjg, alanb, ulfzibis, erikj
2012-12-28 22:25:21 -08:00
Lana Steuck
f2c7a7867a Merge 2012-12-28 18:39:09 -08:00
David Katleman
8208c844dd 8004982: JDK8 source with GPL header errors
Reviewed-by: ohair
2012-12-20 16:24:18 -08:00
Joel Borggrén-Franck
72cbbd7f3b 8005098: Provide isSynthesized() information on Attribute.Compound
Reviewed-by: jjg
2012-12-16 11:09:36 +01:00
Jonathan Gibbons
4a3e904c6e 8004832: Add new doclint package
Reviewed-by: mcimadamore
2012-12-17 07:47:05 -08: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
Jonathan Gibbons
bde4b842d8 8001717: TypeTags cleanup breaks GenStubs
Reviewed-by: jjh
2012-10-26 18:40:13 -07:00
Steve Sides
12a8d12863 7191449: update copyright year to match last edit in jdk8 langtools repository
Reviewed-by: jjh
2012-08-15 13:48:46 -07:00
Erik Joelsson
4c0c58e59d 7180594: Fix GenStubs in langtools for build-infra builds
Reviewed-by: ohair
2012-06-28 14:59:20 -07: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
Alan Bateman
041b97af42 7113349: Initial changeset for Macosx port to jdk
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:27:12 +00: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
Kelly O'Hair
daca795ff4 7119829: Adjust default jprt testing configuration
Reviewed-by: alanb
2011-12-12 08:15:32 -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
Kelly O'Hair
a6b33d5a4a 7069993: Adjust make/jprt.properties file for jdk8
Reviewed-by: katleman
2011-07-22 17:35:20 -07:00
Alexandre Boulgakov
d44dc19842 7058174: Reduce langtools build warnings
Reviewed-by: jjg
2011-06-23 11:49:27 -07:00
Lana Steuck
a498249cfa Merge 2011-04-17 16:23:22 -07:00
Kelly O'Hair
39cd646f25 Merge 2011-04-13 16:57:22 -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
Kelly O'Hair
b49579c56c 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 20:33:44 -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
Lana Steuck
34c5f24321 Merge 2011-01-04 17:10:35 -08:00
Kelly O'Hair
84b5875f26 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:54:52 -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
5e44010f8c 6986772: langtools netbeans build should use ${ant.core.lib} instead of ${ant.home}/lib/ant.jar
Reviewed-by: ohair
2010-09-22 12:53:26 -07: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
Kelly O'Hair
f44a7ee069 Merge 2010-09-07 15:49:48 -07:00
Kelly O'Hair
8890e99b2c 6982946: Change make/jprt.properties to defer to JPRT itself for jdk platform list
Reviewed-by: kamg
2010-09-07 15:14:49 -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
Tom Ball
985efdc475 6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
6964740: Project Coin: More tests for ARM compiler changes
6965277: Project Coin: Correctness issues in ARM implementation
6967065: add -Xlint warning category for Automatic Resource Management (ARM)

Reviewed-by: jjb, darcy, mcimadamore, jjg, briangoetz
2010-07-16 19:35:24 -07:00
Jonathan Gibbons
7210444d87 6962540: langtools Makefile sets DEV_NULL incorrectly
Reviewed-by: ohair
2010-06-18 16:45:13 -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
19b81a2817 6960407: Potential rebranding issues in openjdk/langtools repository sources
Reviewed-by: darcy
2010-06-10 17:09:56 -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
Kelly O'Hair
9759f199cc 6938326: Use of "ant -diagnostics" a problem with ant 1.8.0, exit code 1 now
Reviewed-by: jjg
2010-03-26 22:37:04 -07:00
Jonathan Gibbons
a49bd21f3d 6934224: update langtools/test/Makefile
Reviewed-by: ohair
2010-03-12 12:00:42 -08:00
Jonathan Gibbons
54cd0cc441 6929544: langtools source code uses statics qualified by instance variables
Reviewed-by: darcy
2010-02-25 12:26:39 -08:00
Jonathan Gibbons
0cc023734d 4880220: Add a warning when accessing a static method via an reference
Reviewed-by: darcy
2010-02-25 09:42:35 -08:00
Andrew John Hughes
0592bca0a5 6928623: Behaviour of VERBOSE=true on langtools build
VERBOSE=true causes -diagnostics to be passed to ant rather than -debug

Reviewed-by: jjg
2010-02-22 21:37:13 +00:00
Jonathan Gibbons
6e3f4a8a4c 6909470: langtools stub generator should prune unnecessary imports
Reviewed-by: darcy
2010-01-11 16:18:05 -08:00
Jesse Glick
dfe44a05ec 6764569: [PATCH] Fix unused imports in list resource bundles
Reviewed-by: ksrini
2010-01-11 14:09:15 -08:00