forked from apache/geode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "GEODE-9486: Fix validate-serializable-objects (apache#6746)" (a…
…pache#6816) This reverts commit 3b2c531.
- Loading branch information
Showing
110 changed files
with
1,135 additions
and
2,322 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...tible-with-redis/src/integrationTest/resources/org/apache/geode/codeAnalysis/openBugs.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# This is a list of classes excluded due to open bugs about their having | ||
# incompatible changes. There should be no entries in this file at the | ||
# time of a product release. | ||
|
||
# Each entry should be a bug number followed by a comma and the | ||
# full class name. The package components can be delimited with a period | ||
# or a comma. Don't include ".class" or ".java" at the end of the name. | ||
|
||
# example: 50174,org/apache/geode/distributed/internal/StartupResponseWithVersionMessage | ||
# example: 50175,com.gemstone.org.jgroups.Message$Header | ||
|
||
|
||
# ~~~~~~~~~~~~~~~~~~~ DataSerializables ~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
# these are failures from testDataSerializables | ||
|
||
|
||
# ~~~~~~~~~~~~~~~~~~~ Serializables ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
# these are failures from testSerializables | ||
|
||
|
||
|
43 changes: 43 additions & 0 deletions
43
...th-redis/src/main/java/org/apache/geode/redis/internal/RedisDistributedSystemService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license | ||
* agreements. See the NOTICE file distributed with this work for additional information regarding | ||
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance with the License. You may obtain a | ||
* copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software distributed under the License | ||
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | ||
* or implied. See the License for the specific language governing permissions and limitations under | ||
* the License. | ||
*/ | ||
package org.apache.geode.redis.internal; | ||
|
||
import java.io.IOException; | ||
import java.net.URL; | ||
import java.util.Collection; | ||
|
||
import org.apache.geode.distributed.internal.DistributedSystemService; | ||
import org.apache.geode.distributed.internal.InternalDistributedSystem; | ||
import org.apache.geode.internal.InternalDataSerializer; | ||
import org.apache.geode.internal.classloader.ClassPathLoader; | ||
|
||
public class RedisDistributedSystemService implements DistributedSystemService { | ||
@Override | ||
public void init(InternalDistributedSystem internalDistributedSystem) { | ||
|
||
} | ||
|
||
@Override | ||
public Class getInterface() { | ||
return getClass(); | ||
} | ||
|
||
@Override | ||
public Collection<String> getSerializationAcceptlist() throws IOException { | ||
URL sanctionedSerializables = ClassPathLoader.getLatest().getResource(getClass(), | ||
"sanctioned-geode-apis-compatible-with-redis-serializables.txt"); | ||
return InternalDataSerializer.loadClassNames(sanctionedSerializables); | ||
} | ||
} |
27 changes: 0 additions & 27 deletions
27
...is/src/main/java/org/apache/geode/redis/internal/RedisSanctionedSerializablesService.java
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
...esources/META-INF/services/org.apache.geode.distributed.internal.DistributedSystemService
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
org.apache.geode.redis.internal.RedisDistributedSystemService |
15 changes: 0 additions & 15 deletions
15
.../META-INF/services/org.apache.geode.internal.serialization.SanctionedSerializablesService
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.