<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>792</bug_id>
          
          <creation_ts>2013-08-04 09:37:21 +0200</creation_ts>
          <short_desc>OpenJDK Subset - JRT Core</short_desc>
          <delta_ts>2013-09-10 17:16:08 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Ji_Gong</classification>
          <product>JRT</product>
          <component>General</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>CONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>790</blocked>
    
    <blocked>791</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>gouessej</cc>
          
          <cf_type>FEATURE</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2839</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-08-04 09:37:21 +0200</bug_when>
    <thetext>Proposal ..

JRT Core shall only require basic libraries of OpenJDK, i.e. 
  - java.io.*
  - java.lang.*
  - java.nio.*
  - java.math.*
  - java.net.*
  - java.security.*
  - java.util.*
  - javax.crypto.*
  - javax.net.*

Optional / Nice-To-Have:
 - java.sql.*
 - java.text.*
 - javax.sql.*
 - javax.xml.*
 - org.w3c.dom.*
 - org.xml.sax.*

+++

Shall we strip off ???: 
  - java.beans.*
  - java.rmi.* 

Especially strip off:
  - java.awt.*
  - javax.imageio.*
  - javax.sound.*
  - JavaFX

+++

This list needs to be completed...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2841</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-08-04 09:43:31 +0200</bug_when>
    <thetext>Motivation to _not_ require certain packages (modules), 
i.e. to strip them off for JRT is to simplify the 1st milestone
while knowing that it will be too hard to implement those for all desired platforms.

Further more, certain modules like graphics and sound shall be tackled by 
other projects designated to this task, i.e. JOAL and JOGL .. etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2842</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-08-04 09:55:16 +0200</bug_when>
    <thetext>The methodology of &apos;stripping&apos; off non required parts 
should be done in an automatic fashion.

The latter is essential to keep track of the upstream repository,
i.e. OpenJDK / IcedTea - which shall be the master.

It is also mentioned that some OpenJDK 8 or 9 version may 
implement modularization. If this condensates one day,
we should align with such!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2846</commentid>
    <comment_count>3</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2013-08-05 10:42:20 +0200</bug_when>
    <thetext>I wouldn&apos;t strip off java.beans.* because I already saw a few libraries proposing their own poor implementation of this set of packages under Android and in my humble opinion, I would be more happy if we could provide it without big efforts. Anyway, some packages could be removed further, for example by rebuilding the runtime. What about Swing?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2874</commentid>
    <comment_count>4</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-08-06 14:08:42 +0200</bug_when>
    <thetext>.. considering:
  A JEP 161: &lt;http://openjdk.java.net/jeps/161&gt;
  B Jigsaw: &lt;http://openjdk.java.net/projects/jigsaw/dashboards/modularization&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2875</commentid>
    <comment_count>5</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-08-06 17:48:19 +0200</bug_when>
    <thetext>(In reply to comment #4)
&gt; .. considering:
&gt;   A JEP 161: &lt;http://openjdk.java.net/jeps/161&gt;
&gt;   B Jigsaw:
&gt; &lt;http://openjdk.java.net/projects/jigsaw/dashboards/modularization&gt;

As described on &lt;https://blogs.oracle.com/jtc/entry/a_first_look_at_compact&gt; (JEP 161):
&quot;Understanding that Java 9 is quite a ways off, an interim solution will be available for Java 8, called Compact Profiles.&quot; Jigsaw is &apos;not ready&apos; for prime time yet, even though it looks very promising.

Current tests of our modularization focus on JEP 161&apos;s profiles for now
as implemented in OpenJDK8.
OpenJDK9 Jigsaw shall be used when &apos;ready&apos;.

This would allow us to provide the 3 JEP 161 profiles [compact1-3],
as well as the desktop profile incl. AWT.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2956</commentid>
    <comment_count>6</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-09-10 17:16:08 +0200</bug_when>
    <thetext>http://jogamp.org/git/?p=jigong.git;a=summary</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>