Commit Graph
23 Commits
Author SHA1 Message Date
Phillip Webb d6aac54e2e Polish 'Fix inflater cache race in NestedJarFileResources'
See gh-51744
2026-09-14 17:37:06 -07:00
Ian Kettle b103aaa1f6 Fix inflater cache race in NestedJarFileResources
Update `NestedJarFileResources` to fix a race condition that could
result in a `NullPointerException`.

The methods `getOrCreateInflater` and `endOrCacheInflater` both
synchronize on a local `inflaterCache` variable but attempted to use the
`this.inflaterCache` instance which could be set to null.

The `releaseInflators` method had a synchronized block for ending each
inflater but the cache was being nulled out outside the block meaning that
the other 2 methods mentioned could hit the race condition.

Signed-off-by: Ian Kettle <25729118+icikle@users.noreply.github.com>

See gh-51744
2026-09-14 17:34:45 -07:00
Hyunwoo Jung 528c8bd1ea Fix typos
Signed-off-by: Hyunwoo Jung <hyunwoojung@kakao.com>

See gh-51590
2026-09-07 11:53:30 +01:00
Andy Wilkinson 837f44f764 Return correct total when read(ByteBuffer) cannot fill buffer
Fixes gh-51515
2026-09-01 16:03:12 +01:00
Stéphane Nicoll 59de56d66a Polish "Fix nested archive paths logging in PropertiesLauncher"
See gh-50968
2026-07-21 15:15:43 +02:00
Filip Hrisafov 2578e81796 Fix nested archive paths logging in PropertiesLauncher
See gh-50968

Signed-off-by: Filip Hrisafov <filip.hrisafov@gmail.com>
2026-07-21 14:58:48 +02:00
Andy Wilkinson add52b6ccd Merge branch '3.5.x' into 4.0.x
Closes gh-50439
2026-05-14 15:02:24 +01:00
Phillip Webb 031cf98084 Merge branch '3.5.x' into 4.0.x
Closes gh-50297
2026-05-05 11:21:40 -07:00
Stéphane Nicoll a96bfd6a0b Merge branch '3.5.x' into 4.0.x
Closes gh-49727
2026-03-24 10:29:30 +01:00
Andy Wilkinson 0ffffee4bf Upgrade to Nullability Plugin 0.0.9
Closes gh-48638
2026-01-08 11:59:51 +00:00
Andy Wilkinson 85bbbc99ad Merge branch '3.5.x'
Closes gh-48229
2025-11-21 16:54:25 +00:00
Stéphane Nicoll d1e5fe3248 Merge branch '3.5.x'
Closes gh-48106
2025-11-13 10:31:25 +01:00
Phillip Webb 739cb529fb Merge branch '3.5.x'
Closes gh-47749
2025-10-21 11:30:56 -07:00
Dmytro Nosan bc2ca5b9fc Extend ArchitectureCheck with NullMarkedExtension
Introduce NullMarkedExtension for ArchitectureCheck, which provides
functionality to configure packages to ignore in nullability checks and
to enable or disable the extension.

See gh-47596

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-10-15 08:23:47 +02:00
Andy Wilkinson 53cda6a6a1 Polish "Remove unused SHA-1 hash from UNPACK markers"
See gh-46520
2025-10-03 15:16:36 +01:00
Andy Wilkinson 0b0b742758 Merge branch '3.5.x'
Closes gh-47312
2025-09-24 15:21:40 +01:00
Andy Wilkinson 4aa0d9dcac Merge branch '3.5.x'
Closes gh-47058
2025-09-05 17:31:57 +01:00
Moritz Halbritter c211b88594 Check for @NullMarked on packages
Projects which don't have JSpecify nullability annotations can opt out
by using

architectureCheck {
	nullMarked = false
}

in their build.gradle script.

See gh-46587
2025-08-13 13:27:48 +02:00
Stéphane Nicoll 8f44c89850 Merge branch '3.5.x'
Closes gh-46801
2025-08-12 11:27:56 +02:00
Stéphane Nicoll 203f14e1e4 Polish "Use StringUtils.uriDecode where feasible"
See gh-46751
2025-08-11 10:58:24 +02:00
Phillip Webb 1124497ffa Merge branch '3.5.x' 2025-07-10 19:42:40 -07:00
Phillip Webb 194fe4b644 Merge branch '3.5.x'
Closes gh-46403
2025-07-10 19:19:21 -07:00
Phillip Webb decc32dde3 Restructure project directories to better fit Gradle
Closes gh-46358
2025-07-10 17:54:08 -07:00