Skip to content

Commit

Permalink
Adding more whitelisted classes
Browse files Browse the repository at this point in the history
  • Loading branch information
msx80 committed Jun 23, 2022
1 parent c615d26 commit 98c7c46
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.msx80</groupId>
<artifactId>wiseloader</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>

<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public class WhitelistedJDKClasses {

public static final String[] LIST =
{

"java.math.BigInteger",
"java.math.BigDecimal",
"java.io.ByteArrayInputStream",
Expand Down Expand Up @@ -40,6 +40,7 @@ public class WhitelistedJDKClasses {
"java.lang.IllegalArgumentException",
"java.lang.String",
"java.lang.StringBuilder",
"java.lang.StringBuffer",
"java.lang.Throwable",
"java.lang.invoke.LambdaMetafactory",
"java.lang.invoke.StringConcatFactory", // TODO check this one
Expand Down Expand Up @@ -72,7 +73,11 @@ public class WhitelistedJDKClasses {
"java.util.regex.Pattern",
"java.util.stream.Collectors",
"java.util.stream.Stream", // imports java.nio.file.Files and java.nio.file.Path but doesn't seems to use it

"java.io.Externalizable",
"java.lang.Cloneable",
"java.lang.UnsupportedOperationException",
"java.text.DecimalFormat",
"java.text.NumberFormat"
};


Expand Down

0 comments on commit 98c7c46

Please sign in to comment.