aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVlad Dumitrescu <[email protected]>2014-09-12 12:23:00 +0200
committerVlad Dumitrescu <[email protected]>2014-09-12 12:23:22 +0200
commitb64eb80453cdaac936eba1e46f814f4e8b92f65b (patch)
treee3434710aaf1955d72bf5f855279be251bc70097 /lib
parent457019ac679bb555239c4749da197205857d9f9f (diff)
downloadotp-b64eb80453cdaac936eba1e46f814f4e8b92f65b.tar.gz
otp-b64eb80453cdaac936eba1e46f814f4e8b92f65b.tar.bz2
otp-b64eb80453cdaac936eba1e46f814f4e8b92f65b.zip
OtpErlangList.clone must not return null
Diffstat (limited to 'lib')
-rw-r--r--lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangList.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangList.java b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangList.java
index 3456fd7412..e363fdb457 100644
--- a/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangList.java
+++ b/lib/jinterface/java_src/com/ericsson/otp/erlang/OtpErlangList.java
@@ -326,7 +326,7 @@ public class OtpErlangList extends OtpErlangObject implements
try {
return new OtpErlangList(elements(), getLastTail());
} catch (final OtpErlangException e) {
- return null;
+ throw new AssertionError(this);
}
}