Skip to content

Conversation

@rucko24
Copy link
Contributor

@rucko24 rucko24 commented Oct 23, 2025

Prevents a null value from being returned in Linux when the cache name (cacheName) does not match the directory that will contain the JDK downloaded by JdkDownloader.

public static String getJmodPath() throws IOException {
        return getJdkHome() <1>
            .resolve("jmods")
            .toString();
}

<1> Throw the NPE right here.

  • Tested only on Ubuntu 24.04.3 LTS
  • I get the feeling that JdkDownloader could be a utility class, with the annotation @UtilityClass.

image_2025-10-23_01-57-13
  • After the fix, it lets you obfuscate again.
Grabacion.de.pantalla.desde.2025-10-23.02-25-43.webm

@rucko24 rucko24 force-pushed the fix/linux-cache-name branch from ac565f6 to ea63639 Compare October 23, 2025 00:13
@rucko24 rucko24 changed the title 🐛 When the cacheName doesn't match the name of the downloaded JDK 🐛 When the cacheName doesn't match the name of the downloaded JDK in Linux Oct 23, 2025
@terminalsin
Copy link
Member

sick ty

@terminalsin terminalsin merged commit 103f7f5 into skidfuscatordev:master Oct 23, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants