Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mat-dev] Next release of Memory Analyzer for Eclipse 2022-06
  • From: Andrew Johnson <andrew_johnson@xxxxxxxxxx>
  • Date: Fri, 17 Jun 2022 15:32:05 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=uk.ibm.com; dmarc=pass action=none header.from=uk.ibm.com; dkim=pass header.d=uk.ibm.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=ImIIux4n45ZUAlv/sqI69CYqOPH2v/Td0NjIyczHHoE=; b=QzP5DvMVZa1qGd9cMGt7DWXUB2kAuEm9RdJ1qQdCusb97hvLRosFimILFVCsvz887G7xrirI7P4jHuw4IJNfhn9NyvhD/+Ra7Yv6IRe01TQQvG8lrLoTXqm4mkYx2HPdK3x6RsYHAFu2X3qFSD0cFyQE5vAxbYi7/B8d1MZPHW3QeZcAxNkadzq1B/yOZ+kdfP3zNtoVBGkarj6KmHIB9kRxUnWDhS4WmwPkFmsS/b9zPpIiFV7XwswEzsaBDY+5U8hhwtD4zc7CwLGm8L9ENjQYzdCl7YEULTOkx/3rQLH6wzVcNvQ2YLLyFKeFMRXBm0W3IZtTPNLIXTThIGI0ug==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VhmoypyItsk5dTgIRVpm6fbFGoyfcgGAwxbZc/q2YEZ74haaq1pxKQf0LCMNNFIgoaebcctTgdmJ6yF5YGAJSI7CUAHtVXxoOMLNFwwp7CnEGNI1cR8w/MdZSPmtgc0Fgb753GIbTRTLDjjm0TU251WzT/4iPlMjDTV8OWoj8f0UXudbpgG8tYV79Z4hz4mKHOLOsfRWOS0lkXV04OuwyGhygXLVGyTj5G0rFTAWViOuC5lKIGkGRMS+rm2cK0YUio6dOgLEqrmzgYcfB79URvvxfC+fkKx1XuA7rH0vlVmFclggcvRJRztwdh9ZLHDIVJV1xwSK6tjxkj2PTTOp7w==
  • Delivered-to: mat-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/mat-dev/>
  • List-help: <mailto:mat-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/mat-dev>, <mailto:mat-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/mat-dev>, <mailto:mat-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdhT+4rwbSbcWOhtRoG8aN74oJZFtAHtX+QgB7WU0sIAACBncAF7o7SQABPzG/cAAhVj8AABijPGAGJUKkA=
  • Thread-topic: Next release of Memory Analyzer for Eclipse 2022-06

With the fix for help, I’ve done a
prepare_simrel_contribution
mat-standalone-packages
mac-sign
mat-promote-release

 

so the files are now at https://download.eclipse.org/mat/1.13.0/

The MAT 1.13.0.202204291409 available from Eclipse 2022-06 doesn’t reference the /mat/latest update site so I don’t think there will be any problem with releasing 1.13.0.202206151457 as the standalone version. They should be functionally identical, and with Java 17 help should work with 1.13.0.202204291409 in Eclipse 2022-06 provided JDT is installed, and works with 1.13.0.202206151457 standalone. We haven’t decided on a date for a next MAT release, and more people will be using Java 17 over the next few months, so working help is important.

 

I’ll update the MAT website with the new download links assuming the downloads look okay.

 

Andrew Johnson

 

From: mat-dev <mat-dev-bounces@xxxxxxxxxxx> On Behalf Of Kevin Grigorenko
Sent: 15 June 2022 17:30
To: Memory Analyzer Dev list <mat-dev@xxxxxxxxxxx>
Subject: [EXTERNAL] Re: [mat-dev] Next release of Memory Analyzer for Eclipse 2022-06

In my opinion, if it’s only broken for Java 17 and we haven’t received any complaints for this on MAT 1.12, then I don’t think it’s worth the effort as we can just suggest people use Java 11 until MAT 1.14.

 

-- 

Kevin Grigorenko

IBM App Platform SWAT

 

 

From: mat-dev <mat-dev-bounces@xxxxxxxxxxx> on behalf of Andrew Johnson <andrew_johnson@xxxxxxxxxx>
Date: Wednesday, June 15, 2022 at 11:22 AM
To: Memory Analyzer Dev list <mat-dev@xxxxxxxxxxx>
Subject: Re: [mat-dev] Next release of Memory Analyzer for Eclipse 2022-06

It’s not quite as straightforward for the 1.13.0 release.

 

I made the change and the snapshot build looks good, and the help works with Java 17 (tested on Windows).

However the mat-standalone-packages build is designed to take as the input the repo we used for the Eclipse simultaneous release, so for 2022-06 is download.eclipse.org/mat/2022-06/M2/

This has the plugins, and the features, including org.eclipse.mat.ui.rcp.feature_1.13.0.202204291409.jar which is the previous version without the mention of org.eclipse.jdt.core

This means that when mat-standalone-packages builds the zips then org.eclipse.jdt.core is not included, and the help problem occurs with Java 17.

 

So we could copy the latest snapshot build to download.eclipse.org/mat/2022-06/standalone/ (to keep it somewhere), and then do a mat-standalone-packages build from there, but the standalone build would then have different dates from the simultaneous release version. The code in /mat/latest/update-site and /mat/1.13.0/update-site would then be later than the code in the main Eclipse site, /releases/2022-06 Would that matter? It’s possible that after installing MAT into Eclipse from /releases/2022-06 that MAT would then see a later version in /mat/latest/update-site which would be offered as an update.

 

Options:

  1. Ship standalone MAT with broken help on Java 17
    1. Run mat-standalone-packages from mat/2022-06/M2
    2. Notarize
    3. Use mat-promote-release to copy to the final locations with a date of 202204291409
  2. Fix the standalone version
    1. Copy the fixed snapshot build using prepare_simrel_contribution to mat/2022-06/standalone
    2. Run mat-standalone-packages from mat/2022-06/standalone update site
    3. Notarize
    4. Use mat-promote-release to copy to the final locations with a date of 202206151457

 

Andrew Johnson

 

From: mat-dev <mat-dev-bounces@xxxxxxxxxxx> On Behalf Of Kevin Grigorenko
Sent: 15 June 2022 15:45
To: Memory Analyzer Dev list <mat-dev@xxxxxxxxxxx>
Subject: Re: [mat-dev] Next release of Memory Analyzer for Eclipse 2022-06

If the solution is just the extra org.eclipse.jdt.core dependency, then that seems reasonable. Some users run MAT on intranets without internet access and I have seen them use help contents in some cases and in that case, the workaround of “Install New Software } Eclipse 2022-03 } Eclipse Java Development Tools” won’t work (unless they download an offline update site for that which isn’t easy).

 

-- 

Kevin Grigorenko

IBM App Platform SWAT

 

 

From: mat-dev <mat-dev-bounces@xxxxxxxxxxx> on behalf of Andrew Johnson <andrew_johnson@xxxxxxxxxx>
Date: Wednesday, June 15, 2022 at 12:29 AM
To: Memory Analyzer Dev list <mat-dev@xxxxxxxxxxx>
Subject: [EXTERNAL] Re: [mat-dev] Next release of Memory Analyzer for Eclipse 2022-06

I have tagged the source and run the standalone packaging build and added 1.13 as a version to Bugzilla

I have now found a problem with the standalone version (not a problem for MAT installed into Eclipse).

 

580157: Help fails with HTTP ERROR 500 org.apache.jasper.JasperException: PWC6033 with Java 17

https://bugs.eclipse.org/bugs/show_bug.cgi?id=580157

 

This problem also occurs with MAT 1.12.0 and Java 17, but no one has reported it over the past year. Do we live with this problem, caused by the following, or attempted to work around it by “- a workaround: you should add the org.eclipse.jdt.core as a dependency to your project. (yes, it's an extra 7MB)”. I think it is just a case of adding the plugin to org.eclipse.mat.ui.rcp.feature/feature.xml


574937: [17] org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP PWC6197: org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException

https://bugs.eclipse.org/bugs/show_bug.cgi?id=574937

 

578221: HTTP ERROR 500 org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP PWC6197: An error occurred at line: 41 in the jsp file: /index.jsp PWC6199: Generated servlet error: System cannot be resolved

https://bugs.eclipse.org/bugs/show_bug.cgi?id=578221

 

The release review is ongoing: https://projects.eclipse.org/projects/tools.mat/reviews/1.13.0-release-review

 

Andrew Johnson

 

 

 

Unless otherwise stated above:

IBM United Kingdom Limited
Registered in England and Wales with number 741598
Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU

Unless otherwise stated above:

IBM United Kingdom Limited
Registered in England and Wales with number 741598
Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU

Unless otherwise stated above:

IBM United Kingdom Limited
Registered in England and Wales with number 741598
Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU

Back to the top