4 Commits

Author SHA256 Message Date
a983093f22 Accepting request 1273843 from Java:packages
Explicitely declare jsr305 in build requires

OBS-URL: https://build.opensuse.org/request/show/1273843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/javaparser?expand=0&rev=17
2025-05-02 12:58:34 +00:00
e77d7557f6 OBS-URL: https://build.opensuse.org/package/show/Java:packages/javaparser?expand=0&rev=42 2025-05-01 12:56:39 +00:00
8c1fd15617 Accepting request 1206187 from Java:packages
3.26.2

OBS-URL: https://build.opensuse.org/request/show/1206187
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/javaparser?expand=0&rev=16
2024-10-08 15:24:21 +00:00
bfe3c4fa8e Accepting request 1206164 from home:urbic:branches:Java:packages
- Upgrade to upstream version 3.26.2
  * Changed
    + Move formatting workflows into separate file (PR #4480 by
      @johannescoetzee)
    + Exclude unavailable macos <-> java version combinations from
      github tests (PR #4479 by @johannescoetzee)
  * Fixed
    + Fixes #4526. Fix Node.PostOrderIterator for roots without
      children (PR #4538 by @ktul)
    + Add missing copyright notice to RecordPatternExpr.java (PR
      #4527 by @johannescoetzee)
    + Add missing type erasure in ClassOrInterfaceType.toDescriptor
      (PR #4522 by @johanneskloos)
    + Allow primitive types for patterns (PR #4506 by
      @johannescoetzee)
    + Fix project formatting (PR #4499 by @johannescoetzee)
    + Fix: issue 4492 resolve LambdaExpr has NullPointException (PR
      #4497 by @jlerbsc)
    + Fix: issue 2738 UnsolvedSymbolException while trying to
      ResolvedMethodDeclaration from MethodCallExpr (PR #4482 by
      @jlerbsc)
  * Developer Changes
    + fix(deps): update byte-buddy.version to v1.15.1 (PR #4547 by
      @renovate[bot])
    + fix(deps): update byte-buddy.version to v1.15.0 (PR #4543 by
      @renovate[bot])
    + fix(deps): update dependency com.google.guava:guava to
      v33.3.0-jre (PR #4532 by @renovate[bot])
    + fix(deps): update dependency net.bytebuddy:byte-buddy-agent
      to v1.14.19 (PR #4531 by @renovate[bot])
    + chore(deps): update junit5 monorepo to v5.11.0 (PR #4528 by
      @renovate[bot])
    + fix(deps): update byte-buddy.version to v1.14.18 (PR #4493 by
      @renovate[bot])
    + chore(deps): update actions/checkout action to v4.1.7 (PR
      #4486 by @renovate[bot])
    + chore(deps): update actions/checkout action to v4.0.0 (PR
      #4485 by @renovate[bot])
    + chore(deps): update junit5 monorepo to v5.10.3 (PR #4483 by
      @renovate[bot])
  * Uncategorised
    + Add better instructions for re-formatting the project (PR
      #4540 by @johannescoetzee)
- Upgrade to upstream version 3.26.1
  * Added
    + Fix record declarations nested in annotation declarations (PR
      #4460 by @johannescoetzee)
  * Changed
    + Format code with spotless (PR #4465 by @johannescoetzee)
    + Simplifying the search for types in compilation unit (PR
      #4459 by @jlerbsc)
    + Add spotless plugin configuration (PR #4409 by
      @johannescoetzee)
  * Fixed
    + Disable spotless ratcheting and fix formatting (PR #4478 by
      @johannescoetzee)
    + Fix: issue 4450 Endless recursion (-> StackOverflow) with
      cyclic static references (PR #4477 by @jlerbsc)
    + Fix: issue 4399 MethodCallExpr inside lambda in assignment
      expression cannot be resolved (PR #4462 by @jlerbsc)
    + Fix crash on SwitchExpr entries if tokens are not stored (PR
      #4461 by @johannescoetzee)
    + Fix lookahead for pattern expression in switch entries [Issue
      4455] (PR #4458 by @johannescoetzee)
  * Developer Changes
    + Automatically format code after codegen and validate with a
      github action (PR #4468 by @johannescoetzee)
    + Add git-blame-ignore-revs file to ignore the reformatting
      commit in git blame (PR #4466 by @johannescoetzee)
  * Uncategorised
    + Add link to the guide to adding nodes in CONTRIBUTING.md (PR
      #4453 by @johannescoetzee)
- Upgrade to upstream version 3.26.0
  * Added
    + [JEP 440] Add support for record patterns (PR #4432 by
      @johannescoetzee)
    + PatternExpr -> TypePatternExpr refactor in preparation for
      record pattern implementation (PR #4387 by @johannescoetzee)
    + [JEP441] Add support for switch pattern matching (PR #4375 by
      @johannescoetzee)
    + Add support for case null, default in switch and fix concrete
      syntax model for new switch syntax (PR #4364 by
      @johannescoetzee)
  * Changed
    + Fixes SYSTEM_EOL warnings (PR #4412 by @matthieu-vergne)
    + Refact: Adds a find node by range method in Node class (PR
      #4377 by @jlerbsc)
  * Fixed
    + Fix: issue 3277 StackOverflow issue while parse
      MethodCallExpr/FieldAccessExpr, their ancestor/child node is
      ObjectCreation expression which contain .new (PR #4447 by
      @jlerbsc)
    + Fix expressions in the body of switch expression entries
      (Issue 4440) (PR #4446 by @johannescoetzee)
    + Fix: issue 4442 LexicalPreservingPrinter does not support
      unexpected token (PR #4444 by @jlerbsc)
    + Fix: issue 3100 JavaSymbolSolver unable to resolve an inner
      class defined in a base class (PR #4441 by @jlerbsc)
    + Fix: 4330 Method 'forEach' cannot be resolved in certain
      context (PR #4436 by @jlerbsc)
    + Fix: 'permits' and 'sealed' Contextual keyworlds usage (PR
      #4434 by @jlerbsc)
    + Fixes an error in jbehave tests when they are run in a
      Windows os (PR #4433 by @jlerbsc)
    + Make resolution of implements and extends types start with
      the parent… (PR #4430 by @eldapiiro)
    + Fix: solveMethodAsUsage() for implicit method ::values() (PR
      #4424 by @Kimmmey)
    + Fix: ::values() is a static method, was not static (PR #4417
      by @Kimmmey)
    + Fix missed generated code from PatternExpr refactor (PR #4414
      by @johannescoetzee)
    + Fixes #4410 (PR #4411 by @matthieu-vergne)
    + Fix issue 2368 Unable to calculate the type of a varargs
      parameter (PR #4402 by @jlerbsc)
    + Fix: Fixes the version currently supported by Javaparser. (PR
      #4393 by @jlerbsc)
    + ?? make mvnw command runnable by copy-pasting (PR #4382 by
      @cravingPixels)
  * Developer Changes
    + chore(deps): bump actions/checkout from 4.1.4 to 4.1.5 (PR
      #4415 by @dependabot[bot])
    + Minor refactoring on Concrete syntax model (PR #4405 by
      @jlerbsc)
    + chore(deps): bump actions/checkout from 4.1.2 to 4.1.3 (PR
      #4381 by @dependabot[bot])
  * Uncategorised
    + Improve unit test on generic (PR #4407 by @jlerbsc)

OBS-URL: https://build.opensuse.org/request/show/1206164
OBS-URL: https://build.opensuse.org/package/show/Java:packages/javaparser?expand=0&rev=40
2024-10-07 20:44:18 +00:00
4 changed files with 145 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:20e1c95f9fcd4037612ca1b4cf3026e1b75bc24160b7b9089657153616e2784f
size 18435318

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6a5291f3040c36ede7f3f89c7a563670ca1914ab2006e28f158c07ac54fa64e5
size 18492822

View File

@@ -1,3 +1,140 @@
-------------------------------------------------------------------
Thu May 1 12:55:27 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Explicitely declare jsr305 in build requires
-------------------------------------------------------------------
Mon Oct 7 18:56:00 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Upgrade to upstream version 3.26.2
* Changed
+ Move formatting workflows into separate file (PR #4480 by
@johannescoetzee)
+ Exclude unavailable macos <-> java version combinations from
github tests (PR #4479 by @johannescoetzee)
* Fixed
+ Fixes #4526. Fix Node.PostOrderIterator for roots without
children (PR #4538 by @ktul)
+ Add missing copyright notice to RecordPatternExpr.java (PR
#4527 by @johannescoetzee)
+ Add missing type erasure in ClassOrInterfaceType.toDescriptor
(PR #4522 by @johanneskloos)
+ Allow primitive types for patterns (PR #4506 by
@johannescoetzee)
+ Fix project formatting (PR #4499 by @johannescoetzee)
+ Fix: issue 4492 resolve LambdaExpr has NullPointException (PR
#4497 by @jlerbsc)
+ Fix: issue 2738 UnsolvedSymbolException while trying to
ResolvedMethodDeclaration from MethodCallExpr (PR #4482 by
@jlerbsc)
* Developer Changes
+ fix(deps): update byte-buddy.version to v1.15.1 (PR #4547 by
@renovate[bot])
+ fix(deps): update byte-buddy.version to v1.15.0 (PR #4543 by
@renovate[bot])
+ fix(deps): update dependency com.google.guava:guava to
v33.3.0-jre (PR #4532 by @renovate[bot])
+ fix(deps): update dependency net.bytebuddy:byte-buddy-agent
to v1.14.19 (PR #4531 by @renovate[bot])
+ chore(deps): update junit5 monorepo to v5.11.0 (PR #4528 by
@renovate[bot])
+ fix(deps): update byte-buddy.version to v1.14.18 (PR #4493 by
@renovate[bot])
+ chore(deps): update actions/checkout action to v4.1.7 (PR
#4486 by @renovate[bot])
+ chore(deps): update actions/checkout action to v4.0.0 (PR
#4485 by @renovate[bot])
+ chore(deps): update junit5 monorepo to v5.10.3 (PR #4483 by
@renovate[bot])
* Uncategorised
+ Add better instructions for re-formatting the project (PR
#4540 by @johannescoetzee)
- Upgrade to upstream version 3.26.1
* Added
+ Fix record declarations nested in annotation declarations (PR
#4460 by @johannescoetzee)
* Changed
+ Format code with spotless (PR #4465 by @johannescoetzee)
+ Simplifying the search for types in compilation unit (PR
#4459 by @jlerbsc)
+ Add spotless plugin configuration (PR #4409 by
@johannescoetzee)
* Fixed
+ Disable spotless ratcheting and fix formatting (PR #4478 by
@johannescoetzee)
+ Fix: issue 4450 Endless recursion (-> StackOverflow) with
cyclic static references (PR #4477 by @jlerbsc)
+ Fix: issue 4399 MethodCallExpr inside lambda in assignment
expression cannot be resolved (PR #4462 by @jlerbsc)
+ Fix crash on SwitchExpr entries if tokens are not stored (PR
#4461 by @johannescoetzee)
+ Fix lookahead for pattern expression in switch entries [Issue
4455] (PR #4458 by @johannescoetzee)
* Developer Changes
+ Automatically format code after codegen and validate with a
github action (PR #4468 by @johannescoetzee)
+ Add git-blame-ignore-revs file to ignore the reformatting
commit in git blame (PR #4466 by @johannescoetzee)
* Uncategorised
+ Add link to the guide to adding nodes in CONTRIBUTING.md (PR
#4453 by @johannescoetzee)
- Upgrade to upstream version 3.26.0
* Added
+ [JEP 440] Add support for record patterns (PR #4432 by
@johannescoetzee)
+ PatternExpr -> TypePatternExpr refactor in preparation for
record pattern implementation (PR #4387 by @johannescoetzee)
+ [JEP441] Add support for switch pattern matching (PR #4375 by
@johannescoetzee)
+ Add support for case null, default in switch and fix concrete
syntax model for new switch syntax (PR #4364 by
@johannescoetzee)
* Changed
+ Fixes SYSTEM_EOL warnings (PR #4412 by @matthieu-vergne)
+ Refact: Adds a find node by range method in Node class (PR
#4377 by @jlerbsc)
* Fixed
+ Fix: issue 3277 StackOverflow issue while parse
MethodCallExpr/FieldAccessExpr, their ancestor/child node is
ObjectCreation expression which contain .new (PR #4447 by
@jlerbsc)
+ Fix expressions in the body of switch expression entries
(Issue 4440) (PR #4446 by @johannescoetzee)
+ Fix: issue 4442 LexicalPreservingPrinter does not support
unexpected token (PR #4444 by @jlerbsc)
+ Fix: issue 3100 JavaSymbolSolver unable to resolve an inner
class defined in a base class (PR #4441 by @jlerbsc)
+ Fix: 4330 Method 'forEach' cannot be resolved in certain
context (PR #4436 by @jlerbsc)
+ Fix: 'permits' and 'sealed' Contextual keyworlds usage (PR
#4434 by @jlerbsc)
+ Fixes an error in jbehave tests when they are run in a
Windows os (PR #4433 by @jlerbsc)
+ Make resolution of implements and extends types start with
the parent… (PR #4430 by @eldapiiro)
+ Fix: solveMethodAsUsage() for implicit method ::values() (PR
#4424 by @Kimmmey)
+ Fix: ::values() is a static method, was not static (PR #4417
by @Kimmmey)
+ Fix missed generated code from PatternExpr refactor (PR #4414
by @johannescoetzee)
+ Fixes #4410 (PR #4411 by @matthieu-vergne)
+ Fix issue 2368 Unable to calculate the type of a varargs
parameter (PR #4402 by @jlerbsc)
+ Fix: Fixes the version currently supported by Javaparser. (PR
#4393 by @jlerbsc)
+ ?? make mvnw command runnable by copy-pasting (PR #4382 by
@cravingPixels)
* Developer Changes
+ chore(deps): bump actions/checkout from 4.1.4 to 4.1.5 (PR
#4415 by @dependabot[bot])
+ Minor refactoring on Concrete syntax model (PR #4405 by
@jlerbsc)
+ chore(deps): bump actions/checkout from 4.1.2 to 4.1.3 (PR
#4381 by @dependabot[bot])
* Uncategorised
+ Improve unit test on generic (PR #4407 by @jlerbsc)
-------------------------------------------------------------------
Sun May 5 00:47:46 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package javaparser
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# 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.25.10
Version: 3.26.2
Release: 0
Summary: Java Parser and Abstract Syntax Tree for Java
License: Apache-2.0 OR LGPL-3.0-or-later
@@ -28,6 +28,7 @@ BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: maven-local
BuildRequires: mvn(biz.aQute.bnd:bnd-maven-plugin)
BuildRequires: mvn(com.google.code.findbugs:jsr305)
BuildRequires: mvn(com.google.guava:guava)
BuildRequires: mvn(org.checkerframework:checker-qual)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
@@ -54,7 +55,8 @@ sed -i 's/\r//' readme.md
%pom_remove_plugin -r :jacoco-maven-plugin
%pom_remove_plugin :maven-source-plugin
%pom_add_dep org.checkerframework:checker-qual javaparser-symbol-solver-core
%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
# Compatibility alias
%{mvn_alias} :javaparser-core com.google.code.javaparser:javaparser
@@ -91,7 +93,6 @@ echo "-snapshot: SNAPSHOT" >> javaparser-core/bnd.bnd
%build
%{mvn_build} -f -- \
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-Dmaven.compiler.release=8 \
%endif