[cross-project-issues-dev] Errors when running 2018-12 RC2 on Java 11

2018-12-15 Thread Holger Voormann

Hi all,

When running the Eclipse IDE for Java Developers 2018-12 RC2 [1] on Java 
11 (tested on Windows 10 with the Oracle JDK 11.0.1 [2] and the OpenJ9 
OpenJDK 11.0.1+13 [3]) three "FrameworkEvent ERROR" and one "Unexpected 
error while loading repository template extensions" errors are logged 
each time the IDE is started.


This is probably caused by the Mylyn Bugzilla connector that requires 
the javax.xml.bind package ("Import-Package: javax.xml.bind"), which is 
no longer contained in Java 11.


Probably all other packages are also affected since the Bugzilla 
connector is used by the "Report Bug or Enhancement" feature.



Broken features:

(1) "Help > Report Bug or Enhancement...", e. g. "Eclipse.org" + "Next 
>" + "Eclipse Platform" + "Finish"
Error dialog: "Creation of a support request failed. The information for 
the selected product is incomplete."

=> Bug/enhancement cannot be reported.

(2) Task Search ("Search > Search...", tab "Task Search")
Error dialog: "None of the available online repositories support task 
search."

=> Almost empty search page without fields and disabled "Search" button.


Solution:

The bug can be fixed by downloading the following bundles from Eclipse 
Orbit [4] and placing them into the "dropins" folder (the errors will be 
logged one more time after the first start, but the features work 
without restarting):


- javax.xml.bind 2.2.0
- javax.activation 1.1.0
- javax.xml 1.3.4 (only required because javax.xml.bind contains 
'Import-Package: javax.xml; version="[1.3,2.0),..."' instead of 
'Import-Package: javax.xml,...')



Eclipse Code Recommenders and the RSS News feature were removed in RC2 
[5] (which IMHO is a big loss) also use the javax.xml.bind package (e. 
g. here [6] without 'Import-Package: javax.xml.bind' [7]).


It would be great if the final release would be shipped without these 
issues.


Thanks,

Holger

PS: I have already made a trailer (https://youtu.be/79EoseM0GUI) and 
video about the general and Git improvements 
(https://youtu.be/TM9DBinKQdI). Unfortunately, I'm blocked creating a 
video about Java and Gradle improvements by the mentioned issue of not 
knowing if it will be fixed.


PPS: There is another problem when using OpenJ9 OpenJDK 11 with 
"-Xshareclasses" for faster startup: after restarting Eclipse (when the 
cache is used) Java projects are displayed as empty. I haven't looked 
into it yet, but it seems to me to be more of an Eclipse OpenJ9 than an 
Eclipse JDT issue.


[1] 
https://hudson.eclipse.org/packaging/job/simrel.epp-tycho-build/194/artifact/org.eclipse.epp.packages/archive/
[2] 
https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html
[3] 
https://api.adoptopenjdk.net/v2/binary/releases/openjdk11?openjdk_impl=openj9&os=windows&arch=x64&release=latest&type=jdk
[4] 
https://download.eclipse.org/tools/orbit/downloads/drops/R20181128170323/

[5] https://git.eclipse.org/r/#/c/133953/
[6] 
https://github.com/eclipse/recommenders/blob/master/plugins/org.eclipse.recommenders.utils/src/org/eclipse/recommenders/utils/gson/ISO8601DateParser.java#L17
[7] 
https://github.com/eclipse/recommenders/blob/master/plugins/org.eclipse.recommenders.utils/META-INF/MANIFEST.MF

___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev


Re: [cross-project-issues-dev] Errors when running 2018-12 RC2 on Java 11

2018-12-15 Thread Andreas Sewe
Holger Voormann wrote:
> Eclipse Code Recommenders and the RSS News feature were removed in
> RC2 
> [5] (which IMHO is a big loss) also use the javax.xml.bind package
> (e. 
> g. here [6] without 'Import-Package: javax.xml.bind' [7]).

FYI, the Code Recommenders RSS News feature (not the rest of Code
Recommenders) uses the feed reader from Mylyn Commons, so if the bug
could be fixed upstream (i.e., in Mylyn) like you outlined, the News
Feed could be contributed again.

Best wishes,

Andreas
___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev

Re: [cross-project-issues-dev] Errors when running 2018-12 RC2 on Java 11

2018-12-15 Thread Holger Voormann

Hi Andreas,

With this change Code Recommenders (the content assist) runs on Java 11 
(at least on my computer). Unfortunately, I failed to upload a new patch 
set to your Gerrit change . 
Instead I created Gerrit change with with an incomplete patch set by 
mistake: .


I don't know how to track IP for an Orbit bundle that is already used in 
another project and already approved via IPZilla.


I hope someone can take it over here, as I'm not a committer on any of 
these projects.


Thanks,

Holger


Am 15.12.2018 um 21:23 schrieb Andreas Sewe:

Holger Voormann wrote:

Eclipse Code Recommenders and the RSS News feature were removed in
RC2
[5] (which IMHO is a big loss) also use the javax.xml.bind package
(e.
g. here [6] without 'Import-Package: javax.xml.bind' [7]).


FYI, the Code Recommenders RSS News feature (not the rest of Code
Recommenders) uses the feed reader from Mylyn Commons, so if the bug
could be fixed upstream (i.e., in Mylyn) like you outlined, the News
Feed could be contributed again.

Best wishes,

Andreas
___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev



___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev


Re: [cross-project-issues-dev] Errors when running 2018-12 RC2 on Java 11

2018-12-15 Thread Wayne Beaton
Eclipse Code Recommenders has dropped out.

If you're hoping that we'll put Eclipse Code Recommenders back in the
simultaneous release, then we're going to need the project team to engage
with their PMC and the Planning Council to approve adding it back.

Wayne


On Sat, Dec 15, 2018, 16:55 Holger Voormann  Hi Andreas,
>
> With this change Code Recommenders (the content assist) runs on Java 11
> (at least on my computer). Unfortunately, I failed to upload a new patch
> set to your Gerrit change .
> Instead I created Gerrit change with with an incomplete patch set by
> mistake: .
>
> I don't know how to track IP for an Orbit bundle that is already used in
> another project and already approved via IPZilla.
>
> I hope someone can take it over here, as I'm not a committer on any of
> these projects.
>
> Thanks,
>
> Holger
>
>
> Am 15.12.2018 um 21:23 schrieb Andreas Sewe:
> > Holger Voormann wrote:
> >> Eclipse Code Recommenders and the RSS News feature were removed in
> >> RC2
> >> [5] (which IMHO is a big loss) also use the javax.xml.bind package
> >> (e.
> >> g. here [6] without 'Import-Package: javax.xml.bind' [7]).
> >
> > FYI, the Code Recommenders RSS News feature (not the rest of Code
> > Recommenders) uses the feed reader from Mylyn Commons, so if the bug
> > could be fixed upstream (i.e., in Mylyn) like you outlined, the News
> > Feed could be contributed again.
> >
> > Best wishes,
> >
> > Andreas
> > ___
> > cross-project-issues-dev mailing list
> > cross-project-issues-dev@eclipse.org
> > To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> > https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev
> >
>
> ___
> cross-project-issues-dev mailing list
> cross-project-issues-dev@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev
>
___
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev