734 Commits

Author SHA1 Message Date
Jonathan Gibbons
d7787c25cf 6976833: options included twice in Example SimpleCompiler
Reviewed-by: darcy
2010-08-16 14:59:21 -07:00
Maurizio Cimadamore
2801325742 6369605: Unconstrained type variables fails to include bounds
Unconstrained type-variables with recursive bounds are not inferred properly

Reviewed-by: jjg
2010-08-16 14:58:10 +01:00
Maurizio Cimadamore
91bd86216a 6976649: javac does not enforce required annotation elements in arrays
Type annotation should take advantage of recursive annotation checking

Reviewed-by: jjg
2010-08-16 14:56:23 +01:00
Christine Lu
aff549a4ab Added tag jdk7-b105 for changeset 60298a435212 2010-08-13 11:38:43 -07:00
Lana Steuck
673cb7c129 Merge 2010-08-12 19:59:10 -07:00
Maurizio Cimadamore
23a89dba04 6975231: Regression test for 6881115 is failing with compiler output not matching expected output
Missing symbols are collected in an HashSet which doesn't preserve ordering

Reviewed-by: jjg
2010-08-10 14:53:19 +01:00
Maurizio Cimadamore
132dde52c3 6975275: diamond implementation needs some cleanup
Resolution issues during diamond inference should be reported through Resolve.logResolveError()

Reviewed-by: jjg
2010-08-10 14:52:34 +01:00
Lana Steuck
35703f67d9 Merge 2010-08-09 16:03:07 -07:00
Christine Lu
80a48b15c7 Added tag jdk7-b104 for changeset fef4187d7622 2010-08-06 12:52:19 -07:00
Maurizio Cimadamore
fa2cb78a09 6857948: Calling a constructor with a doubly bogus argument causes an internal error
Problem when constructor resolution returns an erroneous symbol

Reviewed-by: jjg
2010-08-05 09:45:25 +01:00
Maurizio Cimadamore
156e82c164 6881115: javac permits nested anno w/o mandatory attrs => IncompleteAnnotationException
Default annotation value is not attributed

Reviewed-by: jjg, darcy
2010-08-05 09:44:54 +01:00
Lana Steuck
6581804c68 Merge 2010-08-02 19:46:14 -07:00
Jonathan Gibbons
0c1962f5de 6973626: test/tools/javac/processing/* tests fail with assertions enabled
Reviewed-by: darcy
2010-08-02 16:29:54 -07:00
Joe Darcy
74210780a0 6971877: Project Coin: improve semantics of suppressed exceptions in try-with-resources
Reviewed-by: jjb
2010-08-02 13:35:39 -07:00
Lana Steuck
9f50973389 Merge 2010-07-29 22:04:41 -07:00
Jonathan Gibbons
eff5854b96 6966604: JavacFiler not correctly notified of lastRound
Reviewed-by: darcy
2010-07-29 19:30:35 -07:00
Jonathan Gibbons
75b1007388 6340549: javax.tools.JavaCompilerTool.getStandardFileManager().list() includes directories
Reviewed-by: darcy
2010-07-29 19:27:11 -07:00
Jonathan Gibbons
30c006f23f 6972556: warning for using a file name instead of a binary name for Filer.createSourceFile
Reviewed-by: darcy
2010-07-29 18:06:34 -07:00
Christine Lu
f5bf509c49 Added tag jdk7-b103 for changeset a5cf09e6c109 2010-07-29 13:33:32 -07:00
Maurizio Cimadamore
a38fe743aa 6970833: Try-with-resource implementation throws an NPE during Flow analysis
Updated logic not to rely upon Symbol.implementation (which check in superinterfaces)

Reviewed-by: jjg
2010-07-29 15:57:43 +01:00
Maurizio Cimadamore
d7444b88be 6972747: CheckExamples fail when assertions are enabled
The test calls the wrong version of JavacMessage constructor

Reviewed-by: jjg
2010-07-29 15:57:18 +01:00
Maurizio Cimadamore
541f7a7a41 6938454: Unable to determine generic type in program that compiles under Java 6
A redundant dubtyping check causes spurious inference failure

Reviewed-by: jjg
2010-07-29 15:56:25 +01:00
Jonathan Gibbons
bcbe3b2577 6403456: -Werror should work with annotation processing
Reviewed-by: darcy
2010-07-27 11:52:11 -07:00
Jan Lahoda
157108fe22 6972327: JCTree.pos incorrect for annotations without modifiers and package
Reviewed-by: mcimadamore
2010-07-27 11:32:03 -07:00
Jonathan Gibbons
1c75e97108 6957438: improve code for generating warning messages containing option names
Reviewed-by: mcimadamore
2010-07-26 14:25:56 -07:00
Jonathan Gibbons
ccd014ed3f 6971882: Remove -XDstdout from javac test
Reviewed-by: darcy
2010-07-26 14:18:45 -07:00
Michael Wilkerson
3f659885ec Added tag jdk7-b102 for changeset 755ea7201562 2010-07-23 16:42:36 -07:00
Jonathan Gibbons
7eb8c115ec 6968063: provide examples of code that generate diagnostics
Reviewed-by: mcimadamore
2010-07-22 11:02:54 -07:00
Lana Steuck
f1cce86e5b Merge 2010-07-20 22:22:32 -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
Michael Wilkerson
b9859c555d Added tag jdk7-b101 for changeset 197b3b36b3f4 2010-07-15 20:11:54 -07:00
Tomas Zezula
9c273720d6 6964669: javac reports error on miranda methods
Synthetic name clash check should not apply to miranda methods

Reviewed-by: jjg
2010-07-15 16:31:56 +01:00
Mahmood Ali
aa93fd7701 6967002: JDK7 b99 javac compilation error (java.lang.AssertionError)
Bug in JavacParser related to parsing of type annotations in varargs position

Reviewed-by: jjg
2010-07-15 16:31:02 +01:00
Jonathan Gibbons
a1e7efde4a 6968789: incorrect text in "diamond not supported" message
Reviewed-by: darcy
2010-07-13 19:20:48 -07:00
Jonathan Gibbons
5db54afdea 6968434: test CheckResourceKeys fails on control builds
Reviewed-by: darcy
2010-07-13 19:17:55 -07:00
Jonathan Gibbons
ec05f75ccd 6966732: replace use of static Log.getLocalizedString with non-static alternative where possible
Reviewed-by: darcy
2010-07-13 19:14:09 -07:00
Lana Steuck
f45e422039 Merge 2010-07-12 19:43:19 -07:00
Jonathan Gibbons
29ceaebc37 6968497: localized text appears in raw diagnostic
Reviewed-by: darcy
2010-07-12 16:37:46 -07:00
Michael Wilkerson
5245d5d52c Added tag jdk7-b100 for changeset 84d4886d48aa 2010-07-09 19:18:42 -07:00
Jonathan Gibbons
e438672595 6964768: need test program to validate javac resource bundles
Reviewed-by: darcy
2010-06-30 18:06:29 -07:00
Lana Steuck
e15e0c33b4 Merge 2010-06-29 22:43:59 -07:00
Lana Steuck
6bc7c5dcb7 Merge 2010-06-29 12:06:46 -07:00
Michael Wilkerson
9db4736a1e Added tag jdk7-b99 for changeset c24b113fe4ac 2010-06-24 20:03:19 -07:00
Jonathan Gibbons
17e9572501 6917288: Unnamed nested class is not generated
Reviewed-by: mcimadamore
2010-06-24 10:34:53 -07:00
Joshua Bloch
5b2078e713 6911258: Project Coin: Add essential API support for Automatic Resource Management (ARM) blocks
Reviewed-by: darcy, alanb
2010-06-23 16:51:30 -07:00
Lana Steuck
6a10c59513 Merge 2010-06-21 22:09:18 -07:00
Jonathan Gibbons
dfd2d3b478 6961178: Allow doclet.xml to contain XML attributes
Reviewed-by: bpatel
2010-06-18 21:13:56 -07:00
Jonathan Gibbons
7210444d87 6962540: langtools Makefile sets DEV_NULL incorrectly
Reviewed-by: ohair
2010-06-18 16:45:13 -07:00
John R Rose
3141814177 Merge 2010-06-18 15:12:04 -07:00
Michael Wilkerson
5bdc7a2a88 Added tag jdk7-b98 for changeset eca02d17ce03 2010-06-17 16:28:21 -07:00