[Mulgara-dev] Java 1.7

Benjamin Hysell BenH at viewpointusa.com
Fri May 11 15:38:05 UTC 2012


I was able to compile under 1.6, so I think I have everything setup properly to do a compile, but there still may be some user error on my part.  Screen dump from my 1.7 compile:
   
[javacc] Java Compiler Compiler Version 4.0 (Parser Generator)
   [javacc] (type "javacc" with no arguments for help)
   [javacc] Reading from file C:\Jobs\Workspace\Mulgara-Trunk\src\jar\util\java\
org\mulgara\util\conversion\html\HTMLParser.jj . . .
   [javacc] File "TokenMgrError.java" does not exist.  Will create one.
   [javacc] File "ParseException.java" does not exist.  Will create one.
   [javacc] File "Token.java" does not exist.  Will create one.
   [javacc] File "SimpleCharStream.java" does not exist.  Will create one.
   [javacc] Parser generated successfully.
    [javac] Compiling 97 source files to C:\Jobs\Workspace\Mulgara-Trunk\obj\jar
\util\classes
    [javac] warning: [options] bootstrap class path not set in conjunction with
-source 1.5
    [javac] C:\Jobs\Workspace\Mulgara-Trunk\src\jar\util\java\org\mulgara\util\i
o\MappingUtil.java:28: warning: Cleaner is internal proprietary API and may be r
emoved in a future release
    [javac] import sun.misc.Cleaner;
    [javac]                ^
    [javac] C:\Jobs\Workspace\Mulgara-Trunk\src\jar\util\java\org\mulgara\util\M
emoryResultSet.java:65: error: MemoryResultSet is not abstract and does not over
ride abstract method <T>getObject(String,Class<T>) in ResultSet
    [javac] public class MemoryResultSet extends AbstractMulgaraResultSet
    [javac]        ^
    [javac]   where T is a type-variable:
    [javac]     T extends Object declared in method <T>getObject(String,Class<T>
)
    [javac] C:\Jobs\Workspace\Mulgara-Trunk\src\jar\util\java\org\mulgara\util\i
o\MappingUtil.java:146: warning: Cleaner is internal proprietary API and may be
removed in a future release
    [javac]             Cleaner cleaner = (Cleaner)getCleanerMethod.invoke(buffe
r, new Object[0]);
    [javac]             ^
    [javac] C:\Jobs\Workspace\Mulgara-Trunk\src\jar\util\java\org\mulgara\util\i
o\MappingUtil.java:146: warning: Cleaner is internal proprietary API and may be
removed in a future release
    [javac]             Cleaner cleaner = (Cleaner)getCleanerMethod.invoke(buffe
r, new Object[0]);
    [javac]                                ^
    [javac] Note: C:\Jobs\Workspace\Mulgara-Trunk\obj\jar\util\java\org\mulgara\
util\conversion\html\HTMLParser.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
    [javac] 4 warnings

BUILD FAILED
C:\Jobs\Workspace\Mulgara-Trunk\build.xml:325: The following error occurred whil
e executing this line:
C:\Jobs\Workspace\Mulgara-Trunk\src\jar\util\build.xml:69: Compile failed; see t
he compiler error output for details.

Total time: 45 seconds

-----Original Message-----
From: mulgara-dev-bounces at mulgara.org [mailto:mulgara-dev-bounces at mulgara.org] On Behalf Of Paul Gearon
Sent: Friday, May 11, 2012 11:28 AM
To: Mulgara Developers
Subject: Re: [Mulgara-dev] Java 1.7

Interesting question.

No, I haven't tried it. I use a Mac these days, so I tend to stick to whatever version Apple is touting at the time (currently 1.6.0_31). I know there's a package for Java 1.7 on Mac, so I should give it a go.

What sort of errors are coming up?

Paul

On Fri, May 11, 2012 at 11:08 AM, Benjamin Hysell <BenH at viewpointusa.com> wrote:
> Has anyone tried to compile/run against Java 1.7?  I pulled it down 
> and gave it a shot, but it seemed pretty unhappy trying to compile the 
> trunk out of svn, but wasn't sure if it was compiled if the output 
> could be run against 1.7, or if anyone had any thoughts on the matter.
>
>
>
> Thanks
>
>
> This E-Mail and any attachments thereto may contain confidential, 
> privileged and ITAR controlled information. It is intended solely for 
> the recipient(s) indicated. Any review, use, or distribution by anyone 
> other than the intended recipient(s) is strictly prohibited. If you 
> have received this E-Mail in error or are not the intended recipient, 
> please notify the sender and delete all copies immediately.   ­­
>
> _______________________________________________
> Mulgara-dev mailing list
> Mulgara-dev at mulgara.org
> http://lists.mulgara.org/mailman/listinfo/mulgara-dev
>
_______________________________________________
Mulgara-dev mailing list
Mulgara-dev at mulgara.org
http://lists.mulgara.org/mailman/listinfo/mulgara-dev

This E-Mail and any attachments thereto may contain confidential, privileged and ITAR controlled information. It is intended solely for the recipient(s) indicated. Any review, use, or distribution by anyone other than the intended recipient(s) is strictly prohibited. If you have received this E-Mail in error or are not the intended recipient, please notify the sender and delete all copies immediately.


More information about the Mulgara-dev mailing list