[jboss-dev-forums] [Design of JBoss Build System] - Re: AS5 / Java6 build

adrian@jboss.org do-not-reply at jboss.com
Mon Dec 3 07:05:52 EST 2007


"dimitris at jboss.org" wrote : I saw an org.jboss.resource.adapter.jdbc.jdk6 package introduced, that needs jdk6 to compile. How are we supposed to build/package the distro so that the extra jdk6 classes are included?
  | 
  | a) Have different jdk5 / jdk6 distros ?
  | 
  | b) Compile with jdk6, using -source 1.5 -target 1.5, expect for the jdk6 classes that should be compiled with -source 1.6 -target 1.6 ?
  | 
  | c) other?
  | 

The purpose is just to get it to compile on JDK6. Whether we actually
produce a JDK6 distro is a different question.
e.g. if somebody wants to use the JDBC api methods then it would need
to compiled with JDK6

anonymous wrote : 
  | Also the current jdk6 hudson run fails while testing the profileservice:
  | http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.0.x-TestSuite-sun16/6/artifact/trunk/build/output/jboss-5.0.0.Beta3/server/profileservice/log/
  | 
  | Do we need to set the "sun.lang.ClassLoader.allowArraySyntax" property under jdk6?
  | 

I'd suggest we do that by default. There's likely a lot of thirdparty code
we can't fix (including user code) that is affected by this backward
compatibility breakage by Sun.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109811#4109811

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109811



More information about the jboss-dev-forums mailing list