Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C1EFA200CC6 for ; Tue, 18 Jul 2017 22:50:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C0625167975; Tue, 18 Jul 2017 20:50:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DEC04167974 for ; Tue, 18 Jul 2017 22:50:04 +0200 (CEST) Received: (qmail 94472 invoked by uid 500); 18 Jul 2017 20:50:04 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 94461 invoked by uid 99); 18 Jul 2017 20:50:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2017 20:50:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 80814180354 for ; Tue, 18 Jul 2017 20:50:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id yNpbTgEQmSWf for ; Tue, 18 Jul 2017 20:50:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 19F115F6C8 for ; Tue, 18 Jul 2017 20:50:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 56D44E08A0 for ; Tue, 18 Jul 2017 20:50:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 107CB21EA2 for ; Tue, 18 Jul 2017 20:50:00 +0000 (UTC) Date: Tue, 18 Jul 2017 20:50:00 +0000 (UTC) From: "Florian Brunner (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (FELIX-5558) Add JavaFX packages MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 18 Jul 2017 20:50:05 -0000 [ https://issues.apache.org/jira/browse/FELIX-5558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16092159#comment-16092159 ] Florian Brunner edited comment on FELIX-5558 at 7/18/17 8:49 PM: ----------------------------------------------------------------- I don't think adding the com.sun.* packages is a good idea. OSGi is all about hiding non-published APIs. The published JavaFX 8 APIs can be found here: http://docs.oracle.com/javase/8/javafx/api/ All other APIs are internal and subject to change. If a developer wants access to internal APIs this is still possible via the org.osgi.framework.system.packages.extra property, as the [Drombler FX Maven Archetype|https://github.com/Drombler/drombler-fx/blob/develop/drombler-fx-maven-archetype-application/src/main/resources/archetype-resources/__rootArtifactId__-application/src/main/app/conf/config.properties] shows. Also note that with the upcoming Java 9 module system, I think we'll see less dependecies on internal APIs. was (Author: puce): I don't think adding the com.sun.* packages is a good idea. OSGi is all about hiding non-published APIs. The published JavaFX 8 APIs can be found here: http://docs.oracle.com/javase/8/javafx/api/ All other APIs are internal and subject to change. If a developer wants access to internal APIs this is still possible via the org.osgi.framework.system.packages.extra property, as the [Drombler FX Maven Archetype|https://github.com/Drombler/drombler-fx/blob/develop/drombler-fx-maven-archetype-application/src/main/resources/archetype-resources/__rootArtifactId__-application/src/main/app/conf/config.properties] shows. > Add JavaFX packages > ------------------- > > Key: FELIX-5558 > URL: https://issues.apache.org/jira/browse/FELIX-5558 > Project: Felix > Issue Type: Improvement > Components: Framework > Affects Versions: framework-5.6.2 > Reporter: Oliver Lietz > Priority: Minor > Fix For: framework-5.6.6 > > Attachments: javafx-exports, uses_javafx8.bnd > > > JavaFX is part of JRE/JDK since 8, but packages are missing in Java platform package export properties {{jre-1.8}} and {{jre-1.9}}. > Below is a list o packages generated from unpacked sources ({{javafx-src.zip}}, {{1.8.0_112-b16}}): > {noformat} > com/sun/glass/events > com/sun/glass/events/mac > com/sun/glass/ui > com/sun/glass/ui/android > com/sun/glass/ui/delegate > com/sun/glass/ui/gtk > com/sun/glass/ui/ios > com/sun/glass/ui/lens > com/sun/glass/ui/mac > com/sun/glass/ui/monocle > com/sun/glass/ui/swt > com/sun/glass/ui/win > com/sun/glass/utils > com/sun/javafx > com/sun/javafx/animation > com/sun/javafx/application > com/sun/javafx/beans > com/sun/javafx/beans/event > com/sun/javafx/binding > com/sun/javafx/charts > com/sun/javafx/collections > com/sun/javafx/css > com/sun/javafx/css/converters > com/sun/javafx/css/parser > com/sun/javafx/cursor > com/sun/javafx/effect > com/sun/javafx/embed > com/sun/javafx/event > com/sun/javafx/font > com/sun/javafx/font/coretext > com/sun/javafx/font/directwrite > com/sun/javafx/font/freetype > com/sun/javafx/fxml > com/sun/javafx/fxml/builder > com/sun/javafx/fxml/expression > com/sun/javafx/geom > com/sun/javafx/geom/transform > com/sun/javafx/geometry > com/sun/javafx/iio > com/sun/javafx/iio/bmp > com/sun/javafx/iio/common > com/sun/javafx/iio/gif > com/sun/javafx/iio/ios > com/sun/javafx/iio/jpeg > com/sun/javafx/iio/png > com/sun/javafx/image > com/sun/javafx/image/impl > com/sun/javafx/jmx > com/sun/javafx/logging > com/sun/javafx/media > com/sun/javafx/menu > com/sun/javafx/perf > com/sun/javafx/print > com/sun/javafx/property > com/sun/javafx/property/adapter > com/sun/javafx/robot > com/sun/javafx/robot/impl > com/sun/javafx/runtime > com/sun/javafx/runtime/async > com/sun/javafx/runtime/eula > com/sun/javafx/scene > com/sun/javafx/scene/control > com/sun/javafx/scene/control/behavior > com/sun/javafx/scene/control/skin > com/sun/javafx/scene/control/skin/resources > com/sun/javafx/scene/input > com/sun/javafx/scene/layout/region > com/sun/javafx/scene/paint > com/sun/javafx/scene/shape > com/sun/javafx/scene/text > com/sun/javafx/scene/transform > com/sun/javafx/scene/traversal > com/sun/javafx/scene/web > com/sun/javafx/scene/web/behavior > com/sun/javafx/scene/web/skin > com/sun/javafx/sg/prism > com/sun/javafx/sg/prism/web > com/sun/javafx/stage > com/sun/javafx/text > com/sun/javafx/tk > com/sun/javafx/tk/quantum > com/sun/javafx/util > com/sun/javafx/webkit > com/sun/javafx/webkit/drt > com/sun/javafx/webkit/prism > com/sun/javafx/webkit/prism/theme > com/sun/javafx/webkit/theme > com/sun/media/jfxmedia > com/sun/media/jfxmedia/control > com/sun/media/jfxmedia/effects > com/sun/media/jfxmedia/events > com/sun/media/jfxmedia/locator > com/sun/media/jfxmedia/logging > com/sun/media/jfxmedia/track > com/sun/media/jfxmediaimpl > com/sun/media/jfxmediaimpl/platform > com/sun/media/jfxmediaimpl/platform/gstreamer > com/sun/media/jfxmediaimpl/platform/ios > com/sun/media/jfxmediaimpl/platform/java > com/sun/media/jfxmediaimpl/platform/osx > com/sun/openpisces > com/sun/pisces > com/sun/prism > com/sun/prism/d3d > com/sun/prism/es2 > com/sun/prism/image > com/sun/prism/impl > com/sun/prism/impl/packrect > com/sun/prism/impl/paint > com/sun/prism/impl/ps > com/sun/prism/impl/shape > com/sun/prism/j2d > com/sun/prism/j2d/paint > com/sun/prism/j2d/print > com/sun/prism/null3d > com/sun/prism/paint > com/sun/prism/ps > com/sun/prism/shape > com/sun/prism/sw > com/sun/scenario > com/sun/scenario/animation > com/sun/scenario/animation/shared > com/sun/scenario/effect > com/sun/scenario/effect/impl > com/sun/scenario/effect/impl/es2 > com/sun/scenario/effect/impl/hw > com/sun/scenario/effect/impl/hw/d3d > com/sun/scenario/effect/impl/prism > com/sun/scenario/effect/impl/prism/ps > com/sun/scenario/effect/impl/prism/sw > com/sun/scenario/effect/impl/state > com/sun/scenario/effect/impl/sw > com/sun/scenario/effect/impl/sw/java > com/sun/scenario/effect/impl/sw/sse > com/sun/scenario/effect/light > com/sun/webkit > com/sun/webkit/dom > com/sun/webkit/event > com/sun/webkit/graphics > com/sun/webkit/network > com/sun/webkit/network/about > com/sun/webkit/network/data > com/sun/webkit/perf > com/sun/webkit/plugin > com/sun/webkit/text > javafx/animation > javafx/application > javafx/beans > javafx/beans/binding > javafx/beans/property > javafx/beans/property/adapter > javafx/beans/value > javafx/collections > javafx/collections/transformation > javafx/concurrent > javafx/css > javafx/embed/swing > javafx/embed/swt > javafx/event > javafx/fxml > javafx/geometry > javafx/print > javafx/scene > javafx/scene/canvas > javafx/scene/chart > javafx/scene/control > javafx/scene/control/cell > javafx/scene/effect > javafx/scene/image > javafx/scene/input > javafx/scene/layout > javafx/scene/media > javafx/scene/paint > javafx/scene/shape > javafx/scene/text > javafx/scene/transform > javafx/scene/web > javafx/stage > javafx/util > javafx/util/converter > netscape/javascript > {noformat} > {noformat} > find . -type f -name "*.java" -exec dirname {} \; | uniq | sort | cut -c 3- > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)