[Git][java-team/kotlinx-atomicfu][master] 5 commits: Fixed the atomicfu transformation with ASM 6.2.1 and later
Emmanuel Bourg (@ebourg)
gitlab at salsa.debian.org
Wed Sep 30 08:45:34 BST 2026
Emmanuel Bourg pushed to branch master at Debian Java Maintainers / kotlinx-atomicfu
Commits:
b0cf6fd3 by Emmanuel Bourg at 2026-09-30T09:33:12+02:00
Fixed the atomicfu transformation with ASM 6.2.1 and later
- - - - -
899df1e1 by Emmanuel Bourg at 2026-09-30T09:33:23+02:00
Standards-Version updated to 4.7.4
- - - - -
82bf2d41 by Emmanuel Bourg at 2026-09-30T09:33:53+02:00
Removed the Priority field
- - - - -
64519d3b by Emmanuel Bourg at 2026-09-30T09:39:41+02:00
Converted debian/watch to the version 5 format
- - - - -
f1e902f9 by Emmanuel Bourg at 2026-09-30T09:42:33+02:00
Upload to unstable
- - - - -
5 changed files:
- debian/changelog
- debian/control
- + debian/patches/003-fix-transformer-classloader.patch
- debian/patches/series
- debian/watch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+kotlinx-atomicfu (0.11.12-3) unstable; urgency=medium
+
+ * Fixed the atomicfu transformation with ASM 6.2.1 and later
+ * Standards-Version updated to 4.7.4
+ * Removed the Priority field
+ * Converted debian/watch to the version 5 format
+
+ -- Emmanuel Bourg <ebourg at apache.org> Wed, 30 Sep 2026 09:42:26 +0200
+
kotlinx-atomicfu (0.11.12-2) unstable; urgency=medium
* Install the missing atomicfu.jar file
=====================================
debian/control
=====================================
@@ -1,6 +1,5 @@
Source: kotlinx-atomicfu
Section: java
-Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Emmanuel Bourg <ebourg at apache.org>
Build-Depends:
@@ -10,7 +9,7 @@ Build-Depends:
kotlin,
libasm-java,
maven-repo-helper
-Standards-Version: 4.6.2
+Standards-Version: 4.7.4
Vcs-Browser: https://salsa.debian.org/java-team/kotlinx-atomicfu
Vcs-Git: https://salsa.debian.org/java-team/kotlinx-atomicfu.git
Homepage: https://github.com/Kotlin/kotlinx-atomicfu
=====================================
debian/patches/003-fix-transformer-classloader.patch
=====================================
@@ -0,0 +1,21 @@
+Description: Use the transformer class loader to compute common super classes
+ ASM 6.2.1 added a getClassLoader() method to ClassWriter, which CW extends, so
+ the unqualified reference now resolves to it instead of the enclosing
+ AtomicFUTransformer property. getCommonSuperClass() then fails with
+ ClassNotFoundException on every class of the transformed project, and since
+ hasErrors is never reset the classes visited afterwards are copied untransformed.
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/atomicfu-transformer/src/main/kotlin/kotlinx/atomicfu/transformer/AtomicFUTransformer.kt
++++ b/atomicfu-transformer/src/main/kotlin/kotlinx/atomicfu/transformer/AtomicFUTransformer.kt
+@@ -645,8 +645,8 @@
+
+ private inner class CW : ClassWriter(COMPUTE_MAXS or COMPUTE_FRAMES) {
+ override fun getCommonSuperClass(type1: String, type2: String): String {
+- var c: Class<*> = Class.forName(type1.replace('/', '.'), false, classLoader)
+- val d: Class<*> = Class.forName(type2.replace('/', '.'), false, classLoader)
++ var c: Class<*> = Class.forName(type1.replace('/', '.'), false, this at AtomicFUTransformer.classLoader)
++ val d: Class<*> = Class.forName(type2.replace('/', '.'), false, this at AtomicFUTransformer.classLoader)
+ if (c.isAssignableFrom(d)) return type1
+ if (d.isAssignableFrom(c)) return type2
+ return if (c.isInterface || d.isInterface) {
=====================================
debian/patches/series
=====================================
@@ -1,3 +1,3 @@
001-fix-for-newer-gradle-plugin.patch
002-build-system-changes.patch
-
+003-fix-transformer-classloader.patch
=====================================
debian/watch
=====================================
@@ -1,3 +1,4 @@
-version=4
-opts="mode=git" \
-https://github.com/Kotlin/kotlinx.atomicfu refs/tags/v?@ANY_VERSION@
+Version: 5
+Source: https://github.com/Kotlin/kotlinx.atomicfu
+Matching-Pattern: refs/tags/v?@ANY_VERSION@
+Mode: git
View it on GitLab: https://salsa.debian.org/java-team/kotlinx-atomicfu/-/compare/d713f2e9e672bdacad20fd36da8afd326573e931...f1e902f938298664c72f2ea1a31ddd9160f86d92
--
View it on GitLab: https://salsa.debian.org/java-team/kotlinx-atomicfu/-/compare/d713f2e9e672bdacad20fd36da8afd326573e931...f1e902f938298664c72f2ea1a31ddd9160f86d92
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20260930/a5737dd1/attachment.htm>
More information about the pkg-java-commits
mailing list