This content has been marked as final.
Show 4 replies
-
1. Re: Don't use internal JDK classes
alesj Mar 20, 2008 5:37 PM (in response to adrian.brock)"adrian@jboss.org" wrote:
Very Wrong:
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/microcontainer/trunk/kernel/src/main/org/jboss/kernel/plugins/dependency/AbstractKernelControllerContext.java?r1=64949&r2=65533
Yeah, didn't follow that was Sun's class. :-(
btw: what other JDK are you running MC against? -
2. Re: Don't use internal JDK classes
adrian.brock Mar 20, 2008 5:48 PM (in response to adrian.brock)"alesj" wrote:
"adrian@jboss.org" wrote:
Very Wrong:
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/microcontainer/trunk/kernel/src/main/org/jboss/kernel/plugins/dependency/AbstractKernelControllerContext.java?r1=64949&r2=65533
Yeah, didn't follow that was Sun's class. :-(
btw: what other JDK are you running MC against?
I didn't have to (most other JDKs use Sun's classes anyway :-)
sun.* is unsupported stuff
com.sun.* is their stable api - but even then don't use it unless it is pluggable/replacable. -
3. Re: Don't use internal JDK classes
adrian.brock Mar 20, 2008 5:57 PM (in response to adrian.brock) -
4. Re: Don't use internal JDK classes
alesj Mar 20, 2008 6:07 PM (in response to adrian.brock)"adrian@jboss.org" wrote:
So the JDK compiler gives a warning.
Hint taken. ;-)
btw: already got IDEA pimped with -Xlint
I guess that suggestion with Eclipse made me think. :-)