Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319177 - Support for Java ME compilation
Summary: Support for Java ME compilation
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.6   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-07 14:30 EDT by Gorkem Ercan CLA
Modified: 2017-11-20 14:24 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gorkem Ercan CLA 2010-07-07 14:30:08 EDT
JavaME CLDC applications needs to be compiled to be compatible with either CLDC 1.0 or CLDC 1.1. JDT compiler supports the CLDC 1.1 compatibility already. This is a request to support CLDC 1.0 and preverification on the JDT compiler. Right now MTJ project runs a preverifier (from the emulator environment) after the Java build is completed. The experience of this solution is not good for several reasons. First running an external builder causes problems to users especially on large projects. Preverifiers do not report the error line numbers therefore the error markers can not be placed correctly. 

CLDC compilation and preverification support on JDT would greatly enhance the performance and experience of MTJ project.
Comment 1 Olivier Thomann CLA 2010-07-07 14:41:18 EDT
Do you have a link to a public specification (with a license compatible with EPL) about what needs to be done by the compiler for CLDC1.0 compilation?
Comment 2 Gorkem Ercan CLA 2010-07-07 15:14:54 EDT
Somehow I had the feeling you would ask this :)

JSR 30 http://jcp.org/en/jsr/summary?id=30 defines CLDC 1.0 differences to Java Language specification also explains the off-device preverification. JSR 139 http://jcp.org/en/jsr/summary?id=139 defines the same for CLDC 1.1. However, I am not able to asses if they can be used for an EPL compatible compiler implementation.
Comment 3 Gorkem Ercan CLA 2010-11-15 04:48:30 EST
Olivier, if the CLDC specification is not suitable, I think the book "Programming wireless devices with the Java2 Platform" does an OK job explaining the class format. Google books also has the related section on the following link
http://books.google.com/books?id=Zs9cEJ26gOMC&lpg=PP1&dq=programming%20wireless%20devices&pg=PA46#v=onepage&q&f=false
Comment 4 Gorkem Ercan CLA 2017-11-20 14:24:01 EST
Closing as CLDC 1.0 is not used anymore.