Commit Graph

1532 Commits

Author SHA1 Message Date
Maxim Solodovnik ae8c759ffe
[OPENJPA-2924] BlacklistClassResolver is improved (#118)
* BlacklistClassResolver is improved

* Comments are addressed
2024-08-19 11:13:29 +07:00
Maxim Solodovnik c3fff2cb0f
[OPENJPA-2923] replace new Long(long) with Long.valueOf(long) while enhancing (#117) 2024-07-15 12:13:57 +07:00
Mark Struberg b3d1ef8671 OPENJPA-2922 disable JNDI lookup of EMF by default
To use this feature please set the following
system.property to true: emf_via_jndi_enabled
2024-05-27 19:00:40 +02:00
Mark Struberg 96005fcd25 [maven-release-plugin] prepare for next development iteration 2024-02-02 14:30:55 +01:00
Mark Struberg 5b49d5351c [maven-release-plugin] prepare release 4.0.0 2024-02-02 14:30:55 +01:00
Mark Struberg 815ef2349f OPENJPA-2917 fix off-by-1 issue on java stack
long parameters take up 2 byte on the call stack
2023-10-17 15:24:16 +02:00
Mark Struberg 0729141c31 OPENJPA-2911 finish Serp removal 2023-07-25 12:02:44 +02:00
Mark Struberg bb11f022d8 OPENJPA-2911 addGetData via ASM 2023-07-25 11:09:50 +02:00
Mark Struberg 0ea92f44a4 OPENJPA-2911 newEmbeddedPCData via ASM 2023-07-25 11:04:47 +02:00
Mark Struberg 1f8db2ade4 OPENJPA-2911 remove unused methods 2023-07-25 10:15:31 +02:00
Mark Struberg 8759f6fa7e OPENJPA-2911 PCDataGenerator#store via ASM 2023-07-25 10:12:17 +02:00
Mark Struberg 07edae25bf OPENJPA-2911 addLoadWithFieldsMethod via ASM 2023-07-24 22:55:59 +02:00
Mark Struberg 1fa918c861 OPENJPA-2911 addLoadMethod via ASM 2023-07-24 21:26:15 +02:00
Mark Struberg e62e7eaa7c OPENJPA-2911 addFieldImplDataMethods via ASM 2023-07-24 16:21:52 +02:00
Mark Struberg c75e666452 OPENJPA-2911 remove unused Serp fragments 2023-07-24 11:31:36 +02:00
Mark Struberg f009f39150 OPENJPA-2911 remove now unused SerpPrivacyHelper 2023-07-24 11:29:36 +02:00
Mark Struberg f1993f1462 OPENJPA-2911 timeout via ASM 2023-07-24 11:28:37 +02:00
Mark Struberg 71b0f0b2c6 OPENJPA-2911 isLoaded via ASM 2023-07-24 10:30:17 +02:00
Mark Struberg a8cb9d9d3d OPENJPA-2911 newEmbeddedPCData in ASM 2023-07-24 10:13:45 +02:00
Mark Struberg 279412c71a OPENJPA-2911 toNestedData in ASM 2023-07-24 09:01:29 +02:00
Mark Struberg 9244250865 OPENJPA-2911 enhanceToData in ASM 2023-07-23 21:15:17 +02:00
Mark Struberg 60ccb26050 OPENJPA-2911 start removing Serp from PCDataGenerator
wip
2023-07-23 18:36:46 +02:00
Mark Struberg b04c985956 OPENJPA-2911 code cleanup for InterfaceImplGenerator 2023-07-19 18:55:53 +02:00
Mark Struberg bc63865aac OPENJPA-2911 ReverseMapping in ASM 2023-07-19 18:17:03 +02:00
Mark Struberg f83cb62c54 OPENJPA-2911 fix ClassLoader issue with temporary bytecode 2023-07-19 17:56:12 +02:00
Mark Struberg 6eeb025cf3 OPENJPA-2911 migrate InterfaceImplGenerator wip
Still not really there. There is still some very weirdo
ClassLoader mixup which gets 'fixed' as sideeffect of using a roundtrip to BCClass.
Not yet 100% sure yet, still digging
2023-07-19 17:25:52 +02:00
Mark Struberg b4bc2c4965 OPENJPA-2911 remove unused imports 2023-07-19 13:39:49 +02:00
Mark Struberg 0a81c3de7b OPENJPA-2911 move PCEnhancer off Serp 2023-07-19 13:14:16 +02:00
Mark Struberg dfaf8da48e OPENJPA-2911 move ASM stuff to one place 2023-07-18 14:03:04 +02:00
Mark Struberg f26fa179cc OPENJPA-2911 more _managedType removal, code cleanup 2023-07-18 11:20:28 +02:00
Mark Struberg b5a6424f2b OPENJPA-2911 isCloneable via ClassNodeTracker 2023-07-18 10:53:54 +02:00
Mark Struberg eba1637454 OPENJPA-2911 move more BCClass usage to ASM 2023-07-18 10:08:49 +02:00
Mark Struberg eabceb69f4 OPENJPA-2911 inline ASM adapter handling 2023-07-17 23:01:16 +02:00
Mark Struberg 86c266df7a OPENJPA-2911 openjpa-lib without Serp 2023-07-17 22:32:23 +02:00
Romain Manni-Bucau a494966e8b moving to Class.forName to force clinit call instead of creating a dead instance 2023-07-17 19:48:36 +02:00
Mark Struberg 37c114c724 OPENJPA-2911 getPCBytecode now returns ClassNodeTracker 2023-07-17 19:32:20 +02:00
Mark Struberg 11367cfbea OPENJPA-2911 ByteCodeWriter with ASM 2023-07-17 18:06:43 +02:00
Mark Struberg bcb00d8909 OPENJPA-2911 move BytecodeWriter to openjpa-kernel
had no usage in openjpa-lib but introduced dependeny to Serp over there
2023-07-17 10:08:39 +02:00
Mark Struberg 96a64bceba OPENJPA-2911 simplification and more modern code 2023-07-16 17:40:45 +02:00
Mark Struberg a25ad4fc95 OPENJPA-2911 getIdClassConstructorParmOrder in ASM 2023-07-16 17:24:42 +02:00
Mark Struberg 0ab02d6965 OPENJPA-2911 AuxilaryEnhancer in ASM 2023-07-14 12:15:54 +02:00
Mark Struberg fb20da5063 OPENJPA-2911 add clone support in ASM 2023-07-14 11:29:11 +02:00
Mark Struberg 4d505987c3 OPENJPA-2911 addSerialization in ASM 2023-07-13 14:11:14 +02:00
Mark Struberg 62b14584fb OPENJPA-2911 Externalizable in ASM 2023-07-13 11:06:21 +02:00
Mark Struberg 7700fdfd45 OPENJPA-2911 DetachedState as ASM 2023-07-12 11:05:04 +02:00
Mark Struberg d757138669 OPENJPA-2911 remove unused code 2023-07-11 14:52:31 +02:00
Mark Struberg 58db135c5e OPENJPA-2911 isDetached via ASM 2023-07-11 14:50:49 +02:00
Mark Struberg e718fc8b51 OPENJPA-2911 using BCClassWriter
The standard ASM ClassWriter uses Class.forName but does not leverage
our custom ClassLoader which we use to isolate away classes during enhancement.
BCClassWriter extends ClassWriter to use the given ClassLoader.
2023-07-03 18:05:26 +02:00
Mark Struberg 2b9b024f27 OPENJPA-2911 addAccessors in ASM 2023-07-03 11:06:17 +02:00
Mark Struberg 5e89853664 OPENJPA-2911 use ASM static initialiser
solved frame problems by fording java bytecode version 49 on Serp
as Java5 already supports LDC for Classes but doesn't require frame calculation
which Serp is not capable of.
2023-06-26 12:50:03 +02:00