db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Army <qoz...@gmail.com>
Subject Re: svn commit: r427293 - in /db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij: Main.java mtTestCase.java utilMain.java utilMain14.java
Date Mon, 31 Jul 2006 22:30:51 GMT
djd@apache.org wrote:
> Modified:
>     db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/Main.java
>     db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/mtTestCase.java
>     db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/utilMain.java
>     db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/utilMain14.java

When I sync up to the latest codeline and do an ant clobber, I see the following 
compile errors:

     [javac] Compiling 2 source files to C:\p4clients\main_codeline\classes
     [javac] 
C:\p4clients\main_codeline\opensource\java\testing\org\apache\derbyTesting\functionTests\tests\lang\wisconsin.java:70:


utilMain(int,org.apache.derby.iapi.tools.i18n.LocalizedOutput,java.util.Hashtable) 
is not public in org.apache.derby.impl.tools.ij.utilMain; cannot be accessed 
from outside package
     [javac]             utilInstance = new utilMain(1, out, (Hashtable)null);
     [javac]                                ^
     [javac] 1 error
     [javac] Compile failed; see the compiler error output for details.

compile:
     [javac] Compiling 4 source files to C:\p4clients\main_codeline\classes
     [javac] 
C:\p4clients\main_codeline\java\com\ibm\db2j\functionTests\smallDevice\IjTest.java:158:
go(org.apache.derby.iapi.tools.i18n.LocalizedInput,org.apache.derby.iapi.tools.i18n.LocalizedOutput,

java.util.Properties) has private access in org.apache.derby.impl.tools.ij.Main
     [javac]     me.go(in, out, (Properties) null);
     [javac]           ^
     [javac] 1 error
     [javac] Compile failed; see the compiler error output for details.

I also noticed (somewhat by chance) that if I try to run ij using Sun jdk131 
with the latest codeline, I see the following:

Exception in thread "main" java.lang.UnsupportedClassVersionError: 
org/apache/derby/impl/tools/ij/Main14 (Unsupported major.minor version 48.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)

Are these errors caused by revision 427293?

svn info
Path: .
URL: http://svn.apache.org/repos/asf/db/derby/code/trunk
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 427335
Node Kind: directory
Schedule: normal
Last Changed Author: djd
Last Changed Rev: 427298
Last Changed Date: 2006-07-31 14:42:26 -0700 (Mon, 31 Jul 2006)
Properties Last Updated: 2006-03-03 15:06:29 -0800 (Fri, 03 Mar 2006)

Army


Mime
View raw message