Skip to content

Commit 8f1f261

Browse files
committed
Merge branch 'hotfix-0.4.3'
2 parents 0c7bd12 + da87d6b commit 8f1f261

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
lines changed

bombe/src/main/java/org/cadixdev/bombe/jar/ClassLoaderClassProvider.java

+2
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ public byte[] get(final String klass) {
5555
final String internalName = klass + ".class";
5656

5757
try (final InputStream in = this.loader.getResourceAsStream(internalName)) {
58+
if (in == null) return null;
59+
5860
final ByteArrayOutputStream baos = new ByteArrayOutputStream();
5961
ByteStreams.copy(in, baos);
6062
return baos.toByteArray();

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ subprojects {
1616

1717
group = 'org.cadixdev'
1818
archivesBaseName = project.name.toLowerCase()
19-
version = '0.4.2'
19+
version = '0.4.3'
2020

2121
repositories {
2222
mavenCentral()

changelogs/0.3.4.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Bombe 0.3.4
2+
===========
3+
4+
Bombe 0.3.4 resolves a regression made when splitting up the previous systems in
5+
Bombe 0.2.x, specifically a `NullPointerException` that can occur when using
6+
`ClassLoaderClassProvider`.
7+
8+
*As Bombe 0.3.x is still in use by the latest version of Lorenz and Atlas, and
9+
used in software running today - this is why a further release to 0.3 is being
10+
made*.

changelogs/0.4.3.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Bombe 0.4.3
2+
===========
3+
4+
Bombe 0.4.3 resolves a regression made when splitting up the previous systems in
5+
Bombe 0.2.x, specifically a `NullPointerException` that can occur when using
6+
`ClassLoaderClassProvider`.
7+
8+
An equivalent change was made in Bombe 0.3.4.

0 commit comments

Comments
 (0)