Skip to content

Commit

Permalink
Add test from i19007
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneFlesselle committed Nov 25, 2023
1 parent 0f2f9f9 commit b61e010
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/pos/i19007/MyRunConfigurationScala.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

class MyRunConfigurationScala extends RunConfigurationBase
4 changes: 4 additions & 0 deletions tests/pos/i19007/RunConfiguration.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

public interface RunConfiguration extends Cloneable {
RunConfiguration clone();
}
6 changes: 6 additions & 0 deletions tests/pos/i19007/RunConfigurationBase.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
public abstract class RunConfigurationBase<T> extends UserDataHolderBase implements RunConfiguration {
@Override
public RunConfiguration clone() {
return null;
}
}
8 changes: 8 additions & 0 deletions tests/pos/i19007/UserDataHolderBase.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import java.util.concurrent.atomic.AtomicReference;

public class UserDataHolderBase extends AtomicReference<String> {
@Override
protected Object clone() {
return null;
}
}

0 comments on commit b61e010

Please sign in to comment.