Skip to content

Commit

Permalink
fix: package-private GraalvmFeature.java
Browse files Browse the repository at this point in the history
  • Loading branch information
iseki0 committed Mar 26, 2024
1 parent 2c86155 commit f38eb4a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/space/iseki/cmdpipe/GraalvmFeature.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
import org.graalvm.nativeimage.hosted.RuntimeResourceAccess;

@SuppressWarnings("unused")
public class GraalvmFeature implements Feature {
class GraalvmFeature implements Feature {
@Override
public void duringSetup(DuringSetupAccess access) {
var unnamedModule = this.getClass().getClassLoader().getUnnamedModule();
RuntimeResourceAccess.addResource(unnamedModule, "space/iseki/cmdpipe/TextualFormatter.properties");
RuntimeResourceAccess.addResource(unnamedModule, "space/iseki/cmdpipe/TextualFormatter_zh.properties");
}

}

0 comments on commit f38eb4a

Please sign in to comment.