Skip to content

Commit 85852d5

Browse files
committed
Fixed: Remove references to the no more used 'sun.util.calendar.*' package from (commented out) JVM argument and from serialization allow list
1 parent 25e449d commit 85852d5

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ application {
123123
? jvmArgs.tokenize()
124124
: ['-Xms128M','-Xmx1024M',
125125
'-Djdk.serialFilter=maxarray=100000;maxdepth=20;maxrefs=1000;maxbytes=500000', // OFBIZ-12592 and OFBIZ-12716
126-
// '--add-exports=java.base/sun.util.calendar=ALL-UNNAMED', // OFBIZ-12721
127126
'--add-opens=java.base/java.util=ALL-UNNAMED' // OFBIZ-12726
128127
]
129128
}

framework/base/config/SafeObjectInputStream.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# . don't forget to add new objects in SafeObjectInputStream class too (as default there).
2828
# . "foo" and "SerializationInjector" are used in OFBiz tests
2929

30-
allowList=byte\\[\\], foo, SerializationInjector, \\[Z,\\[B,\\[S,\\[I,\\[J,\\[F,\\[D,\\[C, java..*, sun.util.calendar..*, org.apache.ofbiz..*, org.codehaus.groovy.runtime.GStringImpl, groovy.lang.GString
30+
allowList=byte\\[\\], foo, SerializationInjector, \\[Z,\\[B,\\[S,\\[I,\\[J,\\[F,\\[D,\\[C, java..*, org.apache.ofbiz..*, org.codehaus.groovy.runtime.GStringImpl, groovy.lang.GString
3131

3232
#-- List of strings rejected for serialisation
3333
#-- The same comments than for allowList apply to denyList

0 commit comments

Comments
 (0)