From andreas.lundblad at oracle.com Tue Aug 4 22:08:15 2015 From: andreas.lundblad at oracle.com (Andreas Lundblad) Date: Wed, 5 Aug 2015 00:08:15 +0200 Subject: Call for feedback: Java Style Guidelines Message-ID: <20150804220814.GA26109@e6430> PLEASE DO NOT REPLY TO THIS MAIL -- SEE BELOW FOR PARTICIPATION INFORMATION Hello everybody, The OpenJDK project lacks a style guide document and the Java Code Conventions [1] have been collecting dust since 1999. For these reasons we've put together a draft proposal for a new set of style guidelines available here: http://cr.openjdk.java.net/~alundblad/styleguide We'd now like to solicit input from the broad Java community. Because everyone has such strong opinions on code style, we've found that extended _discussions_ on these topics risk never converging (and along the way, consume a lot of time and resources.) To maximize the ability for *everyone* to have their feedback considered, we're going to use a "batch discussion" approach, instead of having a free-for-all discussion. 1. Collect your feedback into a *single* batch and submit it via the SurveyMonkey survey link below. 2. This review round ends on 14 August. 3. After the initial review round ends, we will publish everyone's feedback. Everyone will then have a chance to make a round of comments on submissions from the first round. SurveyMonkey link: https://www.surveymonkey.com/r/9CY7ZCQ best regards, Andreas Lundblad [1] http://www.oracle.com/technetwork/java/javase/documentation/codeconvtoc-136057.html From vladimir.kozlov at oracle.com Thu Aug 13 00:18:43 2015 From: vladimir.kozlov at oracle.com (Vladimir Kozlov) Date: Wed, 12 Aug 2015 17:18:43 -0700 Subject: Project proposal: Shenandoah In-Reply-To: <559D52B4.6020906@oracle.com> References: <1424371356.29919.20.camel@localhost> <54F0B27B.3010401@oracle.com> <1425063556.32230.92.camel@localhost> <54F0E172.3090404@oracle.com> <1425128485.32230.109.camel@localhost> <54F22501.8050304@oracle.com> <1436177004.5893.6.camel@kennke.org> <559D52B4.6020906@oracle.com> Message-ID: <55CBE263.1020909@oracle.com> As Hotspot Group lead I declare that Hotspot group will sponsor Shenandoah project with Christine H. Flood as Project Lead. Best regards, Vladimir On 7/8/15 9:41 AM, Jon Masamitsu wrote: > Roman, > > We don't have a Hotspot group lead just yet. > > The vote among members has been completed but > there is still some approval process that needs to be done. > I was told governing board approval or something > like that. > > Jon > > On 07/06/2015 03:03 AM, Roman Kennke wrote: >> Hi all, >> >> What is the status of this Shenandoah project proposal? Has the Hotspot >> group leadership issue been resolved? We still need a Hotspot group lead >> to announce support for project creation... >> >> Kind regards, >> Roman >> >> >> Am Samstag, den 28.02.2015, 12:28 -0800 schrieb Jon Masamitsu: >>> Roman, >>> >>> Thank you for the further information. This large a contribution >>> is new territory for us so we'll be taking a bit of time to mull it >>> over. >>> >>> Jon >>> >>> On 2/28/2015 5:01 AM, Roman Kennke wrote: >>>> Hi Jon, >>>> >>>>>> Shenandoah is developed and maintained by Red Hat, yes, but the >>>>>> intention is, and has always been, to integrate it into upstream >>>>>> Hotspot, if OpenJDK people think it's feasible. The first step in >>>>>> this >>>>>> direction is the creation of a Shenandoah project (this proposal) >>>>>> and we >>>>>> also want to move forward with the Shenandoah JEP 189. >>>>> I would also like to understand how an integration of Shenandoah into >>>>> Hotspot would affect my day-to-day work. For example if I build >>>>> Hotspot >>>>> will I skip the build of Shenandoah sources by default? >>>> Build-wise Shenandoah is a GC like all other GCs. When you build >>>> Hotspot, you build Shenandoah. It will be excluded by setting >>>> INCLUDE_ALL_GCS to false, iirc. We could add a build flag to exclude >>>> Shenandoah, but I don't really see the point of it. >>>> >>>> Shenandoah is a bit special because it requires read and write barriers >>>> in the interpreter, C1, C2 and the runtime. We tried as much as >>>> possible >>>> to make this a clean interface, such to avoid scattering Shenandoah >>>> code >>>> all over the place. One of our goals is to not impact performance or >>>> behaviour with any other GC. If any other GC in the future requires >>>> similar barriers, it could just implement those interfaces. It is not >>>> perfect yet and needs some cleanup. >>>> >>>> All that being said, the intention of this project proposal is not >>>> directly to integrate Shenandoah into upstream Hotspot yet (that's the >>>> purpose of the JEP, ultimately), but to provide a development space for >>>> Shenandoah under the OpenJDK umbrella, where it belongs, where OpenJDK >>>> people can easily try it out, etc. >>>> >>>> BTW, according to http://openjdk.java.net/projects/#new-project we need >>>> a Hotspot group lead to declare to sponsor the project: >>>> >>>> "At least one Group Lead must declare that their Group is a sponsor of >>>> the proposed Project." >>>> >>>> Best regards, >>>> Roman >>>> >>>> >>>>> Jon >>>>> >>>>>> Best regards, >>>>>> Roman >>>>>> >>>>>>> My impression of Shenandoah was that it would be a project >>>>>>> developed and maintained by Redhat and (I don't recall where >>>>>>> this last part of my recollection comes from) that it would be kept >>>>>>> separate from the OpenJDK hotspot sources. Is that all >>>>>>> correct? >>>>>>> >>>>>>> Jon >>>>>>> >>>>>>> On 2/19/2015 10:42 AM, Roman Kennke wrote: >>>>>>>> I'd like to discuss the creation of the project Shenandoah with >>>>>>>> myself >>>>>>>> *and/or* Christine Flood as initial lead and the Hotspot group as >>>>>>>> sponsoring group. >>>>>>>> >>>>>>>> It's aim is to implement a new garbage collector that reduces GC >>>>>>>> pause >>>>>>>> times for applications that require really large heaps. Existing >>>>>>>> GCs >>>>>>>> show pause times of several 100ms up to several seconds on heaps > >>>>>>>> 100GB. That is because they need to stop all Java threads for >>>>>>>> compacting >>>>>>>> the heap. Shenandoah implements a new algorithm that allows to >>>>>>>> compact >>>>>>>> heap while only stopping the Java threads briefly for root >>>>>>>> scanning, and >>>>>>>> then evacuates the heap concurrently. This makes pause times >>>>>>>> unrelated >>>>>>>> to the heap size and only proportional to the root set size. >>>>>>>> >>>>>>>> Shenandoah has so far been developed as part of the IcedTea >>>>>>>> project: >>>>>>>> >>>>>>>> http://icedtea.classpath.org/wiki/Shenandoah >>>>>>>> >>>>>>>> It has usable implementations for OpenJDK9 and OpenJDK8. >>>>>>>> >>>>>>>> Roman Kennke (me) is Principle Software Engineer at Red Hat, >>>>>>>> working on >>>>>>>> Shenandoah since two years now. Before this, he worked on >>>>>>>> Thermostat, >>>>>>>> and contributed to OpenJDK in several areas, most importantly >>>>>>>> the Zero >>>>>>>> and Shark ports, graphics, and ports to embedded platforms. >>>>>>>> >>>>>>>> Christine H. Flood is a prinicpal software engineer at Red Hat. >>>>>>>> Most >>>>>>>> recently she's been working on Shenandoah, before that she >>>>>>>> worked at >>>>>>>> Oracle/Sun labs on the Fortress programming language, and on JVM >>>>>>>> Scalability. She's one of the inventors of both the parallel GC >>>>>>>> algorithm and G1. >>>>>>>> >>>>>>>> Initial committers and reviewers would be me and Christine. >>>>>>>> >>>>>>>> Could we both be project leads? Christine doesn't have an OpenJDK >>>>>>>> idendity yet... >>>>>>>> >>>>>>>> Best regards, >>>>>>>> Roman >>>>>>>> >>>>>>>> >>> >> > From robertbcolton at gmail.com Sun Aug 16 19:29:23 2015 From: robertbcolton at gmail.com (Robert Colton) Date: Sun, 16 Aug 2015 15:29:23 -0400 Subject: DockFX - A JavaFX Docking Library Message-ID: Hello OpenJDK Developers! I am a new OpenJDK contributor whose OCA has just been processed. I would like to share with the community a number of projects I have been working on. My primary project has been a docking library for JavaFX which is published on GitHub. https://github.com/RobertBColton/DockFX In the past my projects have included LateralGM, a free and open source GameMaker project editor built in Java with Swing. https://enigma-dev.org/docs/wiki/images/a/a2/Lgm_ide.png I am looking to contribute patches to the OpenJDK project, some of which do have existing bug reports filed by me. I am very enthusiastic about the JavaFX platform and looking forward to contributing. I would like to know where I should go next regarding contributions. Please let me know what you think. - Robert From jonathan.giles at oracle.com Sun Aug 16 21:46:23 2015 From: jonathan.giles at oracle.com (Jonathan Giles) Date: Mon, 17 Aug 2015 09:46:23 +1200 Subject: DockFX - A JavaFX Docking Library In-Reply-To: References: Message-ID: <55D104AF.6010101@oracle.com> Robert, Community contributions are always appreciated! With your OCA submitted, the best thing to do is to file bugs / feature requests in the bug tracker, and submit your patches in there for review (although I believe you may need to email the owner to attach the patch to the jira issue). Depending on the complexity and size of the patch, and the stage of release, things may progress quickly or not at all! For that reason, it is always smart to discuss intended work in the bug tracker before you spend your time on the work. That saves you wasting time on duplicating work, or working on something that has no hope of being integrated. Thanks! -- Jonathan On 17/08/2015 7:29 a.m., Robert Colton wrote: > Hello OpenJDK Developers! > > I am a new OpenJDK contributor whose OCA has just been processed. I would > like to share with the community a number of projects I have been working > on. My primary project has been a docking library for JavaFX which is > published on GitHub. > https://github.com/RobertBColton/DockFX > > In the past my projects have included LateralGM, a free and open source > GameMaker project editor built in Java with Swing. > https://enigma-dev.org/docs/wiki/images/a/a2/Lgm_ide.png > > I am looking to contribute patches to the OpenJDK project, some of which do > have existing bug reports filed by me. I am very enthusiastic about the > JavaFX platform and looking forward to contributing. I would like to know > where I should go next regarding contributions. Please let me know what you > think. > > - Robert From roman at kennke.org Mon Aug 17 10:42:58 2015 From: roman at kennke.org (Roman Kennke) Date: Mon, 17 Aug 2015 12:42:58 +0200 Subject: Inconsistencies in new project process Message-ID: <1439808178.22650.20.camel@kennke.org> Hello all, while going through the project proposal for Shenandoah, I noticed some inconsistencies or confusing details in the new project process described here: http://openjdk.java.net/projects/#new-project - it says 'Step 0: Discuss [optional]' but then in that same paragraph 'At least one Group Lead must declare that their Group is a sponsor of the proposed Project.' Now what is it? Optional or must? - It says 'Eligible voters cast their vote by sending e-mail to the general discussion list. Replying to the proposal will achieve this automatically for those people whose mail programs honor the Reply-To header.' Is this done automatically, or does the nominator have to put the Reply -To header in his proposal? Would be good to clarify this. - "Votes must be cast in the open, on the mailing list to which the call-for-votes was originally sent" This seems to be in conflict with voting on the discuss mailing list (the CFV is sent to announce). Could those parts be clarified? Best regards, Roman Kennke From andreas.lundblad at oracle.com Tue Aug 18 21:57:53 2015 From: andreas.lundblad at oracle.com (Andreas Lundblad) Date: Tue, 18 Aug 2015 23:57:53 +0200 Subject: Call for feedback: Java Style Guidelines In-Reply-To: <20150804220814.GA26109@e6430> References: <20150804220814.GA26109@e6430> Message-ID: <20150818215752.GE10298@e6430> PLEASE DO NOT REPLY TO THIS MAIL -- SEE BELOW FOR PARTICIPATION INFORMATION The first review round has now ended. A summary of the feedback received from that round can be found here: http://cr.openjdk.java.net/~alundblad/styleguide/feedback.html All submissions in their original form are available here: https://www.surveymonkey.com/results/SM-QT6SWC3Y/browse/ We would now like to give everybody a chance to comment on the first round of feedback. Same approach as last time: 1. Collect your comments into a single batch and submit it via the SurveyMonkey survey link below. 2. This second review round ends on August 28. All submissions will then be published. SurveyMonkey link: https://www.surveymonkey.com/r/G2PDWZF best regards, Andreas Lundblad From t.armstrong888 at gmail.com Wed Aug 26 17:14:07 2015 From: t.armstrong888 at gmail.com (Timothy Armstrong) Date: Wed, 26 Aug 2015 13:14:07 -0400 Subject: Incorporating the Semantic Web into Java Message-ID: <55DDF3DF.4040904@gmail.com> Greetings, I want to propose that we incorporate the Semantic Web technologies as a core part of Java. The Semantic Web and object-oriented programming are very compatible and can work very well together. I have always believed there is a lot of value in the Semantic Web, and I believe that it would be very beneficial for Java to incorporate the Semantic Web in the manner I have in mind. This is my first post here. I thought this mailing list might be the best place to post. I recently signed the Oracle Contributor Agreement. People have always noted connections between object-oriented programming and the Semantic Web, such as in the introduction to the Semantic Web at [1], which you could read if you are not familiar with the Semantic Web. I believe that we should integrate the two technologies more closely. I have written a large piece of software towards using the Semantic Web in Java [2]. I would be very pleased to contribute any of this code to OpenJDK, if you think it would be worthwhile. The software allows us to give IRI's and semantics to Java classes and attributes using Java annotations. For example, here is the isDefinedBy.java file for the isDefinedBy property in the RDFS ontology: @RDFProperty @label("isDefinedBy") @comment("The definition of the subject resource.") @isDefinedBy("http://www.w3.org/2000/01/rdf-schema#") @domain(Resource.class) @range(Resource.class) @subPropertyOf(seeAlso.class) @Documented @Retention(RetentionPolicy.RUNTIME) public @interface isDefinedBy { public String[] value(); } We can treat Java classes as unary predicates, as in the Semantic Web, and Java attributes as binary predicates relating two entities, as RDF properties. Then we can use the OWL reasoning in Java programs in a manner that is fully compatible with Java, and we can make Java data into linked data so that we can run SPARQL queries on the data and post the data on the Semantic Web. My software is a Java library intended to be useful in writing Java programs in general. I published an article about the ideas in 2014 [3], and I explain more what I am thinking on the front page of the software's web site. The Semantic Web is a mature set of technologies. Mostly what we would need to do is connect existing reasoning and SPARQL algorithms to Java. I have written the framework for doing so. I hope you find these ideas interesting. I would very much like to work together with other people on developing software towards these goals. Functional programming was a great addition to Java 8, and I think the Semantic Web would be a great addition to Java 9 or 10. Regards, Tim Armstrong [1] http://www.w3.org/TR/sw-oosd-primer/ [2] http://semanticoop.sourceforge.net [3] http://dl.acm.org/citation.cfm?id=2630608 From martijnverburg at gmail.com Wed Aug 26 17:59:54 2015 From: martijnverburg at gmail.com (Martijn Verburg) Date: Wed, 26 Aug 2015 18:59:54 +0100 Subject: Incorporating the Semantic Web into Java In-Reply-To: <55DDF3DF.4040904@gmail.com> References: <55DDF3DF.4040904@gmail.com> Message-ID: Hi Tim, Thanks for posting here and it looks like interesting work! I suspect you won't get many in depth replies here as the Java 9 code complete date is flying in pretty quick, so I'll jump in. My personal view is that the semantic web is not enough of a mainstream Java developer concern that it would be desirable to be part of OpenJDK / Java itself at this stage even for Java 9 or 10. Java is arguably conservative in its approach to additions and tends to add support for industry trends once they are well baked. A good starting point would be to further popularise your efforts as an OSS project and have it become a defacto std used by 1000's+ developers before going down the formal JDK Enhancement Proposal (JEP) process sometime in the future. Cheers, Martijn On Wednesday, 26 August 2015, Timothy Armstrong wrote: > Greetings, > > I want to propose that we incorporate the Semantic Web technologies as a > core part of Java. The Semantic Web and object-oriented programming are > very compatible and can work very well together. I have always believed > there is a lot of value in the Semantic Web, and I believe that it would be > very beneficial for Java to incorporate the Semantic Web in the manner I > have in mind. > > This is my first post here. I thought this mailing list might be the best > place to post. I recently signed the Oracle Contributor Agreement. > > People have always noted connections between object-oriented programming > and the Semantic Web, such as in the introduction to the Semantic Web at > [1], which you could read if you are not familiar with the Semantic Web. I > believe that we should integrate the two technologies more closely. > > I have written a large piece of software towards using the Semantic Web in > Java [2]. I would be very pleased to contribute any of this code to > OpenJDK, if you think it would be worthwhile. The software allows us to > give IRI's and semantics to Java classes and attributes using Java > annotations. For example, here is the isDefinedBy.java file for the > isDefinedBy property in the RDFS ontology: > > > @RDFProperty > @label("isDefinedBy") > @comment("The definition of the subject resource.") > @isDefinedBy("http://www.w3.org/2000/01/rdf-schema#") > @domain(Resource.class) > @range(Resource.class) > @subPropertyOf(seeAlso.class) > > @Documented > @Retention(RetentionPolicy.RUNTIME) > public @interface isDefinedBy > { > public String[] value(); > } > > > We can treat Java classes as unary predicates, as in the Semantic Web, and > Java attributes as binary predicates relating two entities, as RDF > properties. Then we can use the OWL reasoning in Java programs in a manner > that is fully compatible with Java, and we can make Java data into linked > data so that we can run SPARQL queries on the data and post the data on the > Semantic Web. > > My software is a Java library intended to be useful in writing Java > programs in general. I published an article about the ideas in 2014 [3], > and I explain more what I am thinking on the front page of the software's > web site. > > The Semantic Web is a mature set of technologies. Mostly what we would > need to do is connect existing reasoning and SPARQL algorithms to Java. I > have written the framework for doing so. > > I hope you find these ideas interesting. I would very much like to work > together with other people on developing software towards these goals. > Functional programming was a great addition to Java 8, and I think the > Semantic Web would be a great addition to Java 9 or 10. > > Regards, > Tim Armstrong > > > [1] http://www.w3.org/TR/sw-oosd-primer/ > [2] http://semanticoop.sourceforge.net > [3] http://dl.acm.org/citation.cfm?id=2630608 > -- Cheers, Martijn (Sent from Gmail Mobile) From ff240 at msn.com Sun Aug 30 11:01:56 2015 From: ff240 at msn.com (PONCET Anthony) Date: Sun, 30 Aug 2015 13:01:56 +0200 Subject: Contact accessibility team. Message-ID: Hello, I'm try to contact a accessibility team. Do you know where i should write (which list)? Thank you! Regards. From Sergey.Bylokhov at oracle.com Sun Aug 30 14:21:52 2015 From: Sergey.Bylokhov at oracle.com (Sergey Bylokhov) Date: Sun, 30 Aug 2015 17:21:52 +0300 Subject: Contact accessibility team. In-Reply-To: References: Message-ID: <55E31180.5030106@oracle.com> Hello. If accessibility question is related to the Swing you can write to swing-dev at openjdk.java.net On 30.08.15 14:01, PONCET Anthony wrote: > Hello, > I'm try to contact a accessibility team. > Do you know where i should write (which list)? > Thank you! > > Regards. > -- Best regards, Sergey.