Tuesday January 27, 2009
Joseph D. Darcy's Sun WeblogJoseph D. Darcy's Sun Weblog Project Coin: Small Language Change Proposal Form Available The name of the OpenJDK project hosting small language changes for JDK 7 will be Project Coin. Besides a coin literally being small change, to "coin a phrase" is to create a little bit of new language. The website for the project and its mailing lists will come into being this February. In the mean time, the initial form to use to propose a language change is listed below. If you have an idea for a change, please work on the form and post it the Project Coin mailing list once that gets started. Small language changes I think would improve the language according to the previously discussed criteria include (related Sun bugs in parentheses):
PROJECT COIN SMALL LANGUAGE CHANGE PROPOSAL FORM v1.0 INSTRUCTIONS: For a proposal to be considered, this document must be complete and stand-alone in and of itself. No URLs, citations of papers, etc. can appear except for the limited supplementary information requested in the "REFERENCES" section. A new class file version number can be assumed to be available for -target 7. The proposal must not remove existing features of the language; for example, "Get rid of checked exceptions" would not be considered. As part of being stand-alone, the proposal must not rely on any other language changes that have not already been accepted. AUTHOR(S): Who are you? OVERVIEW
MAJOR ADVANTAGE: What makes the proposal a favorable change? MAJOR BENEFIT: Why is the platform better if the proposal is adopted? MAJOR DISADVANTAGE: There is always a cost. ALTERNATIVES: Can the benefits and advantages be had some way without a language change? EXAMPLES ADVANCED EXAMPLE: Show advanced usage(s) of the feature. DETAILS COMPILATION: How would the feature be compiled to class files? Show how the simple and advanced examples would be compiled. Compilation can be expressed as at least one of a desugaring to existing source constructs and a translation down to bytecode. If a new bytecode is used or the semantics of an existing bytecode are changed, describe those changes, including how they impact verification. Also discuss any new class file attributes that are introduced. Note that there are many downstream tools that consume class files and that they may to be updated to support the proposal! TESTING: How can the feature be tested? LIBRARY SUPPORT: Are any supporting libraries needed for the feature? REFLECTIVE APIS: Do any of the various and sundry reflection APIs need to be updated? This list of reflective APIs includes but is not limited to core reflection (java.lang.Class and java.lang.reflect.*), javax.lang.model.*, the doclet API, and JPDA. OTHER CHANGES: Do any other parts of the platform need be updated too? Possibilities include but are not limited to JNI, serialization, and output of the javadoc tool. MIGRATION: Sketch how a code base could be converted, manually or automatically, to use the new feature. COMPATIBILITY EXISTING PROGRAMS: How do source and class files of earlier platform versions interact with the feature? Can any new overloadings occur? Can any new overriding occur? REFERENCES URL FOR PROTOTYPE (optional): (2009-01-27 09:05:00.0) Permalink Comments [42] |
Calendar
RSS Feeds
All /Annotation Processing /General /Java /JavaOne /Numerics /OpenJDK SearchLinks
NavigationReferersToday's Page Hits: 197 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||