forked from pool/javaparser
Update to v3.28.0 #1
@@ -1,3 +1,254 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 28 02:48:13 UTC 2026 - Anton Shvetz <shvetz.anton@gmail.com>
|
||||
|
||||
- Upgrade to upstream version 3.28.0
|
||||
* Added
|
||||
+ [JEP 512] Add support for compact source files (PR #4940 by
|
||||
@johannescoetzee)
|
||||
+ [JEP 513] Add support for flexible constructor bodies (PR
|
||||
#4919 by @johannescoetzee)
|
||||
+ [JEP 511] Module Import Declarations (PR #4910 by
|
||||
@johannescoetzee)
|
||||
+ [JEP 467] Add support for MarkdownComments (PR #4899 by
|
||||
@johannescoetzee)
|
||||
+ Refactor comment hierarchy in preparation for
|
||||
MarkdownComments (PR #4885 by @johannescoetzee)
|
||||
+ Add support for match-all patterns (PR #4867 by
|
||||
@johannescoetzee)
|
||||
* Changed
|
||||
+ Improves issue 4188 resolution (PR #4934 by @jlerbsc)
|
||||
+ Add support for Java 23 and Java 24 (PR #4901 by @rpx99)
|
||||
+ Improved the code by removing code duplication from the
|
||||
method used to obtain methods declared in a
|
||||
class/interface/enumeration (PR #4883 by @jlerbsc)
|
||||
* Fixed
|
||||
+ Fix: issue 4890 Method call resolution fails for variadic
|
||||
reference-type parameters with primitive arguments (PR #4943
|
||||
by @jlerbsc)
|
||||
+ Fix: issue 4941 Type variables are not correctly mapped when
|
||||
inheriting between generic interfaces (PR #4942 by @jlerbsc)
|
||||
+ Fix: issue 4188 UnsolvedSymbolException resolving
|
||||
MethocCallExpr using MethodReferenceExpr (PR #4931 by
|
||||
@jlerbsc)
|
||||
+ Fix grammar ambiguities causing crashes when using assert and
|
||||
module as names (PR #4929 by @johannescoetzee)
|
||||
+ Fix: issue #3916 Method 'valueOf' cannot be resolved in
|
||||
context MyEnum.One.valueOf("") (PR #4916 by @jlerbsc)
|
||||
+ Adds the ability to use the word 'assert' prior to Java
|
||||
version 1.4 (PR #4915 by @jlerbsc)
|
||||
+ Fix: Simplify code and possibly improve the resolution of
|
||||
extended interfaces when using qualified names (PR #4882 by
|
||||
@jlerbsc)
|
||||
+ test: improve SourceRoot coverage and apply spotless
|
||||
formatting #4795 (PR #4881 by @Joyce-5)
|
||||
+ Fix #4864: Correct toString() output in
|
||||
ReflectionRecordDeclaration (PR #4879 by @ChenduanZhang)
|
||||
+ Include source file path in failed ParseResult when parsing
|
||||
via SourceRoot #4786 (PR #4874 by @JIN-RUI-LIU)
|
||||
+ Fixes unchecked warnings when calling Mockito.mock(Class) (PR
|
||||
#4413 by @matthieu-vergne)
|
||||
* Developer Changes
|
||||
+ fix(deps): update byte-buddy.version to v1.18.2 (PR #4906 by
|
||||
@renovate[bot])
|
||||
+ chore(deps): update actions/checkout action to v6 (PR #4900
|
||||
by @renovate[bot])
|
||||
+ chore(deps): update actions/checkout action to v5.0.1 (PR
|
||||
#4892 by @renovate[bot])
|
||||
+ fix(deps): update dependency net.bytebuddy:byte-buddy-agent
|
||||
to v1.18.1 (PR #4889 by @renovate[bot])
|
||||
+ fix(deps): update dependency
|
||||
org.checkerframework:checker-qual to v3.52.0 (PR #4886 by
|
||||
@renovate[bot])
|
||||
* Uncategorised
|
||||
+ Add UnaryExpr, BinaryExpr, and some record/enum tests to
|
||||
improve overall test coverage (PR #4930 by @johannescoetzee)
|
||||
- Upgrade to upstream version 3.27.1
|
||||
* Changed
|
||||
+ fix: switch expression improvement (PR #4823 by @seokjun7410)
|
||||
* Fixed
|
||||
+ Fix: Adjusts the range limits of lambda expression parameters
|
||||
to ignore brackets. (PR #4860 by @jlerbsc)
|
||||
+ Fix issue 4846 (PR #4855 by @PiTheGuy)
|
||||
+ Revert checkstyle plugin upgrade (PR #4836 by @jlerbsc)
|
||||
+ Fix: issue 4832 Resolving type of fully qualified varargs
|
||||
invocation throws IndexOutOfBoundsException (PR #4835 by
|
||||
@jlerbsc)
|
||||
+ Fix: Issue 4829 Infinite loop in DifferenceElementCalculator
|
||||
when calling setPermittedTypes (PR #4834 by @jlerbsc)
|
||||
+ XmlPrinter: fix duplicate attribute name in generated xml (PR
|
||||
#4806 by @sgqy)
|
||||
+ Use lambda parameter counts and block bodies for improved
|
||||
resolution (PR #4796 by @johannescoetzee)
|
||||
+ Fix issue #4791 (PR #4792 by @bannmann)
|
||||
* Developer Changes
|
||||
+ fix(deps): update dependency
|
||||
org.checkerframework:checker-qual to v3.51.1 (PR #4862 by
|
||||
@renovate[bot])
|
||||
+ chore(deps): update dependency
|
||||
org.apache.maven.plugins:maven-javadoc-plugin to v3.12.0 (PR
|
||||
#4843 by @renovate[bot])
|
||||
+ fix(deps): update dependency com.google.guava:guava to
|
||||
v33.5.0-jre (PR #4839 by @renovate[bot])
|
||||
+ chore(deps): update codecov/codecov-action action to v5.5.1
|
||||
(PR #4827 by @renovate[bot])
|
||||
+ fix(deps): update dependency
|
||||
org.checkerframework:checker-qual to v3.50.0 (PR #4825 by
|
||||
@renovate[bot])
|
||||
+ chore(deps): update actions/setup-java action to v5 (PR #4822
|
||||
by @renovate[bot])
|
||||
+ chore(deps): update actions/checkout action to v5 (PR #4811
|
||||
by @renovate[bot])
|
||||
+ chore(deps): update dependency
|
||||
com.puppycrawl.tools:checkstyle to v11 (PR #4808 by
|
||||
@renovate[bot])
|
||||
+ chore(deps): update dependency
|
||||
org.apache.maven.plugins:maven-surefire-plugin to v3.5.4 (PR
|
||||
#4701 by @renovate[bot])
|
||||
* Uncategorised
|
||||
+ Improves documentation on LexicalPreservingPrinter (PR #4820
|
||||
by @jlerbsc)
|
||||
+ Improves documentation on the raw langage level (PR #4819 by
|
||||
@jlerbsc)
|
||||
+ Fix javadoc of Name class (PR #4789 by @bannmann)
|
||||
+ Fix NormalAnnotationExpr Javadoc (PR #4784 by @bannmann)
|
||||
- Upgrade to upstream version 3.27.0
|
||||
* Developer Changes
|
||||
+ fix(deps): update dependency org.junit:junit-bom to v5.13.1
|
||||
(PR #4775 by @renovate[bot])
|
||||
+ chore(deps): update dependency maven to v3.9.10 (PR #4774 by
|
||||
@renovate[bot])
|
||||
+ fix(deps): update dependency
|
||||
org.checkerframework:checker-qual to v3.49.4 (PR #4770 by
|
||||
@renovate[bot])
|
||||
+ fix(deps): update dependency org.junit:junit-bom to v5.13.0
|
||||
(PR #4766 by @renovate[bot])
|
||||
+ chore(deps): update codecov/codecov-action action to v5.4.3
|
||||
(PR #4755 by @renovate[bot])
|
||||
+ fix(deps): update dependency
|
||||
org.checkerframework:checker-qual to v3.49.3 (PR #4745 by
|
||||
@renovate[bot])
|
||||
+ chore(deps): update codecov/codecov-action action to v5.4.2
|
||||
(PR #4731 by @renovate[bot])
|
||||
+ fix(deps): update dependency org.junit:junit-bom to v5.12.2
|
||||
(PR #4728 by @renovate[bot])
|
||||
+ fix(deps): update dependency com.google.guava:guava to
|
||||
v33.4.7-jre (PR #4719 by @renovate[bot])
|
||||
* Uncategorised
|
||||
+ Fix resolution for method refs used as varargs (PR #4759 by
|
||||
@johannescoetzee)
|
||||
+ Fix IndexOutOfBoundsException resulting from empty varargs
|
||||
call as method usage (PR #4754 by @johannescoetzee)
|
||||
+ Fix resolution of lambdas used as varargs (PR #4752 by
|
||||
@johannescoetzee)
|
||||
+ Fix: issue 4747 Lexical preserving fails after replacing
|
||||
MarkerAnnotationExpr name (PR #4748 by @jlerbsc)
|
||||
+ Fix: issue 4503 Unable to find the method declaration
|
||||
corresponding to a method reference (PR #4739 by @jlerbsc)
|
||||
+ Fix issue 4724 Duplicate fields returned by
|
||||
JavaParserEnumDeclaration.getAllFields() (PR #4735 by
|
||||
@jlerbsc)
|
||||
+ Make some helper methods protected in
|
||||
DefaultPrettyPrinterVisitor (PR #4729 by @johanneskloos)
|
||||
+ Fix constructor resolution issue 4703 (PR #4727 by
|
||||
@johannescoetzee)
|
||||
+ Fix MethodAmbiguityException for methods with varargs (PR
|
||||
#4725 by @johannescoetzee)
|
||||
+ Fix range for cast expression with lambda child (PR #4721 by
|
||||
@johannescoetzee)
|
||||
+ Add Javadoc to the various parts of the
|
||||
DefaultPrettyPrinterVisitor (PR #4718 by @johanneskloos)
|
||||
+ Make JarTypeSolver and ReflectionTypeSolver a bit more
|
||||
versatile. (PR #4716 by @johanneskloos)
|
||||
+ Fix formatting issues (PR #4715 by @jlerbsc)
|
||||
+ Fix Switch toString to LexicalPreservingPrinter when
|
||||
configured (PR #4712 by @jlerbsc)
|
||||
+ Fix: issue 4697 Updating the com.google.guava:guava
|
||||
dependency to v334.5-jre fails. (PR #4711 by @jlerbsc)
|
||||
+ Implement MethodResolutionCapability in
|
||||
JavassistRecordDeclaration (PR #4709 by @johanneskloos)
|
||||
+ Fix: issue 4707 Upgrading from junit 5.11.4 -> 5.12.1 causes
|
||||
junit exception (PR #4708 by @jlerbsc)
|
||||
+ Fix for #3710 by cutting off resolution loops involving
|
||||
object creation steps. (PR #4704 by @johanneskloos)
|
||||
+ [SECURITY] Fix Zip Slip Vulnerability (PR #3684 by
|
||||
@JLLeitschuh)
|
||||
- Upgrade to upstream version 3.26.4
|
||||
* Developer Changes
|
||||
+ fix(deps): update byte-buddy.version to v1.17.5 (PR #4702 by
|
||||
@renovate[bot])
|
||||
+ chore(deps): update dependency
|
||||
com.puppycrawl.tools:checkstyle to v10.22.0 (PR #4700 by
|
||||
@renovate[bot])
|
||||
+ chore(deps): update dependency
|
||||
org.apache.maven.plugins:maven-install-plugin to v3.1.4 (PR
|
||||
#4689 by @renovate[bot])
|
||||
+ chore(deps): update codecov/codecov-action action to v5.4.0
|
||||
(PR #4688 by @renovate[bot])
|
||||
+ chore(deps): update dependency
|
||||
org.apache.maven.plugins:maven-deploy-plugin to v3.1.4 (PR
|
||||
#4687 by @renovate[bot])
|
||||
+ chore(deps): update dependency
|
||||
com.diffplug.spotless:spotless-maven-plugin to v2.44.3 (PR
|
||||
#4682 by @renovate[bot])
|
||||
+ chore(deps): update dependency
|
||||
org.apache.maven.plugins:maven-clean-plugin to v3.4.1 (PR
|
||||
#4681 by @renovate[bot])
|
||||
+ chore(deps): update dependency org.assertj:assertj-core to
|
||||
v3.27.2 (PR #4644 by @renovate[bot])
|
||||
+ fix(deps): update dependency com.google.guava:guava to
|
||||
v33.4.0-jre (PR #4637 by @renovate[bot])
|
||||
* Uncategorised
|
||||
+ Fix: issue 4554 Import added through
|
||||
CompilationUnit.addImport should not have a range (PR #4693
|
||||
by @jlerbsc)
|
||||
+ Improving documentation on SwithEntry (PR #4685 by @jlerbsc)
|
||||
+ Fix issue 4670 LexicalPreservingPrinter removed incorect
|
||||
token when removing modifier of a Parameter with annotations
|
||||
(PR #4674 by @jlerbsc)
|
||||
+ Fix: issue 4668 Issue with FieldAccessExpr resolving for
|
||||
custom class (PR #4671 by @jlerbsc)
|
||||
+ #4664 remove misleading javadoc (PR #4666 by @verhasi)
|
||||
+ #4653 use report-aggregate of jacoco instead of report to use
|
||||
the dep… (PR #4658 by @verhasi)
|
||||
- Upgrade to upstream version 3.26.3
|
||||
* Changed
|
||||
+ Fixes #4599 making B.class for testing non-empty (PR #4600 by
|
||||
@JiriOndrusek)
|
||||
* Fixed
|
||||
+ Fix: issue 3990 Local Enum and Interface (Java 16) (PR #4626
|
||||
by @jlerbsc)
|
||||
+ Fix bug in VisitorSet.toString() (PR #4615 by @Laughh)
|
||||
+ Fix issue #4607: don't forget to clone guard when cloning
|
||||
stmt.SwitchEntry (PR #4608 by @DaniilSuchkov)
|
||||
+ Fixed return within void method (PR #4587 by @Universe-E)
|
||||
+ Fix: issue 4579 Switch expr and var incompatibility (PR #4581
|
||||
by @jlerbsc)
|
||||
+ Fix: issue 4568 Resolution of ObjectCreationExprs broken (PR
|
||||
#4577 by @jlerbsc)
|
||||
+ Fix issue 4560 Does not solve String.format on multiline
|
||||
strings (PR #4561 by @jlerbsc)
|
||||
* Developer Changes
|
||||
+ fix(deps): update byte-buddy.version to v1.15.11 (PR #4635 by
|
||||
@renovate[bot])
|
||||
+ chore(deps): update codecov/codecov-action action to v5.1.0
|
||||
(PR #4629 by @renovate[bot])
|
||||
+ chore(deps): update dependency
|
||||
org.apache.maven.plugins:maven-javadoc-plugin to v3.11.1 (PR
|
||||
#4605 by @renovate[bot])
|
||||
+ chore(deps): update dependency
|
||||
org.apache.maven.plugins:maven-surefire-plugin to v3.5.2 (PR
|
||||
#4604 by @renovate[bot])
|
||||
+ chore(deps): update actions/checkout action to v4.2.2 (PR
|
||||
#4594 by @renovate[bot])
|
||||
+ chore(deps): update junit5 monorepo to v5.11.3 (PR #4589 by
|
||||
@renovate[bot])
|
||||
+ fix(deps): update dependency net.bytebuddy:byte-buddy-agent
|
||||
to v1.15.5 (PR #4586 by @renovate[bot])
|
||||
+ fix(deps): update dependency com.google.guava:guava to
|
||||
v33.3.1-jre (PR #4558 by @renovate[bot])
|
||||
+ chore(deps): update dependency org.hamcrest:hamcrest to v3
|
||||
(PR #4510 by @renovate[bot])
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 1 12:55:27 UTC 2025 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
||||
+6
-3
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package javaparser
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2026 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: javaparser
|
||||
Version: 3.26.2
|
||||
Version: 3.28.0
|
||||
Release: 0
|
||||
Summary: Java Parser and Abstract Syntax Tree for Java
|
||||
License: Apache-2.0 OR LGPL-3.0-or-later
|
||||
@@ -34,6 +34,8 @@ BuildRequires: mvn(org.checkerframework:checker-qual)
|
||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||
BuildRequires: mvn(org.codehaus.mojo:javacc-maven-plugin)
|
||||
BuildRequires: mvn(org.javassist:javassist)
|
||||
BuildRequires: mvn(org.junit:junit-bom:pom:)
|
||||
BuildRequires: mvn(org.junit.jupiter:junit-jupiter-engine)
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@@ -47,13 +49,14 @@ Summary: Javadoc for %{name}
|
||||
This package contains API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{name}-parent-%{version}
|
||||
%autosetup -n %{name}-%{name}-parent-%{version}
|
||||
|
||||
sed -i 's/\r//' readme.md
|
||||
|
||||
# Remove plugins unnecessary for RPM builds
|
||||
%pom_remove_plugin -r :jacoco-maven-plugin
|
||||
%pom_remove_plugin :maven-source-plugin
|
||||
%pom_remove_plugin org.sonatype.central:central-publishing-maven-plugin
|
||||
|
||||
%pom_add_dep org.checkerframework:checker-qual::provided javaparser-symbol-solver-core
|
||||
%pom_add_dep com.google.code.findbugs:jsr305::provided javaparser-symbol-solver-core
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6a5291f3040c36ede7f3f89c7a563670ca1914ab2006e28f158c07ac54fa64e5
|
||||
size 18492822
|
||||
Binary file not shown.
Reference in New Issue
Block a user