Skip to content

Fix: issue 3990 Local Enum and Interface (Java 16)#4626

Merged
jlerbsc merged 2 commits into
javaparser:masterfrom
jlerbsc:master
Nov 30, 2024
Merged

Fix: issue 3990 Local Enum and Interface (Java 16)#4626
jlerbsc merged 2 commits into
javaparser:masterfrom
jlerbsc:master

Conversation

@jlerbsc

@jlerbsc jlerbsc commented Nov 30, 2024

Copy link
Copy Markdown
Collaborator

Fixes #3990.

Partially fixes the issue by allowing parsing of local interfaces from JDK 16 onwards. We still need to enable local enumerations and change the name of the LocalClassDeclarationStmt class.

@codecov

codecov Bot commented Nov 30, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.120%. Comparing base (91cbbcb) to head (073be68).
Report is 9 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##            master     #4626       +/-   ##
=============================================
+ Coverage   58.119%   58.120%   +0.001%     
=============================================
  Files          508       508               
  Lines        29775     29776        +1     
  Branches      5251      5251               
=============================================
+ Hits         17305     17306        +1     
  Misses       10332     10332               
  Partials      2138      2138               
Flag Coverage Δ
AlsoSlowTests 58.120% <100.000%> (+0.001%) ⬆️
javaparser-core 58.120% <100.000%> (+0.001%) ⬆️
javaparser-symbol-solver 58.120% <100.000%> (+0.001%) ⬆️
jdk-10 58.073% <100.000%> (+0.001%) ⬆️
jdk-11 58.087% <100.000%> (+0.001%) ⬆️
jdk-12 58.073% <100.000%> (+0.001%) ⬆️
jdk-13 58.087% <100.000%> (+0.001%) ⬆️
jdk-14 58.073% <100.000%> (+0.001%) ⬆️
jdk-15 58.087% <100.000%> (+0.001%) ⬆️
jdk-16 58.087% <100.000%> (+0.001%) ⬆️
jdk-17 58.087% <100.000%> (+0.014%) ⬆️
jdk-18 58.087% <100.000%> (+0.001%) ⬆️
jdk-8 58.089% <100.000%> (+0.001%) ⬆️
jdk-9 58.073% <100.000%> (+0.001%) ⬆️
macos-latest 58.110% <100.000%> (+0.001%) ⬆️
ubuntu-latest 58.097% <100.000%> (+0.001%) ⬆️
windows-latest 58.097% <100.000%> (+0.001%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...or/language_level_validations/Java16Validator.java 100.000% <100.000%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ea9443c...073be68. Read the comment docs.

@jlerbsc jlerbsc merged commit 4192673 into javaparser:master Nov 30, 2024
@jlerbsc jlerbsc added this to the next release milestone Nov 30, 2024
@jlerbsc jlerbsc added the PR: Fixed A PR that offers a fix or correction label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Fixed A PR that offers a fix or correction

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Local Enum and Interface (Java 16)

1 participant