Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
* Constructor required by Ehcache 3's serializer contract.
*
* @param loader
* the class loader to use when deserialising objects
* the class loader supplied by Ehcache; currently unused
*/
public ObjectSerializer(ClassLoader loader) {
// class loader is not used; standard ObjectInputStream resolves classes through the context class loader
public ObjectSerializer(@SuppressWarnings("unused") ClassLoader loader) {
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Comment thread
hazendaz marked this conversation as resolved.
Dismissed
// Intentionally unused; Java serialization uses the default class resolution mechanism.
}

@Override
Expand Down