myFaces and sun jsf

Hello,if I only use myFaces and not jsf from sun, am I allowed to use this code ?import javax.faces.context.FacesContext;...FacesContext context = FacesContext.getCurrentInstance();thanks
[262 byte] By [hamidagaa] at [2007-11-27 5:12:41]
# 1
MyFaces implements JSF RI and adds some extensions. So yes, you can.
BalusCa at 2007-7-12 10:33:49 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
merci
hamidagaa at 2007-7-12 10:33:49 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
To be clear: *both* the JSF RI and Myfaces implement the JSF specification.
rlubkea at 2007-7-12 10:33:49 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...