// TESTING: testing a pure marker interface - no methods added
import org.aspectj.lang.annotation.*;
public class CaseT {
public static void main(String[]argv) {
CaseT ct = new CaseT();
System.out.println(ct instanceof I);
System.out.println(ct instanceof J);
}
}
aspect X {
@DeclareMixin(value="CaseT",interfaces={I.class})
public static C createImplementation1() {return null;}
}
interface I {}
interface J {}
class C implements I,J {
public void foo() {
System.out.println("foo() running");
}
public void goo() {
System.out.println("goo() running");
}
}
e='hidden' name='id' value='0125a1a77135813ca7ae93a1571c6919d640d72b'/>
#!/bin/sh## $Id$## PROVIDE: rspamd# REQUIRE: LOGIN# KEYWORD: shutdown## Add the following line to /etc/rc.conf to enable countd:# rspamd (bool): Set to "NO" by default.# Set it to "YES" to enable rspamd.
./etc/rc.subr
name="rspamd"rcvar=`set_rcvar`procname="@CMAKE_INSTALL_PREFIX@/bin/rspamd"restart_precmd="rspamd_checkconfig"reload_precmd="rspamd_checkconfig"configtest_cmd="rspamd_checkconfig"reopenlog_cmd="reopenlog_cmd"
load_rc_config$name
:${rspamd_enable="NO"}
:${rspamd_pidfile="/var/run/rspamd/rspamd.pid"}
:${rspamd_run_user="@RSPAMD_USER@"}
:${rspamd_run_group="@RSPAMD_GROUP@"}pidfile="$rspamd_pidfile"stop_postcmd="rm -f $rspamd_pidfile"
rspamd_checkconfig(){echo"Performing sanity check on rspamd configuration:"eval${command}-t
}
reopenlog_cmd(){pkill-USR1-F$rspamd_pidfile}extra_commands="reload configtest reopenlog"sig_reload="HUP"command="$procname"command_args="-u ${rspamd_run_user} -g ${rspamd_run_group} -c @CMAKE_INSTALL_PREFIX@/etc/rspamd.xml"
run_rc_command"$1"