[bionic SRU] Port libjsyntaxpane-java 0.9.6~r156-7 java9 crash to bionic

Bug #1770809 reported by Felix Natter on 2018-05-12
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libjsyntaxpane-java (Ubuntu)
Undecided
Unassigned
Bionic
Undecided
Unassigned

Bug Description

[Impact]

 * Freeplane uses libjsyntaxpane-java for editing groovy and latex content
 * libjsyntaxpane-java-0.9.6~r156-6 is not compatible with Java9; with
   Java9, it crashes at runtime when opening the editor(s).
 * The fix is simple (one patch for java9 fix, one patch for making it
   build without maven) is simple and well tested on Debian unstable
   and Debian testing

[Test Case]

 * Install 'freeplane', add a node with content "\latex $x_2=3$"
   (without quotes), and edit the node with Alt+Enter. Without the fix
   (-6), there will be a popup with an exception. With the fix
   (-6ubuntu1), an editor with syntax highlighting will pop up.

[Regression Potential]

 * In theory, the editor could still not work with the new (-6ubuntu1) version (unlikely, because the fix is well-tested). There is no risk since the current version of libjsyntaxpane-java is completely broken.

[Original Description]

Please sync libjsyntaxpane-java 0.9.6~r156-7 (universe) from Debian unstable (main)

Changelog entries since current bionic version 0.9.6~r156-6:

libjsyntaxpane-java (0.9.6~r156-7) unstable; urgency=medium

  * Fix java 9 problem (ported from https://github.com/nordfalk/jsyntaxpane)
  * Patch out pom.xml to avoid maven build
  * Use debhelper compat level 11
  * Add myself to Uploaders:
  * Declare conformance with standards-version 4.1.4
  * Update Vcs-* to point to salsa
  * Override bad-jar-name and obsolete-url-in-packaging lintians
  * Ignore embedded-javascript-library lintian for javadoc output
    for now, see #883981

 -- Felix Natter <email address hidden> Tue, 24 Apr 2018 19:43:37 +0200

Felix Natter (fnatter) wrote :

This fixes a problem with freeplane, where the LaTeX/Groovy editor does not work.

Thanks and Best Regards!
Felix

Jeremy Bicha (jbicha) wrote :

Felix, this package was automatically synced to Ubuntu 18.10 (development). If you need this bug fixed in Ubuntu 18.04 LTS also, could you follow the SRU procedures?

https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

Changed in libjsyntaxpane-java (Ubuntu):
status: New → Fix Released
Changed in libjsyntaxpane-java (Ubuntu Bionic):
status: New → Incomplete
Simon Quigley (tsimonq2) wrote :

Unsubscribing the Ubuntu Sponsors Team for now as there is nothing to sponsor.

Felix Natter (fnatter) on 2018-05-19
summary: - Sync libjsyntaxpane-java 0.9.6~r156-7 (universe) from Debian unstable
- (main)
+ [bionic SRU] Port libjsyntaxpane-java 0.9.6~r156-7 java9 crash to bionic
Felix Natter (fnatter) wrote :

With this bug report, I would like to create a bionic SRU for the
libjsyntaxpane-java package.

The debdiff is attached. The commit is on the "bionic-SRU" branch:
  https://salsa.debian.org/java-team/libjsyntaxpane-java/commits/bionic-SRU

Please review this as I did not initiate many Ubuntu SRUs.

[Impact]

 * Freeplane uses libjsyntaxpane-java for editing groovy and latex content

 * libjsyntaxpane-java-0.9.6~r156-6 is not compatible with Java9; with
   Java9, it crashes at runtime when opening the editor(s).

 * The fix is simple (one patch for java9 fix, one patch for making it
   build without maven) is simple and well tested on Debian unstable
   and Debian testing

[Test Case]

 * Install 'freeplane', add a node with content "\latex $x_2=3$"
   (without quotes), and edit the node with Alt+Enter. Without the fix
   (-6), there will be a popup with an exception. With the fix
   (-6ubuntu1), an editor with syntax highlighting will pop up.

[Regression Potential]

 * In theory, the editor could still not work with the new (-6ubuntu1) version
   (unlikely, because the fix is well-tested). There is no risk since the current
   version of libjsyntaxpane-java is completely broken.

[Other Info]

 * Anything else you think is useful to include
 * Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board
 * and address these questions in advance

Felix Natter (fnatter) wrote :

Updated the debdiff.

tags: added: bionic patch
Changed in libjsyntaxpane-java (Ubuntu Bionic):
status: Incomplete → New
Felix Natter (fnatter) wrote :

Dear ubuntu-sponsors,

do you still have this SRU on your radar?

Cheers and Best Regards,
Felix

hello Jeremy,

I followed the SRU procedures in:
  https://bugs.launchpad.net/ubuntu/+source/libjsyntaxpane-java/+bug/1770809

for quite some new, but I do not attract any sponsors (not on
#ubuntu-motu, not on #ubuntu-devel). Would you consider sponsoring this?

Many Thanks and Best Regards,
Felix

Jeremy Bicha <email address hidden> writes:
> Felix, this package was automatically synced to Ubuntu 18.10
> (development). If you need this bug fixed in Ubuntu 18.04 LTS also,
> could you follow the SRU procedures?
>
> https://wiki.ubuntu.com/StableReleaseUpdates#Procedure
>
> ** Changed in: libjsyntaxpane-java (Ubuntu)
> Status: New => Fix Released
>
> ** Also affects: libjsyntaxpane-java (Ubuntu Bionic)
> Importance: Undecided
> Status: New
>
> ** Changed in: libjsyntaxpane-java (Ubuntu Bionic)
> Status: New => Incomplete

--
Felix Natter
debian/rules!

Simon Quigley (tsimonq2) on 2018-06-24
description: updated
Simon Quigley (tsimonq2) wrote :

Uploaded to the Bionic queue, after putting the SRU template in the bug description (where the SRU team prefers to see it).

I also made a few minor tweaks, simply because they aren't generally things that justify an SRU. I reverted the Vcs-* update and the addition of your name to Uploaders (the former isn't SRUable in my opinion and the latter isn't something done in Ubuntu).

I also changed the distribution to only be "bionic"; Launchpad will automatically DTRT once accepted.

Thanks for your work, and for your patience on getting this sponsored.

Hello Felix, or anyone else affected,

Accepted libjsyntaxpane-java into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/libjsyntaxpane-java/0.9.6~r156-6ubuntu0.18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in libjsyntaxpane-java (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-bionic
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers