Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] RFC - Withdrawing compiler support for older versions of Java levels
  • From: "Sankaran, Srikanth" <srikanth.sankaran@xxxxxxxxxxxxx>
  • Date: Fri, 29 Mar 2024 08:20:09 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=advantest.com; dmarc=pass action=none header.from=advantest.com; dkim=pass header.d=advantest.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=M8J9I7FEo38ANuibBl3mu+7wuvVAoccY5QN3NlI5ygM=; b=cIRK4eB4p0AJCxE0O7Z6i8B7+OBQDD7SZjN15SLM3i4cYfp+K9XBPmebe0yg6MrOcYgeeDMW3I9VpUalwYP4JB7lBehZksckmxUoZHjNSNPncn5L9grbV1DAM7guI2xAxCnl6oAQ5Ad4ZnpzHEU+oMUhHHXodly2EQV1+BLUD4iZPe0nCHIsHjtPBnkfLSM6BvPBgtXbjnRp16wHRRAYiN+9Lft4wOyeEldZrIyC0RZV6fv0Qwv7/lsU+SfT5fkf4xwXXiU/XefSxc1t6nDiCEsuTVs0A875J7jmEl0g+N+SA4FyNl/5DTLEKurRoovWTrUwi6Gs96i9suU6Kd6ufQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OIO1oaZe7Tt1YJeMzpQArwxidmKGVSOJcyd5f/U5g0z7TZF6pCGtJYE95wE4avFrJ+0e57ZlIvPtbD5PmzPCTVt8wufA0/n09zmz48Ctj0E1Xwn/nRVIHDW3koOIKFir1SPDGry9As3SIIr95YQ37irWwBFzW091mVRr8GbNJaxYb4rHxQTN4yx6jBI3nma88cDkqN7zKPOurND4kTGduY8M9sxv+ZUhBGeXl7naxj6Xbcfmlt95w4wKlu5fPRdcqKs1Rv/W8RfKSk71/3JYtspwS8U+TK/M5xtVMmyhvtF9d94zAe75xkrbrjgiE0Z/gcOduJQjRFHXciwgWKnt7w==
  • Delivered-to: jdt-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/jdt-dev/>
  • List-help: <mailto:jdt-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jdt-dev>, <mailto:jdt-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jdt-dev>, <mailto:jdt-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdqA+hbZpoz1y2qLSty5E8eFrI4jUgAIJfIAACXIPLA=
  • Thread-topic: [jdt-dev] RFC - Withdrawing compiler support for older versions of Java levels

Thanks! I will summarize once the discussion dies down including opinions from that discussion.

 

Srikanth

 

From: jdt-dev <jdt-dev-bounces@xxxxxxxxxxx> On Behalf Of Stephan Herrmann via jdt-dev
Sent: Thursday, March 28, 2024 7:48 PM
To: jdt-dev@xxxxxxxxxxx
Cc: Stephan Herrmann <stephan.herrmann@xxxxxxxxx>
Subject: Re: [jdt-dev] RFC - Withdrawing compiler support for older versions of Java levels

 

CAUTION: This email was sent from outside of Advantest.

 

Have you seen https://github.com/eclipse-jdt/eclipse.jdt.core/discussions/820 ?

On 28.03.24 11:25, Sankaran, Srikanth via jdt-dev wrote:

Hello!

 

Greetings.

 

I am a committer on the JDT/Core project – specifically focussed on the Eclipse Compiler for Java.

 

  1. I invite comments and objections with justifications to a hypothetical removal of support

for compiling “ancient” Java code using the latest versions of ECJ or Eclipse IDE/SDK.

 

Presently, using  window/project preferences, you can configure the compiler to use

ancient versions of Java for

 

  1. Compiler compliance level : Currently supports all the way back to 1.3
  2. Source compatibility: Currently supports all the way back to 1.3
  3. Generated .class file compatibility : Currently supports all the way back to 1.1 and CLDC 1.1

 

Eclipse compiler code can be modernized quite a bit by dropping support for ancient versions.

By reducing code clutter, we can also bring down the maintenance burden and flatten the learning curve.

Testing cycles will also come down. Currently when a JDT committer runs tests locally, tests are run at all

supported levels.

 

As a comparison, javac from JDK22 does not support source levels below 8. I am proposing we do the same.

 

  1. Independently, I would also like to hear comments/objections with justifications for removing support

for CLDC_1_1 as a target. Most folks I check with haven’t even heard of this configuration (embedded ??)

 

Past versions of Eclipse SDK/IDE and ecj.jar’s will continue to be hosted at their usual habitat. We are only talking

about newer evolving version of Eclipse/ECJ

 

Thanks!

Srikanth

 

 



_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jdt-dev

Back to the top