Sean McNamara wrote:
> Hi,
>
> Few questions about the current version of JNC:
> 1. What is the state of J2SE 1.6 compatibility with JNC? (clearly, any
> code that compiles on Java 1.5 is supposed to work, but I am concerned
> about new classes in the J2SE 1.6 spec, or new semantics in e.g. memory.)
It's not supported. You can't compile any 1.6 code at all, because the
class version will be rejected (changed in GCJ trunk).
For new classes, you'll have to wait for GNU Classpath...
> 2. Does anyone know of a good (hopefully free) tool to reweave Java 1.6
> code into Java 1.5 code, much like previous tools have been able to step
> from 1.5 to 1.4? I am not so concerned about performance, but rather,
> the ability to use 1.6 constructs and classes and then distribute such a
> program with JNC.
I don't know any tools.
> 3. Would it be possible to build in all of the enhancements to AWT/Swing
> support that JNC provides, to a current snapshot of gcc, which is
> forging ahead with new (and possibly broken ;)) support for Java 1.6
> classes and semantics?
No, that wouldn't make sense. Now that Sun GPLed their codebase, we have
to wait for GNU Classpath to import Suns code. But I don't know the
status of that work.
> Basically, I don't want to lose any of Marco's enhancements when I
> rebuild gcc myself, but would like some guidance on *getting* Java 1.6
> support in JNC apps if it's not already available.
Compiling GCC yourself will allow you to compile 1.6 code as long as you
avoid classes that are not yet supported. If you want to have
AWT/Swing support, you have to check if the GNU Classpath guys have made
some progress or import it yourself.
Marco
> Just so you're not in the dark, here are the major libraries my projects
> use:
>
> 1. SWT
> 2. AWT/Swing (though never at the same time as SWT)
> 3. Jawin
> 4. Pretty brave use of concurrency
> 5. Apache Commons stuff (just Collections for now)
> 6. JDBC drivers (currently only need Pure Java ones, but no guarantees I
> won't need one with a native component in the future)
>
> Thanks,
>
> -Sean
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> javaCompiler-users mailing list
> jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javacompiler-users
|