[aspectj-users] AspectJ 1.9.22.1 maintenance release (Java 22)

2024-05-11 Thread Alexander Kriegisch via aspectj-users
Dear AspectJ users, we are pleased to announce AspectJ maintenance release 1.9.22.1. It still supports Java 22, just like 1.9.22. See the release notes (link below) for more details concerning bugfixes and enhancements. AJDT for Eclipse 4.31 (2024-03) were also refreshed to contain the new

Re: [aspectj-users] AspectJ versioning question

2024-05-01 Thread Alexander Kriegisch via aspectj-users
Here is the CVE I was talking about, just found it again. It was in 1.9.19: https://github.com/eclipse-aspectj/aspectj/issues/192 -- Alexander Kriegisch https://scrum-master.de Alexander Kriegisch via aspectj-users schrieb am 01.05.2024 um 10:46: > Yes, 1.8.14 was unusual. That was before

Re: [aspectj-users] AspectJ versioning question

2024-05-01 Thread Alexander Kriegisch via aspectj-users
---Original Message- > From: aspectj-users On Behalf Of > Alexander Kriegisch via aspectj-users > Sent: Tuesday, April 30, 2024 1:30 PM > To: aspectj-users@eclipse.org > Cc: Alexander Kriegisch > Subject: Re: [aspectj-users] AspectJ versioning question > > [You don't often get email

Re: [aspectj-users] AspectJ versioning question

2024-04-30 Thread Alexander Kriegisch via aspectj-users
Hi Alan. Thanks for your inquiry. AspectJ generally does not release updates for older versions. Usually, more recent versions are backward compatible. E.g., you can use the current 1.9.22 to compile with 1.8 source/target or use LTW on Java 8. Only in your build environment when using AJC

[aspectj-users] AJDT and E2M Connector updates for Eclipse 2024-03

2024-04-09 Thread Alexander Kriegisch via aspectj-users
Dear AspectJ users,there are updates for both AspectJ Development Tools (AJDT) and Eclipse-to-Maven (E2M) Connector for AJDT. Both of them now support Eclipse IDE 2024-03 (4.31). For AJDT, there was a version before, but it had a problem with Equinox OSGi weaving in Eclipse. So, if that is your

Re: [aspectj-users] add instance members to a class

2024-03-29 Thread Alexander Kriegisch via aspectj-users
Yes, Lombok is also an easy means to implement that requirement. If you do not need Aspects for anything else, take a look at Lombok. Of course, just like for AspectJ you need both build-time and IDE tooling in order to work comfortably with Lombok. Steve is thinking about using marker annotations

Re: [aspectj-users] add instance members to a class

2024-03-29 Thread Alexander Kriegisch via aspectj-users
Hi Steve. I think we know each other from GitHub issue #299. Welcome to the mailing list channel, too. First, a few links for you: How to declare an interface and its implementation including fields and accessor methods by means of inter-type declarations (ITD) in native AspectJ syntax:

[aspectj-users] Agent Embedder Maven Plugin and AspectJ load-time weaving

2024-03-24 Thread Alexander Kriegisch via aspectj-users
Hi AspectJ community!Over the years, it has been a FAQ, both on Stack Overflow and by people contacting me directly: I have an executable JAR (e.g. Spring Boot fat JAR), which I am starting with java -javaagent:/path/to/aspectjweaver.jar -jar my_app.jar Is there any way to add the AspectJ weaver

[aspectj-users] AspectJ 1.9.22 release (Java 22)

2024-03-24 Thread Alexander Kriegisch via aspectj-users
Dear AspectJ users, we are pleased to announce AspectJ release. AspectJ 1.9.22 supports Java 22, its final and preview features, such as: JEP 456: Unnamed Variables & Patterns JEP 459: String Templates (Second Preview) JEP 463: Implicitly Declared Classes and Instance Main Methods (Second

[aspectj-users] AspectJ 1.9.21.2 maintenance release

2024-03-13 Thread Alexander Kriegisch via aspectj-users
Dear AspectJ users, we are pleased to announce the AspectJ maintenance release 1.9.21.2 supporting Java 21. Please note that since 1.9.19, the minor-minor version indicates the corresponding latest Java release (byte code version) supported by the AspectJ compiler and weaver. I.e., 1.9.21.2 → Java

[aspectj-users] AspectJ 1.9.21.1 maintenance release

2024-02-13 Thread Alexander Kriegisch via aspectj-users
Dear AspectJ users, we are pleased to announce the AspectJ bugfix release 1.9.21.1 supporting Java 21. Please note that since 1.9.19, the minor-minor version indicates the corresponding latest Java release (byte code version) supported by the AspectJ compiler and weaver. I.e., 1.9.21.1 → Java 21.

Re: [aspectj-users] Hello world Agent with aspectjweaver

2024-01-17 Thread Alexander Kriegisch via aspectj-users
and end time of the methods running on the JVM.I can do it with Aspectj using AOP technique.I want to do it for legacy applications running on JDK8.regards Alexander Kriegisch via aspectj-users <aspectj-users@eclipse.org>, 17 Oca 2024 Çar, 12:25 tarihinde şunu yazdı: This is not trivial. So

Re: [aspectj-users] Hello world Agent with aspectjweaver

2024-01-17 Thread Alexander Kriegisch via aspectj-users
This is not trivial. So please, provide a full reproducer project on GitHub including the target code to be woven, so I do not have to fill in the gaps here. What I noticed at first glance is, that class StartAgent to be and do multiple things at once: It is a java agent. It tries to inject

[aspectj-users] AspectJ 1.9.21 with Java 21 support

2023-12-11 Thread Alexander Kriegisch via aspectj-users
Dear AspectJ users, we are pleased to announce the AspectJ bugfix release 1.9.21 supporting Java 21. Please note that since 1.9.19, the minor-minor version indicates the corresponding latest Java release (byte code version) supported by the AspectJ compiler and weaver. I.e., 1.9.21 → Java 21.

Re: [aspectj-users] About AspectJ

2023-10-08 Thread Alexander Kriegisch via aspectj-users
Alexander Kriegisch schrieb am 09.10.2023 12:49 (GMT +07:00): > Hi. > > Thanks for your question. The Baeldung page is just a quit entry-level I mean "quick", of course. > tutorial, not a

Re: [aspectj-users] About AspectJ

2023-10-08 Thread Alexander Kriegisch via aspectj-users
Hi. Thanks for your question. The Baeldung page is just a quit entry-level tutorial, not a course. It points to a course, but that is a Spring Boot course. AspectJ is completely independent of Spring, even though Spring's proxy-based "AOP lite" solution Spring AOP uses AspectJ syntax. You

[aspectj-users] AspectJ 1.9.20.1 bugfix release with Java 20 support

2023-09-03 Thread Alexander Kriegisch via aspectj-users
Dear AspectJ users, we are pleased to announce the AspectJ bugfix release 1.9.20.1 supporting Java 20. Please note that since 1.9.19, the minor-minor version indicates the corresponding latest Java release (byte code version) supported by the AspectJ compiler and weaver. I.e., 1.9.20.1 → Java 20.

Re: [aspectj-users] AspectJ 1.9.20 with Java 20 support

2023-08-17 Thread Alexander Kriegisch via aspectj-users
The AJDT version for 2022-12+ now also is up to date and carries AspectJ 1.9.20 in its belly.   Cheers   Alexander Kriegisch (Xander) AspectJ team   Alexander Kriegisch schrieb am 17.08.2023 07:42 (GMT +07:00): Dear AspectJ users, we are pleased to announce the AspectJ bugfix release 1.9.20

[aspectj-users] AspectJ 1.9.20 with Java 20 support

2023-08-16 Thread Alexander Kriegisch via aspectj-users
Dear AspectJ users, we are pleased to announce the AspectJ bugfix release 1.9.20 supporting Java 20. Please note that since 1.9.19, the minor-minor version indicates the corresponding latest Java release (byte code version) supported by the AspectJ compiler and weaver. I.e., 1.9.20 → Java 20.

Re: [aspectj-users] meta-data problem with aspectj-maven-plugin

2023-08-10 Thread Alexander Kriegisch via aspectj-users
my problems that I tried to work out with Andy 10yrs ago with Lombok, but that's a whole different topic to figure out.   In the meantime, I've managed to cobble together the necessary pieces for the team to work with.   Thanks! Eric   On Wed, Aug 9, 2023 at 8:44 PM Alexander Kriegisch via aspectj-us

Re: [aspectj-users] meta-data problem with aspectj-maven-plugin

2023-08-09 Thread Alexander Kriegisch via aspectj-users
to the bottom of that. I cannot debug plain prose in that case. -- Alexander Kriegischhttps://scrum-master.de   Alexander Kriegisch via aspectj-users schrieb am 10.08.2023 07:27 (GMT +07:00): Welcome back to the AspectJ world, Eric. Next time, please post your code as formatted text, links to repositories

Re: [aspectj-users] meta-data problem with aspectj-maven-plugin

2023-08-09 Thread Alexander Kriegisch via aspectj-users
Welcome back to the AspectJ world, Eric. Next time, please post your code as formatted text, links to repositories or attachments, rather than as a screenshot. Please also note that this question is about AspectJ Maven Plugin rather than AspectJ itself, which would make it better suited to Stack