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

javascript - Iterate over array and calculate average values of array-parts -

ASP.NET Javascript: window.open won't work twice -

jquery - Opera does not change the height of the page. Why? -