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
Jan Lahoda
68d32a9a8a
8217381: Incovenient errors reported when annotation processor generates source file and errors in the same round
...
When an annotation processor reports and error, defer reporting recoverable errors from the erroneous round to the last round, to avoid reporting errors that were resolved in the erroneous round.
Reviewed-by: jjg
2019-02-15 12:09:53 +01:00
Srinivas Dama
37169f4bbc
8201544: Improve javac command line parsing and error reporting
...
Modified exception into an error message for invalid filenames on windows
Reviewed-by: vromero, jjg
2019-02-14 21:52:39 +05:30
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
Priya Lakshmi Muthuswamy
9d967e70fc
8214468: jQuery UI upgrade from 1.11.4 to 1.12.1
...
Reviewed-by: hannesw
2018-12-12 13:01:29 +05:30
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
Hannes Wallnöfer
c0099a8a0d
8214571: -Xdoclint of array serialField gives "error: array type not allowed here"
...
Reviewed-by: jjg, sundar
2018-12-06 12:34:28 +01: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
Mandy Chung
b2604123d3
8214223: tools/jdeps/listdeps/ListModuleDeps.java failed due to missing Lib2 file
...
Reviewed-by: lancea, alanb
2018-11-22 10:15:32 -08:00
Hannes Wallnöfer
c047c5cfcf
8200432: javadoc fails with ClassCastException on {@link byte[]}
...
Reviewed-by: jjg, sundar
2018-11-22 15:38:20 +01:00
Mandy Chung
0126fdbef0
8213909: jdeps --print-module-deps should report missing dependences
...
8168869: jdeps: localized messages don't use proper line breaks
Reviewed-by: sundar
2018-11-21 22:34:01 -08:00
Mandy Chung
9d7509e647
8211051: jdeps usage of --dot-output doesn't provide valid output for modular jar
...
Reviewed-by: sundar
2018-11-21 22:33:33 -08: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