Java API modification -


i have quick question - possible modify source code of java api e.g. junit, jabx ? know seems stupid question, has been bugging me while.

if can hands on source, sure can modify it. might not best option. might better create subclasses (if possible) , overwrite implementations, , use subclasses. or use composition proxy library classes. depends on need do/fix.

keep in mind if modify source of external library, , upgrade, have modify source again. might have change extensions/proxies if go route, experience has taught me that's typically less complicated.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -