Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by topic Blogs and user kohsuke

• Accessibility • Ajax • Blogging • Business • Community 
• Databases • Deployment • Distributed • Eclipse • Education 
• EJB • Extreme Programming • Games • GlassFish • Grid 
• GUI • IDE • Instant Messaging • J2EE • J2ME 
• J2SE • Jakarta • JavaFX • JavaOne • Jini 
• JSP • JSR • JXTA • LDAP • Linux 
• Mobility • NetBeans • Open Source • OpenSolaris • OSGi 
• P2P • Patterns • Performance • Porting • Programming 
• Research • RMI • RSS Feeds • Search • Security 
• Servlets • Struts • Swing • Testing • Tools 
• Virtual Machine • Web Applications • Web Design • Web Development Tools • Web Services and XML 


Tools

(I started cross-posting blogs to my own website.) I was working on Hudson yesterday which led me to develop this little tool called Bridge method injector. When you are writing a library, there are various restrictions about the kind of changes you can make, in order to maintain binary compatibility. One such restriction is an inability to restrict the return type. Say in v1 of your library...
on Aug 7, 2010
(I started cross-posting blogs to my own website.) I did a quick interview with DZone about my new company, InfraDNA, which they published on their website. Thank you DZone for the opportunity!
on Apr 29, 2010
(I started cross-posting blogs to my own website.) As I wrote in my farewell note, I was working on starting a new company around Hudson. It took longer than I initially anticipated, but it's finally open for business! The company will provide two things; one is support, so that I can answer your questions and problem reports in a timely fashion, and the other is consulting, so that I can help...
on Apr 26, 2010
(I started cross-posting blogs to my own website.) My project of the day (or "POTD") is GitHub API for Java — a library for accessing GitHub programmatically. As the Hudson community is embracing plugins developed in Git more and more, I needed to interact with GitHub as a part of the community infrastructure automation. I did a quick Google search to locate existing...
on Apr 18, 2010
My project of the day (or "POTD") is Custom Access Modifier — an annotation and an enforcer that lets you define application-defined custom access modifiers, So let me explain this a bit more. Say you have a library that people use, and say you are thinking about deprecating one of the methods. Yes, you can just put @Deprecated, but that doesn't actually prevent people from...
on Apr 9, 2010
If you are living in San Francisco bay area, or if you are visiting the area for EclipseCon next week, make sure to come to Hudson Hackathon this Friday 3/19 and/or Saturday 3/20. The plan is to meet up, hang out, chat, hack code, and have fun. If you are planning to attend, please RSVP by leaving your name on Wiki. We planned this for two days, so that people doing Hudson for work can come...
on Mar 16, 2010
I've finally managed to produce the Windows installer for Hudson, as originally raised by Håkan Reis. Please try it out and let me know how it works. This one took much longer than the installer for any other platforms, and while I normally think of Microsoft technologies very highly, Windows installers and WiX are a real disappointment. For example, you write the description of the...
on Jan 26, 2010
As a programmer, I spend a lot of time fixing bugs. And a considerable portion of that is the time spent on reproducing a problem. Here is how a typical such session goes. Your user reports that your program doesn't work and throws such and such exception. Or given the symptom he's describing, you suspect some "if" statements to be evaluating to false. If you are lucky and experienced,...
on Nov 8, 2009

Community

I started working for Sun Microsystems since Janurary 2001, when I first came to the US. During these years I was able to work on many different projects, such as MSV, JAXB, JAX-WS, Metro, GlassFish v3, and Hudson, to name a few, with many great people. It was all quite an enjoyable journey. I won't list all those names one by one here, for it will be too long, but if you are one of them, I think...
on Apr 5, 2010
Hudson Hackathon Day 1 is over, and I'm just back to the office. Total of 9 people came and we had a great time talking about infrastructure issues, possible enhancements, design dicussions, exchanging tips and plugins that they've developed, and otherwise building personal relationships. It was a beautiful day outside, and fortunately the meeting room had a lot of Sun lights to create a warm...
on Mar 19, 2010

J2SE

James Lorenzen had an excellent blog post about the importance of a descriptive commit comment. I can't agree more. Unfortunately, I think getting better at leaving better commit messages take trial and error — the way I've learned it is by getting frustrated by the lack of commit messages. So in the spirit of encouraging everyone (including myself) to do a better job, I thought I'd list...
on Feb 25, 2010
ObjectWeb ASM is a great library that's used to parse Java class files. It's used in all kinds of projects, such as Hibernate, Corba, JAX-WS, Jersey, Spring, Hudson, to name a few. But I have a pet peeve to this otherwise great library, namely its insistence on small size (which by itself isn't a bad thing), and its consequences. One of the choices that made to achieve this was to omit the debug...
on Feb 12, 2010
Today I've digged deeper into one of the nastiest problems I ever encounted since I became a Java programmer. The problem was this — I have the Hudson slave agent program, which blocks on stdin for read almost all the time. This process uses other threads to perform other activities (what this thread does is actually driven by what it reads from stdin, but that's irrelevant to this bug...
on Sep 28, 2009
Yesterday, a Hudson committer Alan Harder discovered an EOFException in Hudson, which only happens on 64bit JVM on Solaris. This was happening in the part of Hudson (or more precisely, in a separate library called Akuma) where we look at the memory space of the process to figure out the command line arguments of the current process (the /proc/ID/as file — an equivalent of /proc/ID/mem in...
on Sep 17, 2009

Web Applications

I wrote and deployed an OpenID provider service for java.net users. For those who are new to OpenIDs, this service allows java.net users to log in to other sites by using the java.net ID as the identity (for example, try Stack Overflow.) This eliminates the need to maintain separate passwords for each site, among other things. That said, the primary use case of this service is not to become just...
on Sep 21, 2009