Commit Graph

5293 Commits

Author SHA1 Message Date
Mark Struberg 03f2d6ae88 OPENJPA-2911 add replace multiple fields in ASM 2023-06-08 14:46:53 +02:00
Mark Struberg cd194bb72e OPENJPA-2911 addReplaceField in ASM
note that this code right now cannot handle subclasses
as we now generate ldc classconstant code which Serp is unable to understand.
The generated bytecode itself should be correct though!
2023-06-08 13:16:23 +02:00
Mark Struberg 6164d355a6 OPENJPA-2911 addManagedFieldCountMethod in ASM 2023-06-06 20:22:11 +02:00
Mark Struberg 972b5d0e62 OPENJPA-2911 migrate addNewInstance to ASM 2023-06-06 17:34:28 +02:00
Mark Struberg 4c7c81d249 OPENJPA-2911 clearFields method via ASM 2023-06-06 12:11:59 +02:00
Mark Struberg 80272a3bf7 OPENJPA-2911 add pcFields via ASM 2023-06-01 17:50:58 +02:00
Mark Struberg f2d27aa15f OPENJPA-2911 move from Serp to ASM 2023-06-01 17:12:16 +02:00
Mark Struberg 032c6fc7fe OPENJPA-2911 Bridge from BCClass <-> ASM ClassNode
This will allow us to smoothly migrate from Serp to ASM
2023-06-01 14:21:05 +02:00
Mark Struberg d13b85b139 OPENJPA-2911 remove Serp from PCSubclassValidator 2023-05-30 12:19:30 +02:00
Mark Struberg 3ea2412003 OPENJPA-2911 move PCSubclassValidator to ASM 2023-05-25 18:07:41 +02:00
Mark Struberg 2c3d37e859 OPENJPA-2911 move PCSubclassValidator to ASM 2023-05-25 11:13:31 +02:00
Mark Struberg 31681982de OPENJPA-2911 move PCSubclassValidator to ASM
work in progress.
For now we compare old and new mechanism to catch errors.
2023-05-24 10:38:44 +02:00
Mark Struberg b51d003ed9 OPENJPA-2911 start migrating away from Serp
This introduces 2 methods to tronsform
Serp BCClass ->  ASM ClassWriter
and
ASM ClassWriter -> Serp BCClass
2023-05-22 15:40:32 +02:00
Mark Struberg b238417dab OPENJPA-2911 make test cover bytecode part 2023-05-16 09:29:21 +02:00
Mark Struberg 972f34d85f upgrade xbean to 4.22 2023-05-16 09:28:09 +02:00
Mark Struberg 39c838a56f OPENJPA-2911 move ApplicationIdTool from Serp to ASM 2023-05-16 08:17:57 +02:00
Mark Struberg f19ba018e2 OPENJPA-2910 get rid of reflection
UOWAction stuff is now also freely available, so no
need for dirty hacks anymore.
2023-05-15 09:58:34 +02:00
Mark Struberg 2ab2746f77 OPENJPA-2910 WASManagedRuntime without Serp
The required interfaces are now publicly available via OpenLiberty artifacts under EPL.
We do not package them, so no NOTICE is required.

I've also removed the test as it did only test that the com.ibm class
is not on the classpath (which it now is for the test run as a provided artifact)
2023-05-15 09:16:07 +02:00
Francesco Chicchiriccò a84728ccb1 Upgrade GH workflows with JDK 11 2023-05-07 08:13:32 +02:00
Mark Struberg 1423932978 OPENJPA-2908 reflekt Jakarta API in our readme 2023-05-06 09:11:58 +02:00
Mark Struberg 0ddc38512d OPENJPA-2908 finish jakarta migration 2023-05-05 17:31:20 +02:00
Mark Struberg 2535a24d55 OPENJPA-2909 fix ClassLoading if proxy cannot be loaded 2023-05-04 21:31:00 +02:00
Mark Struberg ecff638a02 OPENJPA-2909 fix stack calculation
double and long require 2 positions on the stack.
2023-05-04 19:53:11 +02:00
Mark Struberg 7532498e7a OPENJPA-2909 more class generator fixes 2023-05-04 18:14:43 +02:00
Mark Struberg ec946b6789 OPENJPA-2909 more proxy generator fixes 2023-05-04 12:13:08 +02:00
Mark Struberg 8f9547b643 OPENJPA-2909 rough implementation with ASM is ready
Still needs a few tweaks to iron out failures.
2023-05-03 23:16:59 +02:00
Mark Struberg 12f780eb76 OPENJPA-2909 implement ASM proxy for Collections 2023-05-03 12:58:26 +02:00
Mark Struberg 87458c708b OPENJPA-2909 generate CalendarProxy via ASM 2023-05-02 14:47:16 +02:00
Mark Struberg 94a2bf97be OPENJPA-2909 finish Date proxy via ASM 2023-05-02 13:39:25 +02:00
Mark Struberg 65242c70b7 OPENJPA-2909 generate ProxyDate
still wip
2023-05-02 10:39:12 +02:00
Mark Struberg 487159da3b OPENJPA-2909 first skeleton for ASM based proxies
work in progress
2023-05-01 20:24:34 +02:00
Mark Struberg 4ec4598ad1 OPENJPA-2909 move proxy code to own package
No functional change yet.
2023-04-30 14:21:58 +02:00
Mark Struberg 6fc05e14d0 OPENJPA-2908 fix delayed collection proxies
some new methods in base interfaces did not get handled correctly
2023-04-25 16:16:46 +02:00
Mark Struberg 9a87badd3b OPENJPA-2908 fix derby snake case test 2023-04-25 12:33:07 +02:00
Mark Struberg 3a436b585d OPENJPA-2809 more test fixes 2023-04-24 12:25:23 +02:00
Mark Struberg d9ceb44526 OPENJPA-2908 Jakarta-3.0 API - WIP!
This is not yet finished!
Have to commit in parts as to create decently reviewable steps
2023-04-24 09:19:43 +02:00
dependabot[bot] 05069dfee4
Bump postgresql from 42.5.0 to 42.5.1 (#109)
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.5.0 to 42.5.1.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.5.0...REL42.5.1)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-24 11:24:21 +07:00
dependabot[bot] 57f300b1da
Bump kubernetes-client from 5.9.0 to 6.2.0 (#105) 2022-11-03 11:46:07 +01:00
dependabot[bot] e7cd6f6562
Bump ant from 1.10.9 to 1.10.11 (#103)
* Bump ant from 1.10.9 to 1.10.11

Bumps ant from 1.10.9 to 1.10.11.

---
updated-dependencies:
- dependency-name: org.apache.ant:ant
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Ant is updated to the most recent version

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maxim Solodovnik <solomax666@gmail.com>
2022-09-23 11:24:42 +07:00
s4iko 6aec10a41b
Log4j2 update to last version (free of vulnerability such as Log4Shell) (#101)
* Log4j2 update to last version (free of vulnerability such as Log4Shell)

* Log4j is updated one more time

Co-authored-by: malaunaisj <jeremy.malaunais@logica.com>
Co-authored-by: Maxim Solodovnik <solomax666@gmail.com>
2022-09-23 11:20:13 +07:00
Maxim Solodovnik 0be08390d5 typo is fixed 2022-09-23 11:12:36 +07:00
Maxim Solodovnik aed0e58f12 DB drivers are updated 2022-09-23 11:10:44 +07:00
Francesco Chicchiriccò c3da147fc9 [maven-release-plugin] prepare for next development iteration 2022-03-16 09:25:57 +01:00
Francesco Chicchiriccò e5933d6aee [maven-release-plugin] prepare release 3.2.2 2022-03-16 09:25:56 +01:00
Romain Manni-Bucau 641dfd947e
Merge pull request #93 from jeanouii/jakarta-relocate
OPENJPA-2900 javax.xml.bind must be reloacted to jakarta namespace
2022-03-10 10:57:00 +01:00
Francesco Chicchiriccò a605d872e5 [OPENJPA-2713] Fixing OffsetDateTime conversion 2022-03-10 10:49:13 +01:00
Francesco Chicchiriccò f228d2c259
[OPENJPA-2713] Allow for OffsetTime and OffsetDateTime query parameters (#94) 2022-03-07 17:54:14 +01:00
Jean-Louis Monteiro e5c29f4318 Requires the full package for the pattern 2022-02-21 16:38:32 +01:00
Jean-Louis Monteiro 6d7ee9ba59 refine Jakarta relocate patterns 2022-02-21 15:42:02 +01:00
Romain Manni-Bucau 68b77e1ae7 [maven-release-plugin] prepare for next development iteration 2022-02-03 11:08:53 +01:00