Commit Graph

1179 Commits

Author SHA1 Message Date
Jonathan Lampérth
1e3a0fdb5d 8035271: Incorrect indentation of LineNumberTable/LocalVariableTable/Exception table/LocalVariableTypeTable/StackMapTable/RuntimeVisibleTypeAnnotations in verbose mode
Reviewed-by: liach, jvernee
2024-11-27 17:31:39 +00:00
Vicente Romero
8389e24d38 8345058: Javac issues different error messages for the modifiers of the requires directive
Reviewed-by: mcimadamore
2024-11-26 20:53:12 +00:00
Aggelos Biboudis
3a4a9b7af7 8340145: Problem with generic pattern matching results in internal compiler error
Reviewed-by: jlahoda
2024-11-20 10:29:45 +00:00
Jan Lahoda
8bd080bcc9 8341901: Using 'var' keyword switch pattern matching causes compiler error
Reviewed-by: vromero, abimpoudis
2024-11-19 09:13:37 +00:00
Adam Sotona
ba39321902 8343881: java.lang.classfile.Attribute attributeName() method should return Utf8Entry
Reviewed-by: liach
2024-11-15 11:40:15 +00:00
Pavel Rappo
3eece6e941 8341907: javac -Xlint should ignore /// on first line of source file
Reviewed-by: jjg
2024-11-15 10:20:08 +00:00
Maurizio Cimadamore
5b9932f8f3 8338288: Compiler Implementation for Flexible Constructor Bodies (Third Preview)
8322882: Null pointer error when compiling Static initializer in a local class
8334248: Invalid error for early construction local class constructor method reference
8330037: Compiler produces invalid bytecode for method class creation from static method

Reviewed-by: jlahoda, vromero
2024-11-15 10:07:18 +00:00
Jan Lahoda
1e97c1c913 8335989: Implement JEP 494: Module Import Declarations (Second Preview)
Reviewed-by: vromero, abimpoudis, mcimadamore, alanb
2024-11-14 06:14:33 +00:00
Vicente Romero
cc2acd14b1 8343286: Missing unchecked cast warning in polymorphic method call
Reviewed-by: mcimadamore
2024-11-13 15:31:02 +00:00
Sean Mullan
db85090553 8338411: Implement JEP 486: Permanently Disable the Security Manager
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Co-authored-by: Aleksei Efimov <aefimov@openjdk.org>
Co-authored-by: Brian Burkhalter <bpb@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Harshitha Onkar <honkar@openjdk.org>
Co-authored-by: Joe Wang <joehw@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Justin Lu <jlu@openjdk.org>
Co-authored-by: Kevin Walls <kevinw@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Naoto Sato <naoto@openjdk.org>
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Brent Christian <bchristi@openjdk.org>
Co-authored-by: Stuart Marks <smarks@openjdk.org>
Co-authored-by: Ian Graves <igraves@openjdk.org>
Co-authored-by: Phil Race <prr@openjdk.org>
Co-authored-by: Erik Gahlin <egahlin@openjdk.org>
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: kevinw, aivanov, rriggs, lancea, coffeys, dfuchs, ihse, erikj, cjplummer, coleenp, naoto, mchung, prr, weijun, joehw, azvegint, psadhukhan, bchristi, sundar, attila
2024-11-12 17:16:15 +00:00
Severin Gehwolf
2ec358082f 8311302: Implement JEP 493: Linking Run-Time Images without JMODs
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: mchung, alanb, erikj, ihse
2024-11-11 13:35:25 +00:00
Vicente Romero
96eed7fa6c 8343306: javac is failing to determine if a class and a sealed interface are disjoint
Reviewed-by: jlahoda, mcimadamore
2024-11-08 12:27:31 +00:00
Nizar Benalla
4244682309 8339190: Parameter arrays that are capped during annotation processing report incorrect length
Reviewed-by: vromero
2024-11-07 10:30:12 +00:00
Aggelos Biboudis
6811a11e27 8341408: Implement JEP 488: Primitive Types in Patterns, instanceof, and switch (Second Preview)
Reviewed-by: vromero, jlahoda
2024-11-06 14:50:54 +00:00
KIRIYAMA Takuya
1b0281dc77 8333427: langtools/tools/javac/newlines/NewLineTest.java is failing on Japanese Windows
Reviewed-by: jjg
2024-11-06 05:38:46 +00:00
Liam Miller-Cushon
839de82c31 8332744: [REDO] 'internal proprietary API' diagnostics if --system is configured to an earlier JDK version
Reviewed-by: vromero
2024-11-05 17:06:04 +00:00
Aggelos Biboudis
895a7b64f0 8342967: Lambda deduplication fails with non-metafactory BSMs and mismatched local variables names
Reviewed-by: mcimadamore
2024-11-04 12:27:12 +00:00
Hannes Wallnöfer
809030bfb2 8321500: javadoc rejects '@' in multi-line attribute value
Reviewed-by: prappo
2024-11-04 12:05:08 +00:00
Archie Cobbs
00ec10574d 8343412: Missing escapes for single quote marks in javac.properties
Reviewed-by: vromero
2024-11-02 02:32:02 +00:00
Olexandr Rotan
b2694934b5 8338981: Access to private classes should be permitted inside the permits clause of the enclosing top-level class
Reviewed-by: vromero, mcimadamore
2024-10-31 15:25:42 +00:00
Jonathan Lampérth
ec0618742f 8034066: Incorrect alignment in the "Code" section for "-c -XDdetails" options
Reviewed-by: jvernee, liach
2024-10-28 09:42:03 +00:00
Joe Darcy
ff165f9f0c 8342934: TYPE_USE annotations printed with error causing "," in toString output
Reviewed-by: iris, vromero
2024-10-25 16:49:11 +00:00
Vicente Romero
d1540e2a49 8342090: Infer::IncorporationBinaryOp::equals can produce side-effects
8288590: javac failure: incompatible types: cannot infer type arguments due to Object.hashCode collision

Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore
2024-10-24 17:25:43 +00:00
Jan Lahoda
f0b130e54f 8339296: Record deconstruction pattern in switch fails to compile
Reviewed-by: vromero, mcimadamore
2024-10-24 06:45:16 +00:00
Jan Lahoda
7ff4ea8d01 8341966: Broken annotated module may lead to an exception in javac
Reviewed-by: asotona
2024-10-17 09:26:13 +00:00
t.ogata
e6698f51a1 8337851: Some tests have name which confuse jtreg
Reviewed-by: aivanov, prr, cstein
2024-10-15 07:47:42 +00:00
Jan Lahoda
6133866150 8341070: javac fails with an exception when compiling import module under source level 8
Reviewed-by: asotona
2024-10-11 10:07:34 +00:00
Archie Cobbs
38c1d65148 8337980: Javac allows invocation of an inherited instance method from a static method
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore, jlahoda
2024-10-09 16:03:55 +00:00
Joe Darcy
a3e23572d5 8341483: Clarify special case handling of Types.getArrayType
Reviewed-by: liach, prappo, dlsmith
2024-10-04 20:31:28 +00:00
Joe Darcy
73ebb848fd 8340721: Clarify special case handling of unboxedType and getWildcardType
Reviewed-by: prappo, mcimadamore
2024-09-27 23:34:04 +00:00
Liam Miller-Cushon
e36ce5f034 8336942: Improve test coverage for class loading elements with annotations of different retentions
Reviewed-by: vromero
2024-09-26 15:11:03 +00:00
Liam Miller-Cushon
083b980831 8340568: Incorrect escaping of single quotes when pretty-printing character literals
Reviewed-by: mcimadamore
2024-09-25 13:12:47 +00:00
Jonathan Gibbons
0b8c9f6d23 8338525: Leading and trailing code blocks by indentation
Reviewed-by: hannesw, prappo
2024-09-24 20:09:40 +00:00
Maurizio Cimadamore
8a4ea09fa2 8336492: Regression in lambda serialization
Reviewed-by: vromero
2024-09-13 12:04:31 +00:00
Jan Lahoda
5e822c24bb 8334870: javac does not accept classfiles with certain permitted RuntimeVisibleParameterAnnotations and RuntimeInvisibleParameterAnnotations attributes
Reviewed-by: vromero
2024-09-10 06:13:36 +00:00
Jan Lahoda
b8727181f3 8338301: Error recovery and reporting should be improved for erroneous implicitly declared classes
Reviewed-by: cstein, vromero
2024-08-30 08:11:49 +00:00
Jan Lahoda
ff59532ddd 8338678: Erroneous parameterized type represented as <any>
Reviewed-by: vromero
2024-08-29 06:28:05 +00:00
Jan Lahoda
0b4a7d5342 8324859: Improve error recovery
Reviewed-by: mcimadamore
2024-08-29 06:25:27 +00:00
Chen Liang
961e944fa7 8336754: Remodel TypeAnnotation to "has" instead of "be" an Annotation
Co-authored-by: Alex Buckley <abuckley@openjdk.org>
Reviewed-by: asotona
2024-08-16 15:48:54 +00:00
Jan Lahoda
fbe4f05636 8337976: Insufficient error recovery in parser for switch inside class body
Reviewed-by: vromero
2024-08-14 12:20:17 +00:00
Chen Liang
6af1d6ff21 8335927: Revisit AnnotationConstantValueEntry and AnnotationValue.OfConstant
Reviewed-by: asotona
2024-08-13 15:14:06 +00:00
Liam Miller-Cushon
9e282e5c96 8337998: CompletionFailure in getEnclosingType attaching type annotations
Reviewed-by: vromero
2024-08-13 15:05:49 +00:00
Liam Miller-Cushon
8d08314783 8337795: Type annotation attached to incorrect type during class reading
Reviewed-by: vromero
2024-08-12 17:15:39 +00:00
SendaoYan
04b146a31f 8337334: Test tools/javac/7142086/T7142086.java timeout with fastdebug binary
Reviewed-by: vromero
2024-08-12 15:43:40 +00:00
Vicente Romero
61d1dc5953 8334466: Ambiguous method call with generics may cause FunctionDescriptorLookupError
Reviewed-by: jlahoda
2024-08-12 13:52:57 +00:00
Jonathan Gibbons
7deee74525 8335122: Reorganize internal low-level support for HTML in jdk.javadoc
Reviewed-by: hannesw
2024-08-02 17:53:23 +00:00
Vicente Romero
34ee06f511 8332850: javac crashes if container for repeatable annotation is not found
Reviewed-by: darcy
2024-07-25 13:41:32 +00:00
Chen Liang
a2a236f904 8335939: Hide element writing across the ClassFile API
Reviewed-by: asotona
2024-07-23 12:11:47 +00:00
Liam Miller-Cushon
31a85f1744 8336491: Unnecessary boxing conversions in void-returning lambdas
Reviewed-by: mcimadamore
2024-07-22 17:25:42 +00:00
Aggelos Biboudis
c1fdc04ad7 8336781: Erroneous exhaustivity check with boolean switch
Reviewed-by: vromero
2024-07-22 10:29:34 +00:00