Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 93124 invoked from network); 6 Sep 2007 12:03:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Sep 2007 12:03:24 -0000 Received: (qmail 62803 invoked by uid 500); 6 Sep 2007 12:03:17 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 62769 invoked by uid 500); 6 Sep 2007 12:03:17 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 62760 invoked by uid 99); 6 Sep 2007 12:03:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 05:03:17 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gshimansky@gmail.com designates 209.85.198.187 as permitted sender) Received: from [209.85.198.187] (HELO rv-out-0910.google.com) (209.85.198.187) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 12:03:13 +0000 Received: by rv-out-0910.google.com with SMTP id k20so132086rvb for ; Thu, 06 Sep 2007 05:02:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=w+wcQmszAl9/axyMSen99y36nYbiCDNqde/5HikHaZI=; b=nJoc0z087lAoO34OX3sErzX9IPH26/Lz41ZidVpp8l8C/IyoFgUcY/ve6DMK9+UwjUFslJ+gA+KmWt9/hZYBmNqFOzZ+dgx/1X9uCaJeEf+T7NcaApwJ88JSDcmOY/EbTLid+yjtkRRrlcGRRrB8zQCUOa5RB1ocBLpB5jlHZvo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=ZMus/ckYMwhOiT5lIArcG/i3qbqTEuVB7jFbsJOdB2Hq/JxwZR6J4yHjSF8QtLUS3/SZHg6Ocjznc5T/uG+ODmV1wHibvGO/yaYDXtH2IQHoYotq+R7OL5WeZkF4QCv9u9AmQBqiBrt4nwCZWQkyEQRV4x5QZG1bMik7+ku1pek= Received: by 10.140.141.15 with SMTP id o15mr207598rvd.1189080172376; Thu, 06 Sep 2007 05:02:52 -0700 (PDT) Received: from ?127.0.0.1? ( [140.211.11.9]) by mx.google.com with ESMTPS id c36sm12010771rvf.2007.09.06.05.02.48 (version=SSLv3 cipher=RC4-MD5); Thu, 06 Sep 2007 05:02:51 -0700 (PDT) Message-ID: <46DFEC63.7020709@gmail.com> Date: Thu, 06 Sep 2007 16:02:43 +0400 From: Gregory Shimansky User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: dev@harmony.apache.org Subject: Re: [drlvm] DRLVM should accept Java6 classes now References: <46DD72E3.9060108@gmail.com> <6e47b64f0709042159r39240301m220ac43c992599be@mail.gmail.com> <46DE8E11.3060909@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Yuri Dolgov wrote: > Hello Gregory, > > I'm not sure what is the reason to support classes with version 50 if don't > support > Java 6 features? Maybe it worth to make this changes in separate Java 6 > branch to > prevent confisions? Looking at the Sun's list of enhancements for Java6 [1] I found non features specific to VM except for a small change in reflection API [2]. So it seems to me that VM in Java5 and Java6 can be the same. [1] http://java.sun.com/javase/6/webnotes/features.html [2] http://java.sun.com/javase/6/docs/technotes/guides/reflection/enhancements.html > On 9/5/07, Gregory Shimansky wrote: >> Stepan Mishura wrote: >>> On 9/4/07, Gregory Shimansky wrote: >>>> Hello >>>> >>>> As of revision 572698 DRLVM should not throw UnsupportedClassVersion >>>> when it sees a class file compiled with Java6 compiler (or with -target >>>> 1.6 by ECJ 3.3). These class files should work with no problems with >> DRLVM. >>> Sould we create a java6 branch for DRL VM (as we did for classlib) and >>> move your update to the branch? >> I don't think this deserves a real branch. The fact that VM accepts >> classes of version 50 doesn't mean it is Java6 compliant. It also >> doesn't make it non-Java5 VM in any way. >> >> On the other hand, if we make changes like in [1] it may break >> compatibility with older Java5 code, and in such case we'll maybe want >> to create a separate branch. >> >> [1] >> >> http://java.sun.com/javase/6/docs/technotes/guides/reflection/enhancements.html >> >>>> For testing I used classlib (trunk) compiled with ECJ 3.3 with -source >>>> 1.6 -target 1.6 and all VM acceptance tests compiled with Sun's javac >>>> from JDK 6.0. >>>> >>>> -- >>>> Gregory >>>> >> >> -- >> Gregory >> >> > -- Gregory