db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1078) Be able to build Derby when JAVA_HOME is set 1.6
Date Wed, 03 May 2006 17:32:47 GMT
    [ http://issues.apache.org/jira/browse/DERBY-1078?page=comments#action_12377601 ] 

Andrew McIntyre commented on DERBY-1078:
----------------------------------------

If I qualify the inherit references to tokenImage in both ij.java and SQLParser.java by adding
their classnames (e.g. in ij.java, tokenImage --> ijConstants.tokenImage, and in SQLParser.java,
tokenImage --> SQLParserConstants.tokenImage) then the tests pass. So, as a workaround
I'd like to sed the classname into the generated file at build time.

This clearly appears to be a JVM issue with IBM JDK 1.3.1, but if there are no objections,
I'd like to put in this workaround until support for JDK 1.3.1 is removed.

> Be able to build Derby when JAVA_HOME is set 1.6
> ------------------------------------------------
>
>          Key: DERBY-1078
>          URL: http://issues.apache.org/jira/browse/DERBY-1078
>      Project: Derby
>         Type: Improvement

>   Components: Build tools
>     Versions: 10.2.0.0
>     Reporter: Rick Hillegas
>     Assignee: Andrew McIntyre
>      Fix For: 10.2.0.0
>  Attachments: derby-1078.diff, derby-1078_part2.diff
>
> Currently, the 1.4 compiler is used to build most of Derby. We use the 1.6 compiler to
(optionally) build the JDBC4 support. If you try to build Derby in a shell window with a 1.6
JAVA_HOME, the 1.4 bits will fail to build. This is because those bits do not satisfy the
JDBC4 contract. In addition, even if you could build those bits under 1.6, the 1.6 class files
would fail to load on a 1.4 vm.
> We need to be able to use 1.6 as our default build environment but still generate jar
files which run on 1.4 and 1.5. There may be compiler switches which allow this. If not, building
in a 1.6 environment could fault in the 1.4 compiler as necessary.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message