SHA256
1
0
forked from pool/javaparser

Compare commits

...

11 Commits

Author SHA256 Message Date
dcd1b80cec Accepting request 1174352 from Java:packages
3.25.10

OBS-URL: https://build.opensuse.org/request/show/1174352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/javaparser?expand=0&rev=15
2024-05-16 15:15:58 +00:00
dc534d4f53 Accepting request 1172219 from home:urbic:branches:Java:packages
- Upgrade to upstream version 3.25.10
  * Fixed
    + Fix issue 4345 Strange error when trying to find erasure of
      generic t… (PR #4362 by @jlerbsc)
    + fix: issue 4358 prevent infinite cycles with static imports
      (PR #4359 by @kdunee)
    + Refactor ResolvedReferenceType#equals (PR #4351 by @freya022)
    + fix: issue 4331 Cannot be 'abstract' and also 'private'. for
      a private method in an interface (PR #4332 by @jlerbsc)
  * Developer Changes
    + chore(deps): bump actions/checkout from 4.1.1 to 4.1.2 (PR
      #4341 by @dependabot[bot])

OBS-URL: https://build.opensuse.org/request/show/1172219
OBS-URL: https://build.opensuse.org/package/show/Java:packages/javaparser?expand=0&rev=38
2024-05-06 15:21:00 +00:00
4d9883ba82 Accepting request 1140609 from Java:packages
3.25.8

OBS-URL: https://build.opensuse.org/request/show/1140609
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/javaparser?expand=0&rev=14
2024-01-22 19:38:50 +00:00
1854b04cb7 Accepting request 1138417 from home:urbic:branches:Java:packages
- Upgrade to upstream version 3.25.8
  * Added
    + feat: creates cache statistics and moves Cache interface to
      javaparser-core (PR #4278 by @jlerbsc)
    + feat: Add parseArrayInitializerExpr to JavaParser API (PR
      #4276 by @iMashtak)
    + feat: A visitor looking for a node by its position in an AST
      (PR #4258 by @jlerbsc)
  * Changed
    + fix: Partial removal of the use of instanceof in favour of
      the use of the API (PR #4280 by @jlerbsc)
    + [GHA] Run on java 18 (PR #4252 by @hazendaz)
  * Fixed
    + fix: issue 4240 Calling resolve on catch block parameter
      throws exception (PR #4279 by @jlerbsc)
    + Fix: issue 4270 Exception when resolving ObjectCreationExpr
      with nested varargs (PR #4273 by @jlerbsc)
    + add Java_18 to yieldSupport (PR #4262 by @Kimmmey)
    + fix: issue #4245 UnsupportedOperationException with
      LexicalPreservingPrinter when removing a sealed modified (PR
      #4253 by @jlerbsc)
    + [ci] Fix change log released version as 3.25.7 (PR #4251 by
      @hazendaz)
    + Fix: issue 3278 Lazy types cause stack overflow when trying
      to find the least upper bound type (PR #4246 by @jlerbsc)
  * Developer Changes
    + chore(deps): bump com.google.guava:guava from 32.1.3-jre to
      33.0.0-jre (PR #4264 by @dependabot[bot])
  * Uncategorised
    + Revert "Refactoring: Move cache features to javaparser-core"
      (PR #4274 by @jlerbsc)

OBS-URL: https://build.opensuse.org/request/show/1138417
OBS-URL: https://build.opensuse.org/package/show/Java:packages/javaparser?expand=0&rev=36
2024-01-15 12:17:54 +00:00
ee4b771d88 Accepting request 1137465 from Java:packages
OBS-URL: https://build.opensuse.org/request/show/1137465
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/javaparser?expand=0&rev=13
2024-01-08 22:45:11 +00:00
b6ecf925dd Accepting request 1134735 from home:urbic:branches:Java:packages
- Upgrade to upstream version 3.25.7
  * Added
    + [GHA] Remove old comment that is no longer valid around jdks
      and add jdk 17 (PR #4226 by @hazendaz)
    + Fix: issue 3833 No enum constant
      com.github.javaparser.ParserConfiguration.LanguageLevel.JAVA_18
      (PR #4221 by @jlerbsc)
  * Changed
    + Refactoring: Move cache features to javaparser-core (PR #4238
      by @jlerbsc)
    + Fix: removes reference to coveralls plugin which is not
      useful because codecov is used to track code coverage (PR
      #4235 by @jlerbsc)
    + Uses jakarta.json api, upgrades jakarta.json-api to the
      latest version & uses new default Eclipse Parsson (PR #4234
      by @jlerbsc)
    + Move mockito to 4.11.0 and handle byte buddy consistently as
      well as properly define its agent in argLine for surefire (PR
      #4228 by @hazendaz)
    + Cleanup poms, use jakarta provided (javax namespace),
      hamcrest follow up, and switch coveralls plugin - Fixes #4111
      (PR #4225 by @hazendaz)
    + [pom] Switch from hamcrest-library (deprecated) to hamcrest
      (PR #4200 by @hazendaz)
    + Putting code in the .orElse that has a side effect that can
      affect performance (PR #4199 by @jlerbsc)
  * Fixed
    + Fix: issue 3650 unreproducible MAVEN_BUILD_TIMESTAMP (PR
      #4243 by @jlerbsc)
    + Fix: issue 3972 StackOverflowError when resolving type of
      scope of a MethodCall (PR #4236 by @jlerbsc)
    + [fix] Jdk 18 enum stub was extended off java 16 post
      processor not java17 (PR #4227 by @hazendaz)
    + Fix: issue #4047 Symbol Solver mixes name with type (PR #4206
      by @jlerbsc)
    + Fix grammar (PR #4203 by @mernst)
    + Minor changes : corrupted format, useless cast, javadoc (PR
      #4198 by @jlerbsc)
  * Developer Changes
    + chore(deps): update actions/setup-java action to v4 (PR #4241
      by @renovate[bot])
    + chore(deps): bump org.codehaus.mojo:build-helper-maven-plugin
      from 3.4.0 to 3.5.0 (PR #4223 by @dependabot[bot])
    + Adds sponsor link to help the project live and grow (PR #4204
      by @jlerbsc)
    + chore(deps): bump org.codehaus.mojo:templating-maven-plugin
      from 1.0.0 to 3.0.0 (PR #4195 by @dependabot[bot])
    + chore(deps): update junit5 monorepo to v5.10.1 (PR #4193 by
      @renovate[bot])
  * Uncategorised
    + Added unit tests for visitors (PR #4239 by @4everTheOne)
    + Unit tests for class GenericListVisitorAdapter (PR #4237 by
      @4everTheOne)
    + Update readme.md (PR #4222 by @jlerbsc)

OBS-URL: https://build.opensuse.org/request/show/1134735
OBS-URL: https://build.opensuse.org/package/show/Java:packages/javaparser?expand=0&rev=34
2024-01-08 05:32:55 +00:00
83ee85cb50 Accepting request 1128023 from Java:packages
3.25.6

OBS-URL: https://build.opensuse.org/request/show/1128023
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/javaparser?expand=0&rev=12
2023-11-22 17:54:43 +00:00
45e90103db OBS-URL: https://build.opensuse.org/package/show/Java:packages/javaparser?expand=0&rev=32 2023-11-22 07:40:04 +00:00
a949ae9aea Accepting request 1128008 from home:urbic:branches:Java:packages
- Upgrade to upstream version 3.25.6
  * Changed
    + reformat javaconcept take 2 (PR #4167 by @JimmyGan437)
    + Using JAXP on XMLPrinter implementation (PR #4166 by
      @lcbarcellos)
    + replace deprecated methond calls to their replacements (PR
      #4157 by @JimmyGan437)
    + feat(#4075): Improve the validation error messages (PR #4116
      by @volodya-lombrozo)
  * Fixed
    + Fix: issue #2751 new HashSet()" != "new HashSet<>() (PR #4183
      by @lcbarcellos)
    + Fixes #2625 Add messages to thrown exceptions (PR #4177 by
      @oannhpham)
    + Fix: issue 4163 Calling
      MethodDeclaration.getDeclarationAsString leads to
      MethodDelaration.getComment returning no comment (PR #4165 by
      @jlerbsc)
    + Fix: issue 3673 isAssignableBy method StackOverflowError (PR
      #4156 by @jlerbsc)
    + fix: issue 3184 Unable to get the resolved type of class
      ResolvedReferenceType from T (PR #4147 by @jlerbsc)
    + Fix: issue #3269 Test resources containing included
      interfaces do not compile (PR #4139 by @jlerbsc)
    + CalculateResolvedType Type error (PR #4138 by @jlerbsc)
    + Fix: issue #4036 LeastUpperBoundLogic.lub returns null when
      matches ConditionalExpr (PR #4137 by @jlerbsc)
    + Fix: issue #2484 SymbolResolver on MethodCallExpr fails if
      method parameter is of kind Class<? extends y> (PR #4136 by
      @jlerbsc)
  * Developer Changes
    + chore(deps): bump com.google.guava:guava from 32.1.2-jre to
      32.1.3-jre (PR #4154 by @dependabot[bot])
    + chore(deps): update actions/checkout action to v4 (PR #4141
      by @renovate[bot])

OBS-URL: https://build.opensuse.org/request/show/1128008
OBS-URL: https://build.opensuse.org/package/show/Java:packages/javaparser?expand=0&rev=31
2023-11-22 05:53:25 +00:00
bf6196720d Accepting request 1120418 from Java:packages
Fix build with jdk 21

OBS-URL: https://build.opensuse.org/request/show/1120418
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/javaparser?expand=0&rev=11
2023-10-26 15:14:20 +00:00
7d7508a891 OBS-URL: https://build.opensuse.org/package/show/Java:packages/javaparser?expand=0&rev=29 2023-10-26 04:49:25 +00:00
4 changed files with 165 additions and 11 deletions

View File

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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8ce5c512295e3310e471cd6b4d6c91c81b19c4db7f1dfab83df70fc26644829b
size 18397236

View File

@@ -1,3 +1,156 @@
-------------------------------------------------------------------
Sun May 5 00:47:46 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Upgrade to upstream version 3.25.10
* Fixed
+ Fix issue 4345 Strange error when trying to find erasure of
generic t… (PR #4362 by @jlerbsc)
+ fix: issue 4358 prevent infinite cycles with static imports
(PR #4359 by @kdunee)
+ Refactor ResolvedReferenceType#equals (PR #4351 by @freya022)
+ fix: issue 4331 Cannot be 'abstract' and also 'private'. for
a private method in an interface (PR #4332 by @jlerbsc)
* Developer Changes
+ chore(deps): bump actions/checkout from 4.1.1 to 4.1.2 (PR
#4341 by @dependabot[bot])
-------------------------------------------------------------------
Sat Jan 13 02:49:45 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Upgrade to upstream version 3.25.8
* Added
+ feat: creates cache statistics and moves Cache interface to
javaparser-core (PR #4278 by @jlerbsc)
+ feat: Add parseArrayInitializerExpr to JavaParser API (PR
#4276 by @iMashtak)
+ feat: A visitor looking for a node by its position in an AST
(PR #4258 by @jlerbsc)
* Changed
+ fix: Partial removal of the use of instanceof in favour of
the use of the API (PR #4280 by @jlerbsc)
+ [GHA] Run on java 18 (PR #4252 by @hazendaz)
* Fixed
+ fix: issue 4240 Calling resolve on catch block parameter
throws exception (PR #4279 by @jlerbsc)
+ Fix: issue 4270 Exception when resolving ObjectCreationExpr
with nested varargs (PR #4273 by @jlerbsc)
+ add Java_18 to yieldSupport (PR #4262 by @Kimmmey)
+ fix: issue #4245 UnsupportedOperationException with
LexicalPreservingPrinter when removing a sealed modified (PR
#4253 by @jlerbsc)
+ [ci] Fix change log released version as 3.25.7 (PR #4251 by
@hazendaz)
+ Fix: issue 3278 Lazy types cause stack overflow when trying
to find the least upper bound type (PR #4246 by @jlerbsc)
* Developer Changes
+ chore(deps): bump com.google.guava:guava from 32.1.3-jre to
33.0.0-jre (PR #4264 by @dependabot[bot])
* Uncategorised
+ Revert "Refactoring: Move cache features to javaparser-core"
(PR #4274 by @jlerbsc)
-------------------------------------------------------------------
Fri Dec 22 00:48:08 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Upgrade to upstream version 3.25.7
* Added
+ [GHA] Remove old comment that is no longer valid around jdks
and add jdk 17 (PR #4226 by @hazendaz)
+ Fix: issue 3833 No enum constant
com.github.javaparser.ParserConfiguration.LanguageLevel.JAVA_18
(PR #4221 by @jlerbsc)
* Changed
+ Refactoring: Move cache features to javaparser-core (PR #4238
by @jlerbsc)
+ Fix: removes reference to coveralls plugin which is not
useful because codecov is used to track code coverage (PR
#4235 by @jlerbsc)
+ Uses jakarta.json api, upgrades jakarta.json-api to the
latest version & uses new default Eclipse Parsson (PR #4234
by @jlerbsc)
+ Move mockito to 4.11.0 and handle byte buddy consistently as
well as properly define its agent in argLine for surefire (PR
#4228 by @hazendaz)
+ Cleanup poms, use jakarta provided (javax namespace),
hamcrest follow up, and switch coveralls plugin - Fixes #4111
(PR #4225 by @hazendaz)
+ [pom] Switch from hamcrest-library (deprecated) to hamcrest
(PR #4200 by @hazendaz)
+ Putting code in the .orElse that has a side effect that can
affect performance (PR #4199 by @jlerbsc)
* Fixed
+ Fix: issue 3650 unreproducible MAVEN_BUILD_TIMESTAMP (PR
#4243 by @jlerbsc)
+ Fix: issue 3972 StackOverflowError when resolving type of
scope of a MethodCall (PR #4236 by @jlerbsc)
+ [fix] Jdk 18 enum stub was extended off java 16 post
processor not java17 (PR #4227 by @hazendaz)
+ Fix: issue #4047 Symbol Solver mixes name with type (PR #4206
by @jlerbsc)
+ Fix grammar (PR #4203 by @mernst)
+ Minor changes : corrupted format, useless cast, javadoc (PR
#4198 by @jlerbsc)
* Developer Changes
+ chore(deps): update actions/setup-java action to v4 (PR #4241
by @renovate[bot])
+ chore(deps): bump org.codehaus.mojo:build-helper-maven-plugin
from 3.4.0 to 3.5.0 (PR #4223 by @dependabot[bot])
+ Adds sponsor link to help the project live and grow (PR #4204
by @jlerbsc)
+ chore(deps): bump org.codehaus.mojo:templating-maven-plugin
from 1.0.0 to 3.0.0 (PR #4195 by @dependabot[bot])
+ chore(deps): update junit5 monorepo to v5.10.1 (PR #4193 by
@renovate[bot])
* Uncategorised
+ Added unit tests for visitors (PR #4239 by @4everTheOne)
+ Unit tests for class GenericListVisitorAdapter (PR #4237 by
@4everTheOne)
+ Update readme.md (PR #4222 by @jlerbsc)
-------------------------------------------------------------------
Wed Nov 22 03:20:54 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Upgrade to upstream version 3.25.6
* Changed
+ reformat javaconcept take 2 (PR #4167 by @JimmyGan437)
+ Using JAXP on XMLPrinter implementation (PR #4166 by
@lcbarcellos)
+ replace deprecated methond calls to their replacements (PR
#4157 by @JimmyGan437)
+ feat(#4075): Improve the validation error messages (PR #4116
by @volodya-lombrozo)
* Fixed
+ Fix: issue #2751 new HashSet()" != "new HashSet<>() (PR #4183
by @lcbarcellos)
+ Fixes #2625 Add messages to thrown exceptions (PR #4177 by
@oannhpham)
+ Fix: issue 4163 Calling
MethodDeclaration.getDeclarationAsString leads to
MethodDelaration.getComment returning no comment (PR #4165 by
@jlerbsc)
+ Fix: issue 3673 isAssignableBy method StackOverflowError (PR
#4156 by @jlerbsc)
+ fix: issue 3184 Unable to get the resolved type of class
ResolvedReferenceType from T (PR #4147 by @jlerbsc)
+ Fix: issue #3269 Test resources containing included
interfaces do not compile (PR #4139 by @jlerbsc)
+ CalculateResolvedType Type error (PR #4138 by @jlerbsc)
+ Fix: issue #4036 LeastUpperBoundLogic.lub returns null when
matches ConditionalExpr (PR #4137 by @jlerbsc)
+ Fix: issue #2484 SymbolResolver on MethodCallExpr fails if
method parameter is of kind Class<? extends y> (PR #4136 by
@jlerbsc)
* Developer Changes
+ chore(deps): bump com.google.guava:guava from 32.1.2-jre to
32.1.3-jre (PR #4154 by @dependabot[bot])
+ chore(deps): update actions/checkout action to v4 (PR #4141
by @renovate[bot])
-------------------------------------------------------------------
Thu Oct 26 04:44:28 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Avoid incompatibilities in jdk 21 by building with release 8
-------------------------------------------------------------------
Mon Sep 11 09:25:47 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package javaparser
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,18 @@
Name: javaparser
Version: 3.25.5
Version: 3.25.10
Release: 0
Summary: Java 1 to 15 Parser and Abstract Syntax Tree for Java
Summary: Java Parser and Abstract Syntax Tree for Java
License: Apache-2.0 OR LGPL-3.0-or-later
Group: Development/Libraries/Java
URL: https://javaparser.org
Source0: https://github.com/javaparser/javaparser/archive/%{name}-parent-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: maven-local
BuildRequires: mvn(biz.aQute.bnd:bnd-maven-plugin)
BuildRequires: mvn(javax.annotation:javax.annotation-api)
BuildRequires: mvn(net.java.dev.javacc:javacc)
BuildRequires: mvn(com.google.guava:guava)
BuildRequires: mvn(org.checkerframework:checker-qual)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
BuildRequires: mvn(org.codehaus.mojo:javacc-maven-plugin)
@@ -37,8 +37,7 @@ BuildArch: noarch
%description
A set of libraries implementing a Java 1.0 - Java 17 Parser with advanced
analysis functionalities. This includes preview features to Java 13, with Java
14 preview features work-in-progress.
analysis functionalities.
%package javadoc
Summary: Javadoc for %{name}
@@ -54,7 +53,6 @@ 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 :coveralls-maven-plugin
%pom_add_dep org.checkerframework:checker-qual javaparser-symbol-solver-core
@@ -94,6 +92,9 @@ 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
-Dsource=8
%install