Vicente Romero
72d5723212
8049075: javac, wildcards and generic vararg method invocation not accepted
...
Reviewed-by: mcimadamore
2014-07-04 16:34:44 +01:00
Brian Goetz
76c473d81f
8032188: Remove dead code in TransTypes
...
Reviewed-by: darcy
2014-07-01 15:54:25 -04:00
Phil Race
ccffd661f8
Merge
2014-07-01 10:21:41 -07:00
Jan Lahoda
670eff1ee6
6707032: Division by zero warning not suppressed properly in some cases
...
Delay reporting of the division by zero warning until annotations are resolved, so that @SuppressWarnings works correctly.
Reviewed-by: vromero
2014-06-30 17:08:06 +02:00
Kumar Srinivasan
729fe3ec72
8047162: [javadoc] index files are non deterministic
...
Reviewed-by: jjg
2014-06-27 17:54:54 -07:00
David Dehaven
1207c0efa1
Merge
2014-06-23 13:06:08 -07:00
Mandy Chung
399ef93b31
8044063: Remove com.sun.java.browser.* from jdk repo
...
Reviewed-by: darcy, alanb
2014-06-20 13:36:10 -07:00
Vicente Romero
1ff4245739
8044546: Crash on faulty reduce/lambda
...
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore, dlsmith
2014-06-20 20:36:54 +01:00
Robert Field
5fad815dec
8046060: Different results of floating point multiplication for lambda code block
...
Propogate strictfp into lambda body
Reviewed-by: vromero, jlahoda
2014-06-20 10:56:47 -07:00
Dan Smith
06b8a7ac80
8034147: javac crashes with a NullPointerException during bounds checking
...
Types.supertype should return Type.noType rather than null
Reviewed-by: vromero, mcimadamore
2014-06-20 10:56:31 -06:00
Vicente Romero
d7c001dd04
8042759: Lambda returning implicitly-typed lambdas considered pertinent to applicability
...
Reviewed-by: mcimadamore
2014-06-19 23:52:33 +01:00
Jan Lahoda
9d852a54ef
8041648: do while loop that misses ending semicolon has wrong end position
...
Ensure the end positions are meaningful even if statement's semicolon is missing.
Co-authored-by: Dusan Balek <dusan.balek@oracle.com>
Reviewed-by: jjg
2014-06-19 22:06:29 +02:00
Vicente Romero
5b199f3cb8
8038182: javac crash with FunctionDescriptorLookupError for invalid functional interface
...
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore
2014-06-19 15:39:37 +01:00
Maurizio Cimadamore
f8e80ec392
8043253: Slow javac compile times in JDK 8
...
Enable on-demand diagnostic source position completion
Reviewed-by: jjg, vromero
2014-06-18 13:51:50 +01:00
Jan Lahoda
e6b9e34ebe
8046916: Type parameter annotations don't work with multiple type parameters
...
When reading type variable's annotations out of the owner's type annotations, use the type variable's index in owner to exclude annotations belonging to other type variables.
Reviewed-by: jfranck, emc
2014-06-18 10:44:16 +02:00
Vicente Romero
e4773094de
8036953: Fix timing of varargs access check, per JDK-8016205
...
Reviewed-by: mcimadamore, dlsmith
2014-06-17 17:33:01 +01:00
Paul Govereau
f2e2245e7b
8038975: Access control in enhanced for
...
Reviewed-by: vromero, jlahoda
2014-06-17 11:11:59 -04:00
Andreas Lundblad
8baafcf7ef
8048594: The sjavac client/server protocol should be hidden behind an interface
...
Reviewed-by: jfranck
2014-06-17 14:01:27 +02:00
Vicente Romero
ce0935812b
8047719: Incorrect LVT in switch statement
...
Reviewed-by: jjg, jlahoda
2014-06-27 20:32:12 +01:00
Jonathan Gibbons
47c543e53b
8007307: DPrinter: support the DocTree API
...
Reviewed-by: mcimadamore
2014-06-26 11:45:51 -07:00
Jonathan Gibbons
bd97e7d5ec
8047183: JDK build fails with sjavac enabled
...
Reviewed-by: mcimadamore
2014-06-26 11:31:59 -07:00
Paul Govereau
5b1596bc25
8042345: getDocComment fails for doc comments on PackageElement found in package-info.java
...
Reviewed-by: jjg
2014-06-26 13:48:58 -04:00
Jonathan Gibbons
101aaaa468
8048162: Restrict catch type from Throwable to ReflectiveOperationException
...
Reviewed-by: darcy
2014-06-25 19:15:53 -07:00
Jonathan Gibbons
a86ace6297
8046614: Fill in missing doc comments
...
Reviewed-by: darcy
2014-06-25 19:04:52 -07:00
Jonathan Gibbons
25618fc470
8046613: Fill in missing doc comments
...
Reviewed-by: darcy
2014-06-25 17:58:37 -07:00
Joe Darcy
b963c0bc59
7196160: Project Coin: allow @SafeVarargs on private methods
...
Reviewed-by: jjg
2014-06-24 10:51:00 -07:00
Robert Field
802429b65f
8037404: javac NPE or VerifyError for code with constructor reference of inner class
...
8047341: lambda reference to inner class in base class causes LambdaConversionException
8044748: JVM cannot access constructor though ::new reference although can call it directly
8044737: Lambda: NPE while obtaining method reference through lambda expression
Revamp and simplify handling of complex method references
Reviewed-by: dlsmith, vromero
2014-06-24 00:43:46 -07:00
Jonathan Gibbons
2613fffb87
8046369: sjavac should not use javac internal API for starting javac
...
Reviewed-by: jfranck, alundblad, ohrstrom
2014-06-16 11:30:31 -07:00
Kumar Srinivasan
b18841ffa0
8042829: [javadoc] index-file output is not sorted correctly
...
8043062: JDK 9 platform and compiler upgrade failed on Solaris-sparcv9 with Javadoc.gmk:360: recipe for target docs/api/index.html
Reviewed-by: erikj, jjg
2014-05-22 12:16:53 -07:00
Paul Govereau
577b60e711
8027886: javac allows illegal receiver parameters
...
8029042: Receiver parameter not supported on local class constructor
Reviewed-by: jfranck, jlahoda
2014-06-11 12:49:10 -04:00
Dan Smith
3ea78c679c
8015101: Covariance of return type implied by upper bounding on type parameter is ignored
...
Capture intersection supertypes before comparing their members
Reviewed-by: vromero
2014-06-10 15:25:01 -06:00
Dan Smith
6e1ae5955e
8037385: constant pool errors with -target 1.7 and static default methods
...
Add error check for static interface methods invoked from -source 7
Reviewed-by: vromero, mcimadamore
2014-06-10 12:41:39 -06:00
Eric McCorkle
07f1246919
8046296: java/util/concurrent/BlockingQueue/PollMemoryLeak.java fails in nightly on all platform due to compiler issue
...
Alter logic to choose type of type annotation position for a variable declaration
Reviewed-by: jjg
2014-06-09 15:46:44 -04:00
Maurizio Cimadamore
dab523a752
8043725: javac fails with StackOverflowException
...
Loose type comparison test should be protected against infinite recursion with fbounds
Reviewed-by: vromero
2014-06-09 12:54:02 +01:00
Jan Lahoda
d71f75ae86
8033414: javac Plugin to receive notification (before and) after the compilation
...
Introducing TaskEvent.Kind.COMPILATION, sending this event before and after compilation.
Co-authored-by: Joel Borggren-Franck <joel.franck@oracle.com>
Reviewed-by: jjg, jfranck
2014-06-09 10:17:16 +02:00
Jonathan Gibbons
15853aca13
7026941: 199: path options ignored when reusing filemanager across tasks
...
Reviewed-by: jlahoda, jfranck
2014-06-08 15:02:34 -07:00
Eric McCorkle
8ff3cbd414
8027262: Determine location for type annotations earlier in compiler pipeline
...
8027261: Single codepath for attaching annotations to symbols
8027258: Permit a single source annotation to generate multiple bytecode annotations
8027182: Incorrect annotation attributes for type annotations on constructor type parameters
8044010: TypeAnnotation attribute is not generated for repeatable annotation in type argument
8044009: TypeAnnotation attribute is not generated for repeatable annotation in nested types
8043974: TypeAnnotation attribute is not generated for repeatable annotation in lambda
8043669: Few of the ANNOT tests in JCK9 test suite fail with an AssertionError for exception_index
8042060: Type parameter annotations don't work with multiple type parameters
8037348: RuntimeInvisibleAnnotations should not be generated for type annotation on anonymous innerclass creation
Initial rearchitecting of type annotations frontend pipeline
Reviewed-by: jjg, jfranck, mcimadamore, jlahoda, wmdietl
2014-06-06 16:00:59 -04:00
Maurizio Cimadamore
cd68d10b6f
8043893: Inference doesn't report error on incompatible upper bounds
...
Failure on type-equality check during incorporation doesn't trigger inference error
Reviewed-by: vromero
2014-06-05 12:21:38 +01:00
Vicente Romero
09250abb84
8041713: Type inference of non-existent method references crashes the compiler
...
Reviewed-by: mcimadamore
2014-06-04 20:01:13 +01:00
Vicente Romero
45c3929ecb
8044487: Fix for 8042785 causes regression tests to fail with java.lang.VerifyError
...
Reviewed-by: jjg, ksrini
2014-06-02 22:36:40 +01:00
Vicente Romero
8447e4cf46
8042785: javac, bridge methods are not getting the flags from the original method
...
Reviewed-by: jjg, jlahoda
2014-05-30 18:21:05 +01:00
Jan Lahoda
2f910049e8
8031967: For some sources compiler compiles for ever
...
Avoid creating DeferredTypes for method calls with method calls as receivers if the site can be determined reliably
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore, vromero
2014-05-30 12:54:16 +02:00
Vicente Romero
92e2e96714
8037937: javac: AssertionError during LVT generation, wrong variable ranges
...
Reviewed-by: mcimadamore
2014-05-29 15:28:01 +01:00
Stephane Epardaud
e0f4450825
8037934: Javac generates invalid signatures for local types
...
Reviewed-by: vromero, rfield
2014-05-28 21:47:30 +01:00
Dan Smith
849ed753e2
8042338: Refactor Types.upperBound to treat wildcards and variables separately
...
Reviewed-by: vromero
2014-05-27 16:32:56 -06:00
Paul Govereau
773e460c33
7177211: SharedNameTable.create and .dispose are not used
...
Reviewed-by: jjg
2014-05-27 14:23:55 -04:00
Paul Govereau
0b1c40b161
8042741: Java 8 compiler throws NullPointerException depending location in source file
...
Reviewed-by: vromero, jlahoda
2014-05-27 22:26:53 +01:00
Paul Govereau
649331e00f
8041704: wrong error message when mixing lambda expression and inner class
...
Reviewed-by: vromero
2014-05-27 18:57:44 +01:00
Neil Toda
ac4c2fe57a
8042406: javac.jvm.ClassReader.readClassFile() is using Target to verify valid major versions
...
Reviewed-by: jjg
2014-05-20 15:50:17 -07:00
Paul Govereau
c212c43f70
8015927: Class reference duplicates in constant pool
...
Reviewed-by: jjg
2014-05-16 17:08:42 -04:00