Magnus Ihse Bursie
d5a1521fde
8295470: Update openjdk.java.net => openjdk.org URLs in test code
...
Reviewed-by: michaelm, prr, darcy
2022-10-20 10:33:18 +00:00
Srikanth Adayapalam
cf84c8eaf2
8292975: javac produces code that crashes with LambdaConversionException
...
8269983: BootstrapMethodError with method reference and intersection type
Reviewed-by: dlsmith, vromero
2022-10-07 04:20:40 +00:00
Joe Darcy
2d18dda3f2
8173605: Remove support for source and target 1.7 option in javac
...
Reviewed-by: vromero
2022-09-01 16:43:50 +00:00
Joe Darcy
cc2861a993
8290901: Reduce use of -source in langtools tests
...
Reviewed-by: jjg
2022-07-29 17:35:22 +00:00
Jan Lahoda
e9bddc18ab
8262889: Compiler implementation for Record Patterns
...
Co-authored-by: Brian Goetz <briangoetz@openjdk.org>
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: mcimadamore, vromero
2022-05-25 11:56:24 +00:00
Jan Lahoda
c0d51d42d9
8282080: Lambda deserialization fails for Object method references on interfaces
...
Reviewed-by: vromero, mcimadamore
2022-05-17 13:48:45 +00:00
Vicente Romero
9e3f68d8f4
8279290: symbol not found error, implicit lambdas and diamond constructor invocations
...
Reviewed-by: jlahoda
2022-01-18 15:50:22 +00:00
Liam Miller-Cushon
d7c283a081
8275233: Incorrect line number reported in exception stack trace thrown from a lambda expression
...
Reviewed-by: jlahoda
2021-12-07 18:44:39 +00:00
Sergey Bylokhov
29e552c03a
8272358: Some tests may fail when executed with other locales than the US
...
Reviewed-by: aivanov
2021-11-17 22:21:38 +00:00
Vicente Romero
75d987a0dd
8262095: NPE in Flow$FlowAnalyzer.visitApply: Cannot invoke getThrownTypes because tree.meth.type is null
...
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Reviewed-by: jlahoda
2021-08-31 15:40:17 +00:00
Vicente Romero
c962e6ec0b
8261006: 'super' qualified method references cannot occur in a static context
...
Reviewed-by: sadayapalam
2021-07-15 15:33:23 +00:00
Vicente Romero
7e96318a1f
8254571: Erroneous generic type inference in a lambda expression with a checked exception
...
Reviewed-by: jlahoda, mcimadamore
2021-06-23 17:13:09 +00:00
Vicente Romero
4f9d6b7d68
8267465: remove superfluous preview related annotations and test options
...
Reviewed-by: jlahoda
2021-06-07 13:57:15 +00:00
Joe Darcy
0ae4ceb413
8244146: javac changes for JEP 306
...
8266399: Core libs update for JEP 306
Reviewed-by: sadayapalam, bpb, naoto
2021-06-01 21:59:39 +00:00
Guoxiong Li
17ceef97c3
8266819: Separate the stop policies from the compile policies completely
...
Reviewed-by: mcimadamore
2021-05-13 10:22:13 +00:00
hltj
de3f519dc9
8258897: wrong translation of capturing local classes inside nested lambdas
...
Co-authored-by: Bernard Blaser <bsrbnd@openjdk.org>
Reviewed-by: jlahoda
2021-02-26 13:09:47 +00:00
Jesper Wilhelmsson
51e14f2e2a
Merge
2021-01-14 01:29:47 +00:00
Vicente Romero
ac4cd2e3c9
8231461: static/instance overload leads to 'unexpected static method found in unbound lookup' when resolving method reference
...
Reviewed-by: mcimadamore
2021-01-13 17:27:32 +00:00
Jesper Wilhelmsson
555641ede5
Merge
2021-01-07 21:17:35 +00:00
Vicente Romero
d529306722
8213032: program fails with LambdaConversionException at execution time
...
Reviewed-by: jlahoda
2021-01-05 21:35:47 +00:00
Guoxiong Li
8435f0daf2
8258525: Some existing tests should use /nodynamiccopyright/ instead of the standard header
...
Reviewed-by: jjg
2020-12-30 17:20:54 +00:00
Jan Lahoda
bd22aa5e86
8229862: NPE in jdk.compiler/com.sun.tools.javac.jvm.Code.emitop0(Code.java:570)
...
Co-authored-by: Bernard Blaser <bsrbnd@openjdk.org>
Reviewed-by: vromero
2020-12-09 16:49:50 +00:00
Dan Smith
48d8650ae1
8257845: Integrate JEP 390
...
8254047: [JEP 390] Revise "value-based class" & apply to wrappers
8252181: [JEP 390] Define & apply annotation jdk.internal.ValueBased
8252183: [JEP 390] Add 'lint' warning for @ValueBased classes
8257027: [JEP 390] Diagnose synchronization on @ValueBased classes
8252180: [JEP 390] Deprecate wrapper class constructors for removal
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Srikanth Adayapalam <sadayapalam@openjdk.org>
Co-authored-by: Lois Foltan <lfoltan@openjdk.org>
Reviewed-by: rriggs, hseigel, mchung, darcy
2020-12-08 23:04:01 +00:00
Aleksey Shipilev
05b824567c
8256290: javac/lambda/T8031967.java fails with StackOverflowError on x86_32
...
Reviewed-by: mcimadamore
2020-11-13 07:40:19 +00:00
Paul Sandoz
b29e1086ac
8253944: Certain method references to VarHandle methods should fail
...
Reviewed-by: mcimadamore
2020-10-05 17:15:31 +00:00
Gilles Duboscq
1b79326c05
8242451: ensure semantics of non-capturing lambdas are preserved independent of execution mode
...
Reviewed-by: mchung
2020-09-25 10:10:36 +00:00
Jan Lahoda
27a9a2f64a
8249261: AssertionError in StructuralStuckChecker
...
Reviewed-by: mcimadamore
2020-07-29 11:34:25 +02:00
Jan Lahoda
226e852831
8242214: NullPointerException in JDK 14 javac compiling a method reference
...
Ensuring a proper receiver is used to invoke protected method when method reference is unrolled into a lambda.
Reviewed-by: vromero
2020-06-19 14:26:09 +02:00
Jan Lahoda
a5e03e234b
8235564: javac crashes while compiling incorrect method invocation with member reference
...
Reviewed-by: vromero
2020-06-10 11:01:29 +02:00
Adam Sotona
022d7a19d3
8236108: tools/javac/lambda/LambdaParserTest.java timed out
...
The patch filters redundant or non-sense combinations of lambdas and it reduces the number of performed sub-tests.
Reviewed-by: vromero
2020-06-09 09:37:53 -04:00
Mandy Chung
7cc1371059
8238358: Implementation of JEP 371: Hidden Classes
...
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Adam Sotona
f2013ac247
8236997: tools/javac tests fail with --illegal-access=deny
...
Correctly exporting packages to tests.
Reviewed-by: jlahoda
2020-01-28 09:13:27 +01:00
Vicente Romero
827e5e3226
8225054: Compiler implementation for records
...
8225052: javax.lang.model support for records
8225053: Preview APIs support for records
8225055: Javadoc for records
8226314: com.sun.source support for records
8227113: Specification for java.lang.Record
8233526: JVM support for records
Implement records in the compiler and the JVM, including serialization, reflection and APIs support
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Joe Darcy <joe.darcy@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: mcimadamore, briangoetz, alanb, darcy, chegar, jrose, jlahoda, coleenp, dholmes, lfoltan, mchung, sadayapalam, hannesw, sspitsyn
2019-12-04 15:57:39 -05:00
Jan Lahoda
229e0d1631
8231826: Implement javac changes for pattern matching for instanceof
...
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Co-authored-by: Gavin Bierman <gavin.bierman@oracle.com>
Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Co-authored-by: Srikanth Adayapalam <srikanth.adayapalam@oracle.com>
Co-authored-by: Vicente Romero <vicente.romero@oracle.com>
Reviewed-by: mcimadamore
2019-11-27 09:00:01 +01:00
Srikanth Adayapalam
05ca3218d9
8234729: Javac should eagerly change code generation for method references to avert IllegalAccessError in future
...
Reviewed-by: mcimadamore
2019-11-26 11:13:53 +05:30
Jan Lahoda
29852ecd80
8232684: Make switch expressions final
...
Reviewed-by: alanb, mcimadamore, kvn
2019-11-12 06:32:13 +00:00
Vojin Jovanovic
29f2d74173
8232806: Introduce a system property to disable eager lambda initialization
...
Reviewed-by: briangoetz, mr, psandoz, forax
2019-10-28 15:03:36 +01:00
Jan Lahoda
b34b2d993c
8223305: Compiler support for Switch Expressions
...
Reviewed-by: mcimadamore, vromero
2019-06-10 05:09:52 +02:00
Vicente Romero
23278fea38
8215470: Bad EnclosingMethod attribute on classes declared in lambdas
...
Reviewed-by: mcimadamore
2019-05-14 11:28:44 -04:00
Maurizio Cimadamore
7b7f9a6fd3
8222289: Overhaul logic for reading/writing constant pool entries
...
Rewrite of Pool,ClassReader,ClassWriter to use shared pool helper components
Reviewed-by: vromero
2019-04-17 15:37:20 +01:00
Joe Darcy
bf2d27c5a4
8219254: Update explicit uses of latest source/target in langtools tests to a property
...
8219256: Update javac diags tests to use properties
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Reviewed-by: jjg, jlahoda, darcy, iignatyev
2019-02-21 10:29:16 -08:00
Harold Seigel
dd7e50dc01
8214719: Deprecate -Xverify:none option
...
Deprecate -Xverify:none and -noverify and remove them from tests
Reviewed-by: dholmes, mikael
2019-02-20 13:21:36 -05:00
Joe Darcy
b5f0eec3d8
8205626: Start of release updates for JDK 13
...
8205393: Add SourceVersion.RELEASE_13
8205394: Add source 13 and target 13 to javac
8205645: Bump maximum recognized class file version to 57 for JDK 13
8214825: Update preview language features for start of JDK 13
Reviewed-by: erikj, alanb, mchung, mcimadamore, dholmes, smarks, jjg
2018-12-13 19:06:11 +01:00
Vicente Romero
a4d8574130
8213703: LambdaConversionException: Invalid receiver type not a subtype of implementation type interface
...
Reviewed-by: mcimadamore
2018-12-05 09:34:01 -05:00
Liam Miller-Cushon
4a235517f9
8213908: AssertionError in DeferredAttr at setOverloadKind
...
Reviewed-by: mcimadamore
2018-11-19 09:57:41 -08:00
Jonathan Gibbons
73fa99ae86
8213263: fix legal headers in test/langtools
...
Reviewed-by: darcy
2018-11-01 14:32:55 -07:00
Vicente Romero
1ed6b88a99
8209407: VerifyError is thrown for inner class with lambda
...
Reviewed-by: mcimadamore
2018-10-08 06:52:41 -07:00
Vicente Romero
2589e9733e
8211148: var in implicit lambdas shouldn't be accepted for source < 11
...
Reviewed-by: mcimadamore
2018-10-04 08:37:08 -07:00
Jan Lahoda
17c3d1c333
8211102: Crash with -XDfind=lambda and -source 7
...
Disabling analyzers that cannot run in the given source level; lambdas in standalone positions should have erroneous type rather than the recovery type; avoiding crash in Flow for broken code.
Reviewed-by: mcimadamore
2018-09-27 10:24:12 +02:00
Liam Miller-Cushon
7afa8e42b6
8210483: AssertionError in DeferredAttr at setOverloadKind caused by JDK-8203679
...
Reviewed-by: mcimadamore, vromero
2018-09-10 16:59:41 -07:00