Commit Graph

152 Commits

Author SHA1 Message Date
Maurizio Cimadamore
90e6379916 6711619: javac doesn't allow access to protected members in intersection types
Accordingly to new accessibility rules all members of intersection types (but private ones) should be accessible

Reviewed-by: jjg
2008-10-23 17:59:43 +01:00
Maurizio Cimadamore
be7b82ffe4 6732484: Bound error on wildcard code
Check.checkExtends should cope with captured type-variables

Reviewed-by: jjg
2008-10-23 17:59:16 +01:00
Jonathan Gibbons
7d2872604d 6759996: ignore empty entries on paths
Reviewed-by: darcy
2008-10-20 13:42:45 -07:00
Tim Bell
b99ff1ffeb Merge 2008-10-17 16:47:54 -07:00
Jonathan Gibbons
fac7f6fd8a 6760930: empty element on bootclasspath breaks test/tools/apt/Discovery/discovery.sh
Reviewed-by: darcy
2008-10-17 16:06:32 -07:00
Jonathan Gibbons
8175eb6c0e 6760805: empty element on bootclasspath breaks test/tools/apt/Compile/compile.sh
Reviewed-by: darcy
2008-10-17 10:34:06 -07:00
Jonathan Gibbons
c6c8882d70 6760500: test com/sun/javadoc/testSupplementary/TestSupplementary.java is not same-VM safe
Reviewed-by: darcy
2008-10-16 16:53:56 -07:00
Maurizio Cimadamore
1cfe36b8a1 6760226: test/tools/javap/T6622260.java fails with specific locale settings
Changed the regression test in order to make it more robust w.r.t. to locale settings

Reviewed-by: jjg
2008-10-16 18:07:37 +01:00
Jonathan Gibbons
72ffb28a4d 6759810: bad regression test causes source file to be deleted
Reviewed-by: mcimadamore
2008-10-16 07:39:53 -07:00
Jonathan Gibbons
ad3ca8d8f2 6759775: RegularFileObject.inferBinaryName gives bad result on empty path
Reviewed-by: mcimadamore
2008-10-16 07:30:13 -07:00
Jonathan Gibbons
a75a5f00d6 6759796: test/tools/javac/6348193/T6348193.java fails if there are empty entries on the bootclasspath
Reviewed-by: darcy
2008-10-15 13:20:03 -07:00
Jonathan Gibbons
a2201c5ae7 6759795: test/tools/apt/Basic/print.sh may fail depending on jtreg options
Reviewed-by: darcy
2008-10-15 11:13:23 -07:00
Maurizio Cimadamore
0f7dc30816 6759682: APT: compiler message file broken after refactoring of com.sun.tools.javac.util.Message
JavacMessages should refresh its own bundle cache when a new resource bundle is added by APT

Reviewed-by: jjg
2008-10-15 17:23:55 +01:00
Jonathan Gibbons
55ef4bc22e 6748541: javadoc should be reusable
Reviewed-by: bpatel
2008-10-15 08:07:59 -07:00
Maurizio Cimadamore
1dc1dcab49 6759143: com.sun.tools.javac.util.Messages is obsolete and should be removed
Push for 6406133 should have removed com.sun.tools.javac.util.Messages

Reviewed-by: jjg
2008-10-14 17:05:48 +01:00
Tim Bell
4fddc7cbee Merge 2008-10-10 13:29:11 -07:00
Xiomara Jayasena
16155a7d48 Added tag jdk7-b37 for changeset 076a3cde30d5 2008-10-09 11:13:34 -07:00
Maurizio Cimadamore
c09e705e04 6586091: javac crashes with StackOverflowError
Types.adapt should avoid infinite loops by exploiting a local cache

Reviewed-by: jjg
2008-10-09 16:21:04 +01:00
Maurizio Cimadamore
68c9df4110 6731573: diagnostic output should optionally include source line
Added an -XD option to optionally prints out source lines in error messages

Reviewed-by: jjg
2008-10-09 16:19:13 +01:00
Maurizio Cimadamore
7a442ce178 6406133: JCDiagnostic.getMessage ignores locale argument
Compiler API should take into account locale settings

Reviewed-by: jjg
2008-10-09 16:07:38 +01:00
Maurizio Cimadamore
ab5f1cb24b 6724345: incorrect method resolution for enum classes entered as source files
Enum's abstract methods shouldn't be skipped during method resolution

Reviewed-by: jjg
2008-10-09 16:04:29 +01:00
Maurizio Cimadamore
67339c0aab 6738538: javac crashes when using a type parameter as a covariant method return type
Capture conversion should be applied when acccessing a member of an intersection type

Reviewed-by: jjg
2008-10-09 16:02:29 +01:00
Maurizio Cimadamore
9315b88d67 6751514: Unary post-increment with type variables crash javac during lowering
Lower.abstractRval should take into account parenthesized expressions

Reviewed-by: jjg
2008-10-09 15:56:20 +01:00
Jonathan Gibbons
98ab03e7e5 6749967: regression tests for apt should be same-vm friendly
Reviewed-by: darcy
2008-10-07 15:39:19 -07:00
Jonathan Gibbons
1a0a9d1a6f 6748546: javadoc API should be classloader-friendly
Reviewed-by: bpatel
2008-10-06 16:57:15 -07:00
Tim Bell
ebc51f0813 Merge 2008-10-04 22:59:05 -07:00
Tim Bell
7fe650bc36 Merge 2008-10-04 22:49:54 -07:00
Xiomara Jayasena
4dcb55b4b5 6754988: Update copyright year
Update for files that have been modified starting July 2008

Reviewed-by: ohair, tbell
2008-10-02 19:58:40 -07:00
Jonathan Gibbons
02332d6aa7 6748601: javadoc API should allow varargs use
Reviewed-by: bpatel
2008-10-01 16:26:33 -07:00
Tim Bell
b670ed41d6 Merge 2008-09-29 22:11:26 -07:00
Peng Li
e7058ee0c3 6739427: -Xlint:processing not recognized as an option
Reviewed-by: darcy, jjg
2008-09-29 11:38:56 -07:00
Maurizio Cimadamore
82a7a9f030 6753718: raw type warnings should be suprresed during a langtools build
Fixed build.properties in order to suppress raw type warnings

Reviewed-by: jjg
2008-09-29 15:30:27 +01:00
Maurizio Cimadamore
5fc92453b6 6747671: -Xlint:rawtypes
Add an Xlint option for detecting all raw types usages (ccc-approved)

Reviewed-by: jjg
2008-09-29 12:00:29 +01:00
Maurizio Cimadamore
a8d5a91270 6735840: Need a type/symbol visitor printer
Added type/symbol visitor printer with support for localization

Reviewed-by: jjg
2008-09-29 11:48:09 +01:00
Maurizio Cimadamore
ec0853a113 6500343: compiler generates bad code when translating conditional expressions
TransTypes needs to deal with intersection types coming from conditional expressions

Reviewed-by: jjg
2008-09-29 11:34:43 +01:00
Tim Bell
5e2a37a5a0 Merge 2008-09-26 15:32:47 -07:00
Xiomara Jayasena
f3455aa584 Added tag jdk7-b36 for changeset 7798f9e88bf9 2008-09-25 12:54:13 -07:00
Jonathan Gibbons
fc58b54ba3 6420151: need to improve byfile compile policy to eliminate footprint issues
Reviewed-by: mcimadamore
2008-09-23 10:44:51 -07:00
Jonathan Gibbons
4cea49cf1c 6744408: Extra ouput is appearing in stderr
Reviewed-by: bpatel
2008-09-18 18:39:44 -07:00
Jonathan Gibbons
2fecfdfb50 6728697: tools/javac/versionOpt.sh fails on OpenJDK builds
Reviewed-by: darcy
2008-09-18 13:47:43 -07:00
Jonathan Gibbons
3ca95fc7a6 6574134: Allow for alternative implementation of Name Table with garbage collection of name bytes
Reviewed-by: darcy, mcimadamore
2008-09-16 18:35:18 -07:00
Tim Bell
4350001c77 Merge 2008-09-12 23:32:51 -07:00
Tim Bell
513053fd42 Merge 2008-09-12 14:35:51 -07:00
Xiomara Jayasena
092df72269 Added tag jdk7-b35 for changeset 59749505f3e8 2008-09-11 11:26:00 -07:00
Jonathan Gibbons
b0419018b0 6724118: change JavaCompiler to not use Scanner directly
6736119: refactor Parser and Parser.Factory

Reviewed-by: mcimadamore
2008-09-09 10:40:50 -07:00
Jonathan Gibbons
8166ad7ece 6557752: Original type of an AST should be made available even if it is replaced with an ErrorType
Reviewed-by: mcimadamore
2008-09-09 10:28:21 -07:00
Tim Bell
9f4b8c2379 Merge 2008-09-04 14:56:35 -07:00
Jonathan Gibbons
756eea5eec 6743107: clean up use of static caches in file manager
Reviewed-by: mcimadamore
2008-09-03 10:46:25 -07:00
Tim Bell
e80aebd528 Merge 2008-08-31 12:00:43 -07:00
Tim Bell
309cfe4fd1 Merge 2008-08-29 12:42:27 -07:00