Commit Graph

1781 Commits

Author SHA1 Message Date
Jan Valenta
63fe735683 7112427: The doclet needs to be able to generate JavaFX documentation
Reviewed-by: jjg
2013-02-24 11:36:58 -08:00
Maurizio Cimadamore
7776fdebe7 8008708: Regression: separate compilation causes crash in wildcards inference logic
Invalid use of WildcardType.bound in Types.removeWildcards

Reviewed-by: jjg
2013-02-22 18:19:51 +00:00
Sonali Goel
96495bc664 8008337: Write test to check for compiler error when static method in interface is called via super()
Reviewed-by: mcimadamore
2013-02-22 13:31:35 +00:00
Lana Steuck
3c22954800 Merge 2013-02-21 17:49:56 -08:00
Eric Mccorkle
e84b39e459 8008658: Four new method param jtreg tests fail in nightly tests
Reviewed-by: jjg, ksrini, mcimadamore
2013-02-21 12:23:27 -08:00
Robert Field
bcaa703a49 8008405: Now that metafactory is in place, add javac lambda serialization tests
Tests part of original langtools serialization review.

Reviewed-by: mcimadamore
2013-02-21 14:43:51 -08:00
David Katleman
60f0c3f6fc Added tag jdk8-b78 for changeset 27bb87e628ae 2013-02-21 11:13:58 -08:00
Maurizio Cimadamore
73b1aee3f4 8008444: Inherited generic functional descriptors are merged incorrectly
Missing call to Types.createMethodWithThrownTypes

Reviewed-by: jjg
2013-02-21 15:27:05 +00:00
Maurizio Cimadamore
6fd868a306 8007461: Regression: bad overload resolution when inner class and outer class have method with same name
Fix regression in varargs method resolution introduced by bad refactoring

Reviewed-by: jjg
2013-02-21 15:26:46 +00:00
Maurizio Cimadamore
8c1621ee38 8008293: Declared bounds not considered when functional interface containing unbound wildcards is instantiated
Wildcards inference should re-use some of the bounds info generated during capture conversion

Reviewed-by: jjg
2013-02-21 15:25:03 +00:00
Maurizio Cimadamore
5bbf5f39fc 8005183: Missing accessor for constructor reference pointing to private inner class ctor
Compiler should add bridges when translating private constructor reference

Reviewed-by: jjg
2013-02-21 15:23:48 +00:00
Maurizio Cimadamore
937b7d2fba 8008276: assertion error in com.sun.tools.javac.comp.TransTypes.visitApply
DiagnosticFilter used during speculative attribution is too broad

Reviewed-by: jjg
2013-02-21 15:21:38 +00:00
Maurizio Cimadamore
eb68b33185 8008227: Mixing lambdas with anonymous classes leads to NPE thrown by compiler
Disentangle cyclic dependency between static-ness of synthetic lambda method and static-ness of classes nested within lambdas

Reviewed-by: jjg
2013-02-21 15:19:29 +00:00
Peter Jensen
556f6dfebb 8006582: Test for parameter names feature
Reviewed-by: jjg, darcy, emc
2013-02-20 15:47:14 -08:00
Lana Steuck
898ada48bb Merge 2013-02-19 20:53:35 -08:00
Eric Mccorkle
bfe1255adc 8006948: Update javac for MethodParameters format change
Reviewed-by: ksrini, forax
2013-02-19 17:19:01 -08:00
Vicente Romero
68a3295c8b 8006212: javac, convert jtreg tests from shell script to java
Reviewed-by: jjg
2013-02-19 17:53:16 +00:00
Joe Darcy
6e097b8776 8008267: Add @Supported annotation to com.sun.source types
Reviewed-by: jjg
2013-02-19 00:31:45 -08:00
Jonathan Gibbons
971f247b1b 8008339: Test TargetAnnoCombo.java is broken
Reviewed-by: jjh
2013-02-18 14:29:40 -08:00
Vicente Romero
e6b61ae08a 6563143: javac should issue a warning for overriding equals without hashCode
Reviewed-by: jjg, mcimadamore
2013-02-18 14:33:25 +00:00
David Holmes
e57875e8ab Merge 2013-02-17 16:44:55 -05:00
Robert Field
b2a3c762ff 8004969: Generate $deserializeLambda$ method
8006763: super in method reference used in anonymous class - ClassFormatError is produced
8005632: Inner classes within lambdas cause build failures
8005653: Lambdas containing inner classes referencing external type variables do not correctly parameterize the inner classes

Reviewed-by: mcimadamore
2013-02-15 18:40:38 -08:00
Jonathan Gibbons
ff25ecbcbb 8008313: 8007052 breaks test/tools/javap/MethodParameters.java
Reviewed-by: darcy
2013-02-15 11:26:11 -08:00
Maurizio Cimadamore
fd17a4290b 8008309: TargetType60 fails because of bad golden file
Bad golden file

Reviewed-by: jjg
2013-02-15 18:13:00 +00:00
Maurizio Cimadamore
b9a88adb02 Merge 2013-02-15 16:37:19 +00:00
Sonali Goel
30058417e1 8007427: Annotation element as '_' gives compiler error instead of a warning
8007401: Write test to check for generation of warnings when '_' is used as an identifier

Extended identifier production not used in annotation values

Reviewed-by: jjg
2013-02-15 16:31:19 +00:00
Maurizio Cimadamore
f5df2a2562 8007535: Compiler crashes on @FunctionalInterface used on interface with two inherited methods with same signatures
Bad check in Types.interfaceCandidates

Reviewed-by: jjg
2013-02-15 16:30:31 +00:00
Maurizio Cimadamore
b496912ee1 8007462: Fix provisional applicability for method references
Add speculative arity-based check to rule out potential candidates when stuck reference is passed to method

Reviewed-by: jjg
2013-02-15 16:29:58 +00:00
Maurizio Cimadamore
e88e06a5e0 8007285: AbstractMethodError instead of compile-time error when method reference with super and abstract
Missing abstractness check on super rmethod references

Reviewed-by: jjg
2013-02-15 16:28:57 +00:00
Jonathan Gibbons
a695bef890 8007052: javap should include the descriptor for a method in verbose mode
Reviewed-by: mcimadamore
2013-02-15 08:28:42 -08:00
Maurizio Cimadamore
f8f9896cc7 8006749: compiler does not allow Object protected methods to be used in lambda
Check.checkFunctionalInterface should take into account 'fake' override

Reviewed-by: jjg
2013-02-15 16:28:07 +00:00
Lana Steuck
e2244526fa Merge 2013-02-14 22:11:58 -08:00
David Katleman
32bced14f5 Added tag jdk8-b77 for changeset d97b73add494 2013-02-14 11:44:21 -08:00
Mandy Chung
ee65d32c20 8006225: tools/jdeps/Basic.java failes with AssertionError
Reviewed-by: alanb
2013-02-14 09:43:00 -08:00
Sonali Goel
2fb38081d5 8001457: New tests needed for library-side changes for repeating annotations
Reviewed-by: darcy
2013-02-13 23:05:17 -08:00
Lana Steuck
3bfd774a99 Merge 2013-02-13 11:25:58 -08:00
Eric Mccorkle
8ccde1a96e 8006345: Report Synthesized Parameters in java.lang.reflect.Parameter API
8006896: ClassReader doesn't see MethodParameters attr for method of anon inner class
8007098: Output Synthesized Parameters to MethodParameters Attributes

Correctly report synthesized and mandated parameters

Reviewed-by: mcimadamore, jjg
2013-02-13 17:04:21 +00:00
Joel Borggrén-Franck
14c0c8eed8 8007279: Rename javax.l.model.element.Element.getAnnotations(Class) to getAnnotationsByType(Class)
Reviewed-by: darcy, abuckley
2013-02-13 10:33:13 +01:00
Werner Dietl
464abcb4fa 8008077: update reference impl for type-annotations
Reviewed-by: jjg
2013-02-12 17:15:29 -08:00
Maurizio Cimadamore
1ec5dfafe0 8007464: Add graph inference support
Add support for more aggressive type-inference scheme

Reviewed-by: jjg
2013-02-12 19:25:09 +00:00
Vicente Romero
9bdfca5e56 8006334: javap, JavapTask constructor breaks with null pointer exception if parameter options is null
Reviewed-by: jjg
2013-02-12 13:36:56 +00:00
Matherey Nunez
024075fabb 8004822: RFE to write language model API tests for repeating annotations based on the spec updates
Reviewed-by: jjg, abuckley
2013-02-12 11:28:45 +01:00
Lana Steuck
e8d53ad94a Merge 2013-02-11 16:15:09 -08:00
Joe Darcy
44e3518c32 8007574: Provide isFunctionalInterface in javax.lang.model
Reviewed-by: jjg
2013-02-11 13:37:41 -08:00
Jonathan Gibbons
b30e5c6313 8007610: javadoc doclint does not work with -private
Reviewed-by: darcy
2013-02-08 17:35:16 -08:00
Vicente Romero
59318f1b2e 7167125: Two variables after the same operation in a inner class return different results
Reviewed-by: jjg, mcimadamore
2013-02-08 09:21:19 +00:00
Vicente Romero
561631ea44 8005931: javac doesn't set ACC_STRICT for classes with package access
Reviewed-by: mcimadamore
2013-02-08 09:15:27 +00:00
Vicente Romero
bba9417038 7166455: javac doesn't set ACC_STRICT bit on <clinit> for strictfp class
Reviewed-by: mcimadamore
2013-02-08 09:12:37 +00:00
Sonali Goel
f1442d8261 7195131: Update 2 compiler combo tests for repeating annotations to include package and default use cases
Reviewed-by: darcy
2013-02-07 20:47:06 -08:00
David Katleman
4f0f5861ed Added tag jdk8-b76 for changeset aa274a6f970a 2013-02-07 12:33:21 -08:00
Jim Holmlund
c88c3bb683 8007698: jtreg test T6306137.java won't compile with ASCII encoding
Reviewed-by: ksrini
2013-02-06 23:10:35 +00:00
Jonathan Gibbons
305cf1f98b 8007566: DocLint too aggressive with not allowed here: <p>
Reviewed-by: mcimadamore
2013-02-06 07:49:31 -08:00
Maurizio Cimadamore
681e6c377e 8007479: Refactor DeferredAttrContext so that it points to parent context
Move DeferredAttrNode out of DeferredAttrContext; add support for nested deferred contexts

Reviewed-by: jjg
2013-02-06 14:04:43 +00:00
Maurizio Cimadamore
0336a57511 8007463: Cleanup inference related classes
Make Infer.InferenceContext an inner class; adjust bound replacement logic in Type.UndetVar

Reviewed-by: jjg
2013-02-06 14:03:39 +00:00
Jonathan Gibbons
23ca241597 8007485: test creates .class files in the test/ directory
Reviewed-by: mcimadamore
2013-02-05 21:55:41 -08:00
David Katleman
36a5ccb73f Merge 2013-02-05 18:55:24 -08:00
Jim Holmlund
8985a7c2ac 8007504: Remove @ignore from tests that no longer need it
Reviewed-by: mcimadamore
2013-02-05 18:55:13 +00:00
Lana Steuck
dea2648931 Merge 2013-02-04 22:38:11 -08:00
Jonathan Gibbons
05a047b442 8007492: DocumentationTool cannot locate standard doclet when invoked from JRE
Reviewed-by: darcy
2013-02-04 18:14:24 -08:00
Jonathan Gibbons
4d8014cefa 8007490: NPE from DocumentationTool.run
Reviewed-by: darcy
2013-02-04 15:30:10 -08:00
David Holmes
581f36e1cc Merge 2013-02-04 18:08:53 -05:00
Vicente Romero
a4a897ce52 7199823: javac generates inner class that can't be verified
Reviewed-by: jjg, mcimadamore
2013-02-03 02:31:30 +00:00
Vicente Romero
a9f424c887 8005075: Pool.Method, and Pool.Variable redundant Symbol field should be removed
Reviewed-by: jjg
2013-02-02 21:04:56 +00: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
Jonathan Gibbons
8f90cd0025 8007344: javac may not make tree end positions and/or doc comments available to processors and listeners
Reviewed-by: darcy
2013-02-01 12:01:03 -08:00
Jonathan Gibbons
7ee6242d0c 8007305: DPrinter: provide better usage message
Reviewed-by: mcimadamore
2013-02-01 08:36:15 -08:00
Jonathan Gibbons
81e9d881ca 8007306: DPrinter: improve display of impl-class, internal tag/kind, and external tag/kind
Reviewed-by: mcimadamore
2013-02-01 08:33:48 -08:00
Roger Riggs
9bf4d2f978 8004353: Generated html is wrong for overview.html; content has incorrect css footer class
Reviewed-by: jjg
2013-01-31 19:31:37 -08:00
Jonathan Gibbons
64ef3bfccc 8007329: minor issues in impl class hierarchry for DCTree.* classes
Reviewed-by: darcy
2013-01-31 19:19:40 -08:00
Joe Darcy
71b457cb97 8007351: Malformed copyright statements in typeAnnotations test directory
Reviewed-by: jjg
2013-01-31 18:58:17 -08:00
David Katleman
2ccecb9e10 Added tag jdk8-b75 for changeset dbafd8b0d8a2 2013-01-31 17:04:55 -08:00
Lana Steuck
ad121b14cb Merge 2013-01-31 14:10:02 -08:00
Joe Darcy
4484857b50 8007313: Remove use of {ContainerFor/ContainedBy} from langtools
Reviewed-by: jjg
2013-01-31 12:16:03 -08:00
Lana Steuck
c78a8aad38 Merge 2013-01-31 10:23:49 -08:00
Fredrik Öhrström
45c58805e7 8006872: Stop creating four jars with identical content in the new build system
Reviewed-by: erikj
2013-01-31 14:01:45 +01:00
Jonathan Gibbons
c3cd43825b 8007034: debug printer for javac internals
Reviewed-by: mcimadamore
2013-01-30 09:47:12 -08:00
Jonathan Gibbons
ebc0ebf54d 8007096: DocLint parsing problems with some comments
Reviewed-by: mcimadamore
2013-01-30 09:40:54 -08:00
Vicente Romero
b5148d30e2 8006944: javac, combo tests should print out the number of threads used
Reviewed-by: mcimadamore
2013-01-27 19:38:44 +00:00
Lana Steuck
f018e9352d Merge 2013-01-26 19:24:46 -08:00
David Katleman
90c6fdd506 Added tag jdk8-b74 for changeset 2d74b1d7456b 2013-01-24 16:49:37 -08:00
Joe Darcy
6b27e06701 8006264: Add explanation of why default methods cannot be used in JDK 8 javax.lang.model
Reviewed-by: jjg
2013-01-23 20:11:07 -08:00
Michael Ernst
659a96edf9 8006775: JSR 308: Compiler changes in JDK8
Co-authored-by: Werner Dietl <wmdietl@cs.washington.edu>
Co-authored-by: Matt Papi <mpapi@csail.mit.edu>
Co-authored-by: Mahmood Ali <mahmood@notnoop.com>
Reviewed-by: jjg
2013-01-23 13:27:24 -08:00
Maurizio Cimadamore
5b1a78dc92 8006694: temporarily workaround combo tests are causing time out in several platforms
Reviewed-by: jjg
2013-01-23 20:57:40 +00:00
Maurizio Cimadamore
eb646f3c09 8006692: jdk/test/java/util/Collections/BigBinarySearch.java fails to compile
Missing boxing cause spurious inference failure

Reviewed-by: jjg
2013-01-23 15:08:03 +00:00
Jonathan Gibbons
ef9719425e Merge 2013-01-22 19:07:20 -08:00
Jonathan Gibbons
cac8147988 8006728: temporarily workaround jtreg problems for doclint tests in othervm
Reviewed-by: jjh
2013-01-22 19:06:05 -08:00
Jonathan Gibbons
7bdddc8471 8006723: sjavac test fails to compile on clean build
Reviewed-by: ksrini
2013-01-22 18:43:22 -08:00
Maurizio Cimadamore
1f8b2abf80 8006684: Compiler produces java.lang.VerifyError: Bad type on operand stack
Lambda desugaring generates spurious references to 'this' in static contexts

Reviewed-by: jjg
2013-01-22 16:39:51 +00:00
Maurizio Cimadamore
948888218b 8006673: TargetType52 fails because of bad golden file
Fix golden file in negative test

Reviewed-by: jjg
2013-01-22 16:23:35 +00:00
Maurizio Cimadamore
3054ea5580 8005166: Add support for static interface methods
Support public static interface methods

Reviewed-by: jjg
2013-01-21 20:19:53 +00:00
Maurizio Cimadamore
a6fc182d40 8005851: Remove support for synchronized interface methods
Synchronized default methods are no longer supported

Reviewed-by: jjg
2013-01-21 20:15:16 +00:00
Maurizio Cimadamore
422c8bd914 8006566: Remove transient lambda-related guards from JavacParser
Remove transitional internal flag for allowing intersection types in cast

Reviewed-by: jjg
2013-01-21 20:14:39 +00:00
Maurizio Cimadamore
442154dcf9 8005244: Implement overload resolution as per latest spec EDR
Add support for stuck expressions and provisional applicability

Reviewed-by: jjg
2013-01-21 20:13:56 +00:00
Lana Steuck
e5aa886e8b Merge 2013-01-21 11:16:28 -08:00
Jonathan Gibbons
f251cc24ca 8006251: doclint: incorrect position for diagnostic for illegal text in tags
Reviewed-by: mcimadamore
2013-01-21 10:07:37 -08:00
Peter Jensen
7967c92db0 8006263: Supplementary test cases needed for doclint
Reviewed-by: mcimadamore
2013-01-21 10:00:46 -08:00
Lana Steuck
f466a4f675 Merge 2013-01-20 23:39:11 -08:00
Jonathan Gibbons
caf667de05 8004182: Add support for profiles in javac
Reviewed-by: mcimadamore
2013-01-21 01:27:42 -05:00
Bhavesh Patel
bd4ebc07d8 8006124: javadoc/doclet should be updated to support profiles
Reviewed-by: jjg
2013-01-21 00:45:35 -05:00
Maurizio Cimadamore
00ae27b2cf 8006561: Langtools test failure: missing diags/examples
Forgot to hg add tests

Reviewed-by: jjg
2013-01-18 15:38:14 +00: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
Maurizio Cimadamore
0a95b1d28c 8005852: Treatment of '_' as identifier
Warn when '_' is found in an identifier position

Reviewed-by: jjg
2013-01-17 18:15:20 +00:00
Jonathan Gibbons
7b493a180e 8006228: Doclint doesn't detect <code> {@code nested inline} </code>
Reviewed-by: darcy
2013-01-16 20:41:14 -08:00
Joe Darcy
e942cdde81 8006283: Change to Class.cast() in javax.lang.model implementation for repeating annotations
Reviewed-by: jjg
2013-01-16 13:22:09 -08:00
Lana Steuck
b11bbbe239 Merge 2013-01-16 12:14:29 -08:00
David Katleman
2062fc003c Added tag jdk8-b73 for changeset b568005e66bd 2013-01-16 12:00:21 -08:00
Jonathan Gibbons
17ebfc350d 8006236: doclint: structural issue hidden
Reviewed-by: darcy
2013-01-16 10:29:52 -08:00
Maurizio Cimadamore
5a60f56dbe 8005964: Regression: difference in error recovery after ambiguity causes JCK test failure
Wrong implementation of ResolveError.access in AmbiguityError

Reviewed-by: jjh
2013-01-16 17:40:28 +00:00
Maurizio Cimadamore
3b3feb3853 8005299: Add FunctionalInterface checking to javac
Javac should check that types annotated with @FunctionalInterface are indeed functional interfaces

Reviewed-by: jjg
2013-01-16 16:30:11 +00:00
Maurizio Cimadamore
d19bc80ca1 8005854: Add support for array constructor references
Support constructor references of the kind int[]::new

Reviewed-by: jjg
2013-01-16 16:27:01 +00:00
Jonathan Gibbons
f8b61f9b0c 8006224: Doclint NPE for attribute with no value
Reviewed-by: darcy
2013-01-15 13:03:11 -08:00
Chris Hegarty
b60eabe813 8006344: Broken javadoc link in javax.lang.model.element.Element
Reviewed-by: lancea, alanb, jfranck
2013-01-15 20:38:39 +00:00
Jonathan Gibbons
f92bbd3311 8006241: Test DocRootSlash.java fails
Reviewed-by: darcy
2013-01-14 14:17:25 -08:00
Jonathan Gibbons
a2f594bf74 8006119: update javac to follow latest spec for repeatable annotations
Reviewed-by: darcy
2013-01-14 13:50:01 -08:00
Joel Borggrén-Franck
9e3a121357 7193719: Support repeating annotations in javax.lang.model
Reviewed-by: jjg
2013-01-14 19:52:36 +01:00
Jonathan Gibbons
7518dede81 8004834: Add doclint support into javadoc
Reviewed-by: darcy
2013-01-10 19:38:57 -08:00
Lana Steuck
3475f97172 Merge 2013-01-10 15:53:02 -08:00
Jonathan Gibbons
80a7fb0bb4 8006033: bug in Pretty.toSimpleString
Reviewed-by: darcy
2013-01-10 15:48:46 -08:00
Jonathan Gibbons
ca5da47efc 8006037: extra space in javac -help for -J and @ options
Reviewed-by: darcy
2013-01-10 14:09:33 -08:00
David Katleman
bd2402428b Added tag jdk8-b72 for changeset e905c5894743 2013-01-10 09:56:09 -08:00
Joe Darcy
51e7243003 8004730: Add language model support for parameter reflection
Reviewed-by: abuckley
2013-01-09 20:02:53 -08:00
Jonathan Gibbons
4779676ac1 8005644: set default max errs and max warns
Reviewed-by: darcy
2013-01-09 10:26:58 -08:00
Vicente Romero
9d4f6a0ebe 8005167: execution time of combo tests in javac should be improved
Reviewed-by: jjg, jjh
2013-01-08 13:47:57 +00:00
Maurizio Cimadamore
5ee942d5a8 8005184: Restructure DeferredAttr to allow pluggable deferred type completers
Add hooks to generalize deferred type completion via custom helper objects

Reviewed-by: jjg
2013-01-08 10:17:29 +01:00
Maurizio Cimadamore
c932023b04 8005179: Cleanup Resolve.AmbiguityError
Linearize nested ambiguity errors

Reviewed-by: jjg
2013-01-08 10:16:26 +01:00
Maurizio Cimadamore
159b251085 8005243: Restructure method check code to allow pluggable checkers
Add interface to perform a method check - to be implemented by helper classes

Reviewed-by: jjg
2013-01-08 10:15:30 +01:00
Jim Holmlund
259f5d7cc8 8005647: langtools/test/tools/javap/MethodParameters.java fails on windows
Fix javap to not output \r\r\n

Reviewed-by: jjg
2013-01-07 17:51:05 +00:00
Bhavesh Patel
d0ff55ec00 8005092: javadoc should check for synthesized bit on an annotation
Reviewed-by: jjg
2013-01-05 00:55:53 -08:00
Bhavesh Patel
1dbfb160ba 8004891: Check for abstract method in javadoc does not conform to the language model
Reviewed-by: jjg
2013-01-04 23:06:05 -08:00
David Katleman
696db0f4f7 Added tag jdk8-b71 for changeset 3849a5b1c05c 2013-01-03 12:44:58 -08:00
Lana Steuck
87a4453583 Merge 2013-01-01 17:50:29 -08:00
Jonathan Gibbons
39734d27f0 8005195: Doclint regression tests fail on windows
Reviewed-by: mcimadamore
2012-12-30 06:17:36 -08:00
Eric Mccorkle
73b497c12e 8004727: Add compiler support for parameter reflection
Reviewed-by: jjg
2012-12-29 17:33:17 -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
645890b143 Added tag jdk8-b70 for changeset 08e2eaa7999a 2012-12-27 12:15:17 -08:00
David Katleman
d9c8359951 Merge 2012-12-26 14:25:03 -08:00
Bhavesh Patel
8a40619e4d 8004893: the javadoc/doclet needs to be updated to accommodate lambda changes
Reviewed-by: jjg
2012-12-25 17:23:59 -08:00
Martin Buchholz
1d3157ac87 8003512: javac doesn't work with jar files with >64k entries
Reviewed-by: jjg, ksrini
2012-12-21 15:27:55 +00:00
Joe Darcy
378571e10e 8005282: Use @library tag with non-relative path for javac tests
Reviewed-by: jjg
2012-12-21 08:45:43 -08:00
David Katleman
8208c844dd 8004982: JDK8 source with GPL header errors
Reviewed-by: ohair
2012-12-20 16:24:18 -08:00
Jonathan Gibbons
e2bd09e6f6 8005307: fix missing @bug tags
Reviewed-by: jjh
2012-12-20 17:59:46 +00:00
David Katleman
16bb0e7a81 Added tag jdk8-b69 for changeset ec5621e36729 2012-12-20 09:18:36 -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
aee2457cd0 8004833: Integrate doclint support into javac
Reviewed-by: mcimadamore
2012-12-19 11:29:56 +00:00
Maurizio Cimadamore
2296453268 8005193: New regression test test/tools/javac/lambda/BadMethodCall2.java fails
Bad golden file in negative test

Reviewed-by: jjh
2012-12-18 22:16:45 +00:00
Fredrik Öhrström
d61f7ca328 8004657: Add hooks to javac to enable reporting dependency information
Reviewed-by: jjg, mcimadamore
2012-12-18 10:23:40 +01:00
Joe Darcy
da02d4f3d5 8005046: Provide checking for a default method in javax.lang.model
Reviewed-by: jjg
2012-12-18 00:24:54 -08:00
Mandy Chung
9f039ad8bd 8005137: Rename DocLint.call to DocLint.init which overrides Plugin.init
Reviewed-by: darcy, jjh
2012-12-17 15:19:38 -08:00
Jonathan Gibbons
3ce1d65326 8004961: rename Plugin.call to Plugin.init
Reviewed-by: mcimadamore
2012-12-17 10:55:40 -08:00
Maurizio Cimadamore
08823b6103 8004099: Bad compiler diagnostic generated when poly expression is passed to non-existent method
Some code paths in resolve do not use methodArguments to correctly format actuals

Reviewed-by: jjg
2012-12-17 16:13:01 +00:00
Jonathan Gibbons
4a3e904c6e 8004832: Add new doclint package
Reviewed-by: mcimadamore
2012-12-17 07:47:05 -08:00
Maurizio Cimadamore
c5acce4569 8004814: javadoc should be able to detect default methods
Reviewed-by: jjg
2012-12-17 14:54:42 +00:00
Lana Steuck
c38e124ed5 Merge 2012-12-16 22:10:52 -08:00
Vicente Romero
c1804d6409 8000518: Javac generates duplicate name_and_type constant pool entry for class BinaryOpValueExp.java
Reviewed-by: jjg, mcimadamore
2012-12-15 13:54:51 +00:00
Lana Steuck
49be988925 Merge 2012-12-14 13:15:39 -08:00
Vicente Romero
630bba40bd 8004976: test/tools/javac/7153958/CPoolRefClassContainingInlinedCts.java can fail
Reviewed-by: jjg, mcimadamore
2012-12-14 11:16:46 +00:00
David Katleman
f329e18992 Added tag jdk8-b68 for changeset 36e1566efb55 2012-12-13 09:05:43 -08:00
Lana Steuck
e28423afe9 Merge 2012-12-10 20:59:38 -08:00
David Katleman
453c37183c Added tag jdk8-b67 for changeset 68edf7c31a6d 2012-12-06 12:04:44 -08:00
Maurizio Cimadamore
01dc08a587 8004360: regression test DefaultMethodRegressionTests fails in langtools
Ignore broken failing test

Reviewed-by: jjg
2012-12-04 17:19:42 +00:00
Joel Borggrén-Franck
e4c3d2d727 8001114: Container annotation is not checked for semantic correctness
Reviewed-by: jjg
2012-12-03 11:16:32 +01:00
Jan Lahoda
9537c44ca5 8004504: ListBuffer could reuse List.nil() as the sentinel element
ListBuffer.last now points to the last elements with client data, or null if none.

Reviewed-by: jjg, mcimadamore
2012-12-12 20:26:56 +01:00
Jonathan Gibbons
1c8e65a20e 8004828: refactor init of *DocImpl classes
Reviewed-by: darcy
2012-12-11 15:05:55 -08:00
Vicente Romero
8fc2d739bd 8003967: detect and remove all mutable implicit static enum fields in langtools
Reviewed-by: jjg
2012-12-10 16:21:26 +00:00
Maurizio Cimadamore
5c0bff8f21 8004094: Javac compiler error - synthetic method accessor generated with duplicate name
Method clash check logic should skip methods marked with ACC_SYNTHETIC

Reviewed-by: jjg
2012-12-10 12:10:50 +00:00
Lana Steuck
cc4aa039e3 Merge 2012-11-30 16:34:51 -08:00
Maurizio Cimadamore
d7884e5ae2 8002099: Add support for intersection types in cast expression
Add parser and type-checking support for intersection types in cast expressions

Reviewed-by: jjg
2012-11-30 15:14:48 +00:00
Maurizio Cimadamore
c76c08e82a 8004101: Add checks for method reference well-formedness
Bring method reference type-checking in sync with latest EDR

Reviewed-by: jjg
2012-11-30 15:14:36 +00:00
Maurizio Cimadamore
0db60b7bb2 8004102: Add support for generic functional descriptors
Method references are allowed to have a generic functional interface descriptor target

Reviewed-by: jjg
2012-11-30 15:14:25 +00:00
Maurizio Cimadamore
684271da34 8004105: Expression statement lambdas should be void-compatible
Fix lambda compatibility rules as per latest EDR

Reviewed-by: jjg
2012-11-30 15:14:12 +00:00
David Katleman
e21b3cc37b Added tag jdk8-b66 for changeset 4f273518dc3b 2012-11-29 11:31:48 -08:00
Vicente Romero
ba3ae37ef0 7153958: add constant pool reference to class containing inlined constants
Reviewed-by: jjg, mcimadamore
2012-11-29 09:41:48 +00:00
David Katleman
f620e53bca Merge 2012-11-28 14:07:26 -08:00
Erik Joelsson
29a342dabe 8003844: build-infra: docs target isn't working properly
Adding resources to bootstrap javadoc.jar. Adding missing .js resource suffix

Reviewed-by: ohair, jjg, ohrstrom
2012-11-28 13:37:50 +01:00
Vicente Romero
9bbd892818 7144981: javac should ignore ignorable characters in input
Reviewed-by: jjg, mcimadamore
2012-11-23 15:13:45 +00:00
Eric Caspole
7fb8379371 8004068: Fix build problems caused by on-demand imports
Reviewed-by: jjg
2012-11-27 13:55:10 -08:00
Vicente Romero
1d4cbc27ff 6574624: javax.tools.JavaCompiler spec contains errors in sample code
Reviewed-by: jjg, mcimadamore
2012-11-21 19:09:39 +00:00
Vicente Romero
07e9c8cf27 7190862: javap shows an incorrect type for operands if the 'wide' prefix is used
7109747: (javap) classfile not treating iinc_w correctly

Reviewed-by: jjg, mcimadamore
2012-11-21 18:40:45 +00:00
Lana Steuck
c8adadc51c Merge 2012-11-20 11:50:37 -08:00
Robert Field
d1a78e2021 8003639: convert lambda testng tests to jtreg and add them
Reviewed-by: mcimadamore
2012-11-20 09:58:55 -08:00
Maurizio Cimadamore
d1eede168b 8003663: lambda test fails on Windows
Fix path separator issue in test

Reviewed-by: jjg
2012-11-20 15:43:28 +00:00
Jonathan Gibbons
f2fa2a199c 8003650: java.lang.Exception: expected string not found: pkg/package-frame.html
Reviewed-by: ksrini
2012-11-20 07:25:11 -08:00
Jonathan Gibbons
f0fe027b50 8003649: regression/langtools: tools/javac/doctree
Reviewed-by: ksrini
2012-11-20 07:21:07 -08:00
Jonathan Gibbons
61235e9c09 8003655: Add javac.jvm.ClassFile.V52
Reviewed-by: ksrini
2012-11-19 16:40:54 -08:00
Bhavesh Patel
55e7dd8b71 8002304: Group methods by types in methods summary section
Reviewed-by: jjg
2012-11-19 16:10:34 -08:00
Jonathan Gibbons
5a30b6af0c 8001098: Provide a simple light-weight "plug-in" mechanism for javac
Reviewed-by: mcimadamore
2012-11-19 11:38:49 -08:00
Maurizio Cimadamore
a494f0ab86 8003280: Add lambda tests
Turn on lambda expression, method reference and default method support

Reviewed-by: jjg
2012-11-17 19:01:03 +00:00
Jim Holmlund
c39f1d99b4 8003357: Add support for jtreg -concurrency to langtools/test/Makefile
Reviewed-by: jjg
2012-11-16 18:27:36 +00:00
Jonathan Gibbons
b3a3f7cdf3 6493690: javadoc should have a javax.tools.Tool service provider installed in tools.jar
Reviewed-by: darcy
2012-11-15 23:07:24 -08:00
Jonathan Gibbons
6ef527a3e7 8002079: update DocFile to use a JavaFileManager
Reviewed-by: darcy
2012-11-15 19:54:20 -08:00
David Katleman
b379df39d9 Added tag jdk8-b65 for changeset 0e685b019743 2012-11-15 15:40:23 -08:00
Jonathan Gibbons
2aefbba070 8003257: refactor javadoc tool option handling
Reviewed-by: darcy
2012-11-15 14:41:31 -08:00
Jonathan Gibbons
ed633a2108 8000800: javadoc uses static non-final fields
Reviewed-by: bpatel
2012-11-15 09:18:36 -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
Lana Steuck
d0455982a4 Merge 2012-11-14 16:41:51 -08:00
Jonathan Gibbons
56d387a2ef 8003412: javac needs to understand java.lang.annotation.Native
Reviewed-by: mcimadamore
2012-11-14 10:07:38 -08:00
Jonathan Gibbons
4b3c0978fb 8003299: Cleanup javac Log support for deferred diagnostics
Reviewed-by: mcimadamore, jfranck
2012-11-13 15:09:15 -08:00
Robert Field
be815ba8fa 8003306: Compiler crash: calculation of inner class access modifier
Fix binary sense lost in transition to hasTag

Reviewed-by: mcimadamore
2012-11-13 08:06:00 -08:00
Lana Steuck
36f6ab1d87 Merge 2012-11-09 14:47:22 -08:00
David Katleman
342adcc9f7 Added tag jdk8-b64 for changeset 323bf6f14277 2012-11-08 11:53:23 -08:00
Jonathan Gibbons
18b3a4951e 8003134: CheckResourceKeys issues
Reviewed-by: jjh, bpatel
2012-11-07 17:20:12 -08:00
Sonali Goel
eb055bba92 8002157: Write combo compiler tests for repeating annotations for JDK8
Reviewed-by: darcy, jjg
2012-11-07 17:01:19 -08:00
Vicente Romero
59347fd9bb 8000484: Bad error recovery when 'catch' without 'try' is found
Reviewed-by: jjg, mcimadamore
2012-11-05 16:26:09 +00:00
Lana Steuck
05d621bfc2 Merge 2012-11-06 18:41:56 -08:00
Jonathan Gibbons
63f6e5febd 7198690: missing compiler message
Reviewed-by: jjh
2012-11-06 17:22:29 -08:00
Jonathan Gibbons
97e77ea025 8000612: Discrepancy between resources provided in javadoc resource files and resources required by code
Reviewed-by: bpatel
2012-11-06 14:32:49 -08:00
Maurizio Cimadamore
4d8168a8e5 8002286: Regression: Fix for 8000931 causes a JCK test failure
Wrong type used as 'site' in Resolve.resolveMethod

Reviewed-by: jjg
2012-11-06 14:45:27 +00:00
Lana Steuck
286c5274db Merge 2012-11-02 17:55:34 -07:00
Sonali Goel
3b9822eab7 7169362: JDK8: Write compiler tests for repeating annotations for JDK8
Reviewed-by: darcy, jjg
2012-11-02 14:35:57 -07:00
David Katleman
240382e751 Added tag jdk8-b63 for changeset c9ce28f01a29 2012-11-01 14:13:13 -07:00
Vicente Romero
a998d5815f 8000483: cryptic error message when source file contains hash
Cryptic error message when source file contains hash

Reviewed-by: jjg, mcimadamore
2012-11-01 12:47:11 +00:00
Fredrik Öhrström
07880728ed 7153951: Add new lint option -Xlint:auxiliaryclass
Reviewed-by: jjg, mcimadamore, forax
2012-11-01 10:48:36 +01:00
David Katleman
3d8056dd67 Merge 2012-10-31 18:36:25 -07:00
Jonathan Gibbons
04ab375fd2 8001664: refactor javadoc to use abstraction to handle files
Reviewed-by: darcy
2012-10-31 13:48:15 -07:00
Kumar Srinivasan
d079a05f38 8001112: Make -target 8 in javac generate version 52.0 classfile
Reviewed-by: darcy, jjg
2012-10-31 10:21:14 -07:00
Maurizio Cimadamore
7c849a94da 8000931: Cleanup Resolve.java
Unify all method resolution routines

Reviewed-by: jjg
2012-11-04 11:01:49 +00:00
Maurizio Cimadamore
d4be9a13c8 7192246: Add type-checking support for default methods
Add type-checking support for default methods as per Featherweight-Defender document

Reviewed-by: jjg, dlsmith
2012-11-04 10:59:42 +00:00
Jonathan Gibbons
d50b720ecc 8002168: Cleanup initialization of javadoc Messager
Reviewed-by: darcy
2012-11-03 21:09:57 -07:00
Jonathan Gibbons
3bd08c5eff 8002146: javadoc doesn't release resources in a timely manner
Reviewed-by: darcy
2012-11-03 21:07:30 -07:00
Jonathan Gibbons
adff1a634a Merge 2012-11-02 19:17:03 -07:00
Vicente Romero
84e4fa5a93 6949443: visitTree assertion triggered using -Xjcov on small sample program
Reviewed-by: jjg, mcimadamore
2012-11-01 13:06:43 +00:00
Lana Steuck
e0660b66f3 Merge 2012-10-31 08:31:40 -07:00
Jonathan Gibbons
0777dc6caa 8001929: fix doclint errors in langtools doc comments
Reviewed-by: darcy
2012-10-30 10:15:19 -07:00
Robert Field
7c26f7db54 8000694: Add generation of lambda implementation code: invokedynamic call, lambda method, adaptor methods
Add lambda implementation code with calling/supporting code elsewhere in the compiler

Reviewed-by: mcimadamore, jjg
2012-10-29 10:39:49 -07:00
Jonathan Gibbons
bde4b842d8 8001717: TypeTags cleanup breaks GenStubs
Reviewed-by: jjh
2012-10-26 18:40:13 -07:00
Jonathan Gibbons
7c509b7652 8001714: add missing tests for 7199925
Reviewed-by: darcy
2012-10-26 17:17:33 -07:00
Jonathan Gibbons
574f3eeef5 8001229: refactor javac so that ct.sym is just used for javac, not all clients of JavacFileManager
Reviewed-by: mcimadamore
2012-10-26 16:40:57 -07:00
Kelly O'Hair
ab0a4530c8 8000992: Update new build-infra makefiles
Build-infra project integration. Multiple authors on this work: erikj and ihse primarily, also changes from ohair, tbell, and dholmes. Special credit to ohstrom for his smartjavac work.

Reviewed-by: erikj, ihse, dholmes, tbell
2012-10-26 14:25:52 -07:00
Jonathan Gibbons
4d41066972 8001219: Clean up use of URLs in javadoc Extern class
Reviewed-by: darcy
2012-10-26 13:10:56 -07:00
Lana Steuck
8f0b240e99 Merge 2012-10-25 20:33:49 -07:00
Vicente Romero
044dcef0e6 6725230: Java Compilation with Jsr199 ignores Class-Path in manifest
Reviewed-by: jjg, mcimadamore
2012-10-25 13:33:27 -07:00
Vicente Romero
de25999481 7200915: convert TypeTags from a series of small ints to an enum
Reviewed-by: jjg, mcimadamore
2012-10-25 11:09:36 -07:00
David Katleman
431bad33c0 Added tag jdk8-b62 for changeset 90de1dc5cd5b 2012-10-25 09:54:41 -07:00
Jonathan Gibbons
ce1db67272 8000416: refactor javadoc to provide and use an abstraction for relative URIs
Reviewed-by: darcy
2012-10-23 13:58:56 -07:00
Jonathan Gibbons
296286534c 8000741: refactor javadoc to use abstraction to handle relative paths
Reviewed-by: darcy
2012-10-23 13:20:37 -07:00
Lana Steuck
74ef0287be Merge 2012-10-23 09:42:48 -07:00
David Katleman
8bb18682d4 Added tag jdk8-b61 for changeset 539f9d08a9e5 2012-10-18 11:09:45 -07:00
Maurizio Cimadamore
848ec301f2 7192245: Add parser support for default methods
Add support for 'default' keyword in modifier position

Reviewed-by: jjg
2012-10-17 16:43:26 +01:00
Jonathan Gibbons
4aedf7469a 8000673: remove dead code from HtmlWriter and subtypes
Reviewed-by: bpatel
2012-10-16 21:03:36 -07:00
Jonathan Gibbons
a0b8f099ab 8000666: javadoc should write directly to Writer instead of composing strings
Reviewed-by: bpatel
2012-10-15 17:07:55 -07:00
Lana Steuck
ff931a19c1 Merge 2012-10-12 14:53:50 -07:00
Lana Steuck
05990a73d8 Merge 2012-10-11 17:00:54 -07:00
David Katleman
7724283600 Added tag jdk8-b60 for changeset e8ce51f159dd 2012-10-11 09:50:52 -07:00
Jonathan Gibbons
ec5ee59931 8000310: Clean up use of StringBuffer in langtools
Reviewed-by: bpatel
2012-10-10 18:44:21 -07:00
Jonathan Gibbons
8b895ea856 8000418: javadoc should used a standard "generated by javadoc" string
Reviewed-by: bpatel
2012-10-10 18:34:46 -07:00
Jayashree Viswanathan
9551f94d32 8000743: docencoding not available to stylesheet
Reviewed-by: jjg
2012-10-10 18:08:19 -07:00
Jonathan Gibbons
680ffebcb6 8000665: fix "internal API" comments on javadoc files
Reviewed-by: darcy
2012-10-10 16:48:21 -07:00
Jonathan Gibbons
b155b54a5e 8000208: fix langtools javadoc comment issues
Reviewed-by: bpatel, mcimadamore
2012-10-09 19:31:58 -07:00
Jonathan Gibbons
36c3915257 8000663: clean up langtools imports
Reviewed-by: darcy
2012-10-09 19:10:00 -07:00