Hi devs,
I’m working on trying to move our build to java 8 and I’ve noticed one important breaking change in java 8 about how java chooses which overloaded method it uses.
The details are available here:
http://stackoverflow.com/a/30526908/153102
An example on XWiki that I’ve just fixed (with Thomas):
We had:
public static boolean matches(Filter filter, Extension extension)
{
return matches(filter, extension.get(filter.getField()));
}
public static boolean matches(Filter filter, Object element)
{
…
}
And <T> T get(String fieldName);
This worked in java 7 because T gets resolved to Object in java 7.
However in Java 8 they’ve improved the type inference and thus java 8 tries to find the most specific method matching T, and there are 2:
- matches(Filter filter, Extension extension)
- matches(Filter filter, Object element)
According to java 8 rules the most specific one is matches(Filter filter, Extension extension) since Extension extends Object.
Thus at runtime java 8 trie to call matches(Filter filter, Extension extension). However extension.get(…) returns String. Hence it fails with a class cast error.
So this means that when we upgrade to java8 we could have cases when the wrong signature is going to be called at runtime, leading to bugs…
We’ll need to be careful about that.
Thanks
-Vincent
Hello devs,
I would like a repository on xwiki-contrib for a "Zone Edit" macro.
Name: macro-zone-edit
Description: The zone macro lets you insert an editable section, that
stores the content into another document. The section displays a little
pencil (both in view and inline mode) in the top right corner for the users
that have edit rights, which if clicked redirects you to the inline mode of
the document storing the content and lets you modify the title, content and
a "Read more" link.
State: It has not yet been released on e.x.o. but will be done asap.
Tools needed: Github repository and Jira project.
Username: ppantiru
Thanks,
Paul Pantiru
Hi guys,
We have been working with XWiki for some time now and have developed a solution for managing processes for Dutch government organizations. Now it is time to start returning to the XWiki community some of the work we have done. We have - for example - implemented a small Slack integration module available for use in Velocity or directly from java modules but there will be more that we would like to put back once they are ready.
The one, we would like to start with is a simple slack module aiming at sending messages to Slack using the Slack-webhooks. The project uses a simple class to pre-define the various web hooks for configuration. Access is available from velocity or from java.
Since it is our first contribution, I could use some guidance in what is needed to contribute to XWiki. The Slack component is a simple but very useful contribution but I’m not sure what is - commonly - used for such a project (except obviously github). I’m fairly sure, I would not need a Sonar Project report but I rely on your experience for what is useful. My github account is phuisman.
I invite you to take a look at an example of our environment that we have setup to demonstrate our capabilities : http://demo.360overheid.wiki <http://demo.360overheid.wiki/> (which unfortunately is Dutch)
If you have further questions of remarks, I would be happy to answer or comply with any of them.
Thanks for all the work you have done and support you have given us. I am waiting for you reply.
With kind regards,
Peter Huisman
Hello,
When someone has the time, pleas validate my extension on nexus, so I can
get it on e.x.o.
extension id: zoneedit-macro
version: 1.0
Thanks,
Paul P.
The XWiki development team is proud to announce the availability of XWiki
8.0 Milestone 2.
This milestone improves some performance and caching issues of the LESS
module and continues improving and fixing usability aspects of Nested Pages.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki80M2
The following people have contributed code to this release (sorted
alphabetically):
Alex Cotiuga
Denis Gervalle
Ecaterina Moraru (Valica)
Eduard Moraru
Guillaume Delhumeau
Manuel Smeria
Sergiu Dumitriu
Thomas Mortagne
Vincent Massol
Thanks for your support
-The XWiki dev team
Hi devs,
Yesterday Google has announced the beginning of the Mentoring Organizations
Application period for GSoC 2016 [1].
I want to do a quick poll in asking our committers if there are people
amongst us interested in participating to GSoC this year, who are willing
to propose some projects and to possibly mentor a student during this
summer.
I`ve already reset XWiki`s GSoC 2016 page [2] where we would be adding or
reviving project proposals, but I need to know if there are mentors
available.
So please let me know ASAP, since the deadline for the org application is
in 10 days (19th of February) and we would need to move quickly.
Thanks,
Eduard
P.S.: Below you have the original announcement mail.
----------
[1] https://summerofcode.withgoogle.com/how-it-works/
[2] http://gsoc.xwiki.org
Hello everyone,
>
> We are now accepting applications from open source projects interested in
> participating as mentor organizations for Google Summer of Code 2016.
>
> Visit our new website to apply as an organization today. For helpful tips
> on what is expected as a mentor organization and as a mentor or org admin
> for GSoC 2016 read the Mentor Manual.
>
> One person from your Org must act as an Organization Administrator and
> submit the application for your organization. The organization application
> process consists of 3 parts:
>
> Application -- answering straightforward questions about why your org
> would like to mentor students in GSoC
>
> Organization Profile -- details about your organization that will be used
> to attract students to your organization (short and long descriptions of
> your org, contact methods, etc.)
>
> There must be at least 2 Organization Administrators per org. The Org
> Admin who creates the application will need to invite another person to be
> the 2nd Org Admin and that person will need to accept the invitation in
> order for this requirement to be met.
>
> Once these 3 sections are completed your application is done (you can see
> your progression on the site with the % complete visual). You can continue
> to edit your application until the deadline.
>
> Deadline to submit your Organization Application: Friday, February 19 at
> 19:00 UTC. Be sure to look at the timeline for more important dates for the
> program.
>
> We will not accept late applications under any circumstances.
>
> Good luck to all org applicants!
>
> Best,
> Stephanie Taylor