Bernard Blaser
777ad9080e
8193367: Annotated type variable bounds crash javac
...
Reviewed-by: mcimadamore, vromero
2019-01-26 15:50:59 +01:00
Jonathan Gibbons
6326bf224e
8217395: Update langtools shell tests to use ${EXE_SUFFIX}
...
Reviewed-by: darcy
2019-01-18 12:41:11 -08:00
Bernard Blaser
454cbfacaa
8214345: infinite recursion while checking super class
...
Reviewed-by: vromero
2019-01-18 13:49:45 -05:00
Vicente Romero
ae0cb515d6
8215482: check for cycles in type variables can provoke NPE
...
Reviewed-by: mcimadamore
2019-01-14 12:24:25 -05:00
Joe Darcy
5ad47c58a3
8208371: Provided supported mechanims to create a ModuleElement for an unnamed module
...
Reviewed-by: jjg
2019-01-11 09:57:15 -08:00
Joe Darcy
f68fd6a1c2
8216404: Elements.getPackageOf should handle modules
...
Reviewed-by: jlahoda
2019-01-10 10:34:30 -08:00
Jesper Wilhelmsson
67a5fc2529
Merge
2019-01-09 22:59:49 +01:00
Jim Laskey
11b29c8de1
8215681: Remove compiler support for Raw String Literals from JDK 12
...
Reviewed-by: mcimadamore, jlahoda, sundar
2019-01-09 11:13:00 -04:00
Srinivas Dama
ead8577920
8208184: IllegalArgumentException while invoking code completion on netbeans IDE
...
Set Log.useSource and fix the issue in Modules.java when broken module is encountered
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: jjg
2018-12-24 12:18:40 +05:30
Vicente Romero
f398c3dcd2
8215625: javax/sql/testng/util/xxxxx.java tests compilation failed after JDK-8207224
...
Reviewed-by: mcimadamore
2018-12-19 14:02:19 -05:00
Vicente Romero
8b6b63b38b
8207224: Javac compiles source code despite illegal use of unchecked conversions
...
Reviewed-by: mcimadamore, darcy
2018-12-18 16:22:46 -05:00
Alan Bateman
888057a89f
8215449: Several tests failing when jtreg run with -vmoption:--illegal-access=deny
...
Reviewed-by: redestad, mchung, jjg
2018-12-18 10:26:15 +00: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
Srinivas Dama
2f34c5ac6a
8208184: IllegalArgumentException while invoking code completion on netbeans IDE
...
Set Log.useSource and fix the issue in Modules.java when broken module is encountered
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Reviewed-by: jjg
2019-01-03 11:21:11 +05:30
Jan Lahoda
655c5d7f35
8214114: Switch expressions with try-catch statements
...
When switch expression contains try-catch, move the stack values into locals before the executing the switch expression, and back when it is done.
Reviewed-by: mcimadamore, vromero
2018-12-11 09:10:24 +01:00
Harold Seigel
5a23b59ca0
8215015: [TESTBUG] remove unneeded -Xfuture option from tests
...
Remove the option from the tests
Reviewed-by: lfoltan, coleenp
2018-12-10 13:24:17 -05:00
Vicente Romero
9846588b31
8210031: implementation for JVM Constants API
...
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: jrose, mcimadamore, darcy, mchung, rriggs, dholmes, forax
2018-12-09 12:36:24 -05:00
Liam Miller-Cushon
7f365fffbd
8214902: Pretty-printing marker annotations add unnecessary parenthesis
...
Reviewed-by: jjg
2018-12-05 11:31:20 -08: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
Jan Lahoda
504dfa5de0
8214529: Exception while using Anonymous class in switch expression
...
Clearing breakResult when creating methodEnv.
Reviewed-by: mcimadamore
2018-12-03 14:25:00 +01:00
Jan Lahoda
835c863ba8
8214031: Assertion error in value break statement with conditional operator in switch expression
...
Correcting handling of boolean-valued switch expressions when true/false; generating them directly rather than desugaring in Lower.
Reviewed-by: mcimadamore
2018-12-03 10:37:36 +01:00
Srikanth Adayapalam
10d83827bc
8206325: AssertionError in TypeSymbol.getAnnotationTypeMetadata
...
Reviewed-by: mcimadamore
2018-11-30 10:37:48 +05:30
Liam Miller-Cushon
bddbbd85f9
8214026: Canonicalized archive paths appearing in diagnostics
...
Reviewed-by: vromero
2018-11-19 15:01:59 -08:00
Vicente Romero
10da56f017
8203277: preflow visitor used during lambda attribution shouldn't visit class definitions inside the lambda body
...
Reviewed-by: mcimadamore
2018-11-27 11:07:44 -05:00
Jan Lahoda
06b1502892
8214113: Switch expressions may have constant type and may be skipped during write
...
Switch expressions should not be compile-time constants.
Reviewed-by: mcimadamore
2018-11-26 09:24:08 +01:00
Jan Lahoda
60b32f222f
8212982: Rule cases in switch expression accepted even if complete normally
...
Ensure an error is reported if switch expression does not correctly produce a value.
Reviewed-by: mcimadamore
2018-11-21 15:22:57 +01:00
Liam Miller-Cushon
4a235517f9
8213908: AssertionError in DeferredAttr at setOverloadKind
...
Reviewed-by: mcimadamore
2018-11-19 09:57:41 -08:00
Srinivas Dama
e4f60a8489
8210742: compound var declaration type is not uniform for all variables
...
Make implicit type for all variables in compound declaration as null for which type inference happens at later phase
Reviewed-by: mcimadamore
2018-11-20 21:59:07 +05:30
Liam Miller-Cushon
4cdf0c4c1d
8214071: Broken msg.bug diagnostics when using the compiler API
...
Reviewed-by: jjg
2018-11-19 10:47:38 -08:00
Jan Lahoda
c963d543d2
8209055: c.s.t.javac.code.DeferredCompletionFailureHandler seems to use WeakHashMap incorrectly
...
Do not keep speculative Symbols in DeferredCompletionFailureHandler.
Reviewed-by: jjg, vromero
2018-11-12 09:35:23 +00:00
Priya Lakshmi Muthuswamy
50dc5ef396
5076751: System properties documentation needed in javadocs
...
Reviewed-by: jjg
2018-11-12 13:31:41 +05:30
Vicente Romero
0ec4944be7
8211450: UndetVar::dup is not copying the kind field to the duplicated instance
...
Reviewed-by: mcimadamore
2018-11-08 18:23:52 -05:00
Vicente Romero
7d4e8d0e26
8210197: javac can't tell during speculative attribution if a diamond expression is creating an anonymous inner class or not
...
Reviewed-by: mcimadamore
2018-11-08 10:36:06 -05:00
Jan Lahoda
fdb010502b
8213103: RoundEnvironment.getElementsAnnotatedWith(Class) crashes with -source 8
...
Correct handling of missing annotation with -source 8.
Reviewed-by: darcy, jjg, vromero
2018-11-05 10:31:47 +01:00
Jonathan Gibbons
72bfdd96f1
8213265: fix missing newlines at end of files
...
Reviewed-by: darcy
2018-11-01 15:11:08 -07:00
Jonathan Gibbons
73fa99ae86
8213263: fix legal headers in test/langtools
...
Reviewed-by: darcy
2018-11-01 14:32:55 -07:00
Vicente Romero
d0696b538a
8213100: fix test OptionSmokeTest before removing it from the problem list
...
Reviewed-by: jlahoda
2018-10-29 17:09:44 -04:00
Liam Miller-Cushon
d9095c4a72
8198945: Invalid RuntimeVisibleTypeAnnotations for annotation on anonymous class type parameter
...
Reviewed-by: wmdietl, abuckley, martin
2018-09-17 11:09:43 -07:00
Joe Darcy
34397c4914
8212718: Refactor some annotation processor tests to better use collections
...
Reviewed-by: jlaskey, vromero
2018-10-23 10:32:39 -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
609d90e98a
8210789: langtools/tools/javac/T8152616.java missing @modules
...
Reviewed-by: jjg
2018-10-04 10:19:01 -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
Jim Laskey
c30dffb388
8211080: RawStringLiteralLangAPI.java test times out by default
...
Reviewed-by: jjg
2018-09-27 15:47:33 -03: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
Jonathan Gibbons
db6295f8a2
8209963: source file mode for JVM should provide a hook to locate the source file
...
Reviewed-by: darcy
2018-09-26 16:23:31 -07:00
Jonathan Gibbons
065fdac559
8210555: create --source --target synonyms for -source -target
...
Reviewed-by: hannesw
2018-09-26 15:14:17 -07:00
Jonathan Gibbons
25ca76b4f9
8211180: SourceLauncherTest.java fails in JDK12 CI on Win*
...
Reviewed-by: mchung, darcy
2018-09-26 14:54:38 -07:00
Jonathan Gibbons
cad60d14a6
8210274: Source Launcher should work with a security manager
...
Reviewed-by: mchung, alanb
2018-09-26 11:41:08 -07:00
Liam Miller-Cushon
9c60728a28
8211138: Missing Flag enum constants
...
Reviewed-by: mcimadamore, vromero
2018-09-25 21:33:51 -07:00
Jonathan Gibbons
59fd35292e
8210839: Improve interaction between source launcher and classpath
...
Reviewed-by: alanb, mchung
2018-09-25 10:30:32 -07:00