Re: javax.script rhino (javascript) support added

2008-06-24 Thread Andrew John Hughes
2008/6/23 Dalibor Topic <[EMAIL PROTECTED]>:
> Mark Wielaard wrote:
>>
>> Hi David,
>>
>> On Mon, 2008-06-23 at 11:43 -0700, David Herron wrote:
>>
>>>
>>> Mark Wielaard wrote:
>>> In my JavaOne talk Sandeep and I had worked up a hack with the same
>>> purpose.  He's been busy enough that he hadn't had a chance to turn the hack
>>> into an official proposal like this..
>>
>> That is cool, I didn't know that.
>> Is your presentation online somewhere?
>>
>
> http://developers.sun.com/learning/javaoneonline/2008/pdf/TS-5230.pdf
>>
>> I would like to find a way to do this cleaner though. But the current
>> code relies on being on the bootclasspath which makes things a little
>> tricky.
>>
>

Interesting. I think slide 26 should also have 'incllulde
./make/rhino-rules.gmk'
to match the previous slide.

OT, but the mention of binary plugs in the slides made me question
whether they are  still relevant given IcedTea passed
the JCK without any?  For OpenJDK6, is this now just the optional SNMP
support?  It would be good if someone could
make it clear what's still needed for OpenJDK6 and OpenJDK7 (which
seem to differ in this respect too).
IcedTea probably needs a cleanout in terms of long-dead binary plugs
it still tries to provide.

> Landon suggested a while ago exploring https://scripting.dev.java.net/ ,
> which includes a Rhino
> binding.
>
> cheers,
> dalibor topic
>
> --
> ***
> Dalibor Topic   Tel: (+49 40) 23 646 738
> Java F/OSS Ambassador   AIM: robiladonaim
> Sun Microsystems GmbH   Mobile: (+49 177) 2664 192
> Nagelsweg 55http://openjdk.java.net
> D-20097 Hamburg mailto:[EMAIL PROTECTED]
> Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten
> Amtsgericht München: HRB 161028
> Geschäftsführer: Thomas Schröder, Wolfgang Engels, Dr. Roland Bömer
> Vorsitzender des Aufsichtsrates: Martin Häring
>
>
>



-- 
Andrew :-)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8


Re: javax.script rhino (javascript) support added

2008-06-24 Thread Joseph D. Darcy

Andrew John Hughes wrote:

2008/6/23 Dalibor Topic <[EMAIL PROTECTED]>:

Mark Wielaard wrote:

Hi David,

On Mon, 2008-06-23 at 11:43 -0700, David Herron wrote:


Mark Wielaard wrote:
In my JavaOne talk Sandeep and I had worked up a hack with the same
purpose.  He's been busy enough that he hadn't had a chance to turn the hack
into an official proposal like this..

That is cool, I didn't know that.
Is your presentation online somewhere?


http://developers.sun.com/learning/javaoneonline/2008/pdf/TS-5230.pdf

I would like to find a way to do this cleaner though. But the current
code relies on being on the bootclasspath which makes things a little
tricky.



Interesting. I think slide 26 should also have 'incllulde
./make/rhino-rules.gmk'
to match the previous slide.

OT, but the mention of binary plugs in the slides made me question
whether they are  still relevant given IcedTea passed
the JCK without any?  For OpenJDK6, is this now just the optional SNMP
support?  It would be good if someone could
make it clear what's still needed for OpenJDK6 and OpenJDK7 (which
seem to differ in this respect too).
IcedTea probably needs a cleanout in terms of long-dead binary plugs
it still tries to provide.


Yes, since b07 back in March, *no* binary plugs are required to build 
the OpenJDK 6 sources from Sun.  The only remaining plug is for SNMP 
support, which is not required functionality according to the platform 
spec and is thus not tested by the JCK.  IIRC, JDK 7 may still have a 
plug for sound since I don't think Gervill has been integrated there yet.


-Joe


Landon suggested a while ago exploring https://scripting.dev.java.net/ ,
which includes a Rhino
binding.

cheers,
dalibor topic

--
***
Dalibor Topic   Tel: (+49 40) 23 646 738
Java F/OSS Ambassador   AIM: robiladonaim
Sun Microsystems GmbH   Mobile: (+49 177) 2664 192
Nagelsweg 55http://openjdk.java.net
D-20097 Hamburg mailto:[EMAIL PROTECTED]
Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht München: HRB 161028
Geschäftsführer: Thomas Schröder, Wolfgang Engels, Dr. Roland Bömer
Vorsitzender des Aufsichtsrates: Martin Häring











Re: javax.script rhino (javascript) support added

2008-06-24 Thread Andrew John Hughes
2008/6/24 Joseph D. Darcy <[EMAIL PROTECTED]>:
> Yes, since b07 back in March, *no* binary plugs are required to build the
> OpenJDK 6 sources from Sun.  The only remaining plug is for SNMP support,
> which is not required functionality according to the platform spec and is
> thus not tested by the JCK.  IIRC, JDK 7 may still have a plug for sound
> since I don't think Gervill has been integrated there yet.
>
> -Joe
>

Ah great, I thought that was the case.  IcedTea6 is still adding SNMP
stubs, which
should be dropped.

OpenJDK7 does still have a sound plug.  IcedTea7 patches in Gervill in
its place (or should do -- I haven't fully tested this yet).

Thanks,
-- 
Andrew :-)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8


Re: javax.script rhino (javascript) support added

2008-06-24 Thread Mark Wielaard
Hi Dalibor,

On Tue, 2008-06-24 at 00:09 +0200, Dalibor Topic wrote:
> > I would like to find a way to do this cleaner though. But the current
> > code relies on being on the bootclasspath which makes things a little
> > tricky.
> >   
> Landon suggested a while ago exploring https://scripting.dev.java.net/ , 
> which includes a Rhino
> binding.

Yes, I think outsourcing the actual scripting engines and merging them
with a project like that would be a cool idea for jdk7. That way you
completely get around some of them living in rt.jar on the
bootclasspath. And users/distros would be free to add and upgrade them
separately.

Cheers,

Mark



Re: Ability to override compiler from environment

2008-06-24 Thread Martin Buchholz
The JDK's Makefiles are not coherent; they do not look like they
were designed using a common architecture.

On Mon, Jun 23, 2008 at 3:17 PM, David Herron <[EMAIL PROTECTED]> wrote:
> CC?=gcc
> CPP?=g++

A particularly egregious example is the use of the make variable CPP.
Some Makefiles use CPP to mean "C preprocessor", while some use it
to mean "C++ compiler".  The latter are non-traditional and should be excised.
We should use CXX instead to mean "C++ compiler"

---

Yes,  users should be able to specifically override the C and C++
compilers used.  In practice, users can work around this clumsily by
creating a temp directory with symlinks for gcc,  g++, etc... and
setting ALT_COMPILER_PATH to that.

---

I am in favor of the fundamental change to a "configure + make" model,
instead of configury stuff being done in the Makefiles as is the
current practice.

Martin


Re: javax.script rhino (javascript) support added

2008-06-24 Thread David Herron

Andrew John Hughes wrote:

2008/6/23 Dalibor Topic <[EMAIL PROTECTED]>:
  

Mark Wielaard wrote:


OT, but the mention of binary plugs in the slides made me question
whether they are  still relevant given IcedTea passed
the JCK without any?  For OpenJDK6, is this now just the optional SNMP
support?  It would be good if someone could
make it clear what's still needed for OpenJDK6 and OpenJDK7 (which
seem to differ in this respect too).
IcedTea probably needs a cleanout in terms of long-dead binary plugs
it still tries to provide.
  


The slides were originally written in Feb/March back when we still 
needed the plugs.  And at the time of JavaOne none of us had 
incorporated Gervill.  I did say in the session that we were all on the 
verge of being 100% and that soon the plugs wouldn't be required.


Duke is bald and every time I see 'plugs' it makes me think of hair 
plugs and Duke with hair doesn't make sense.  So of course the plugs 
have to go.


- David Herron





hg: jdk7/build: Added tag jdk7-b29 for changeset 31e08f70e88d

2008-06-24 Thread xiomara . jayasena
Changeset: 14c2c623d687
Author:xdono
Date:  2008-06-20 08:44 -0700
URL:   http://hg.openjdk.java.net/jdk7/build/rev/14c2c623d687

Added tag jdk7-b29 for changeset 31e08f70e88d

! .hgtags



hg: jdk7/build/corba: Added tag jdk7-b29 for changeset 8b71960f79ce

2008-06-24 Thread xiomara . jayasena
Changeset: 76600bc57421
Author:xdono
Date:  2008-06-20 08:44 -0700
URL:   http://hg.openjdk.java.net/jdk7/build/corba/rev/76600bc57421

Added tag jdk7-b29 for changeset 8b71960f79ce

! .hgtags



hg: jdk7/build/hotspot: 44 new changesets

2008-06-24 Thread xiomara . jayasena
Changeset: c70a245cad3a
Author:dcubed
Date:  2008-05-09 08:55 -0700
URL:   http://hg.openjdk.java.net/jdk7/build/hotspot/rev/c70a245cad3a

6670684: 4/5 SA command universe did not print out CMS space information
Summary: Forward port of Yumin's fix for 6670684 from HSX-11; Yumin verified 
the port was correct.
Reviewed-by: dcubed

! agent/make/Makefile
! agent/src/share/classes/sun/jvm/hotspot/HSDB.java
! agent/src/share/classes/sun/jvm/hotspot/SALauncherLoader.java
! agent/src/share/classes/sun/jvm/hotspot/bugspot/Main.java
! agent/src/share/classes/sun/jvm/hotspot/jdi/SAJDIClassLoader.java
+ agent/src/share/classes/sun/jvm/hotspot/memory/BinaryTreeDictionary.java
! agent/src/share/classes/sun/jvm/hotspot/memory/CompactibleFreeListSpace.java
! agent/src/share/classes/sun/jvm/hotspot/memory/DefNewGeneration.java
+ agent/src/share/classes/sun/jvm/hotspot/memory/FreeList.java
+ agent/src/share/classes/sun/jvm/hotspot/memory/LinearAllocBlock.java
! agent/src/share/classes/sun/jvm/hotspot/ui/AnnotatedMemoryPanel.java
! agent/src/share/classes/sun/jvm/hotspot/ui/CommandProcessorPanel.java
! agent/src/share/classes/sun/jvm/hotspot/ui/DebuggerConsolePanel.java
! agent/src/share/classes/sun/jvm/hotspot/ui/HighPrecisionJScrollBar.java
! agent/src/share/classes/sun/jvm/hotspot/ui/JFrameWrapper.java
! agent/src/share/classes/sun/jvm/hotspot/ui/treetable/JTreeTable.java
! src/share/vm/gc_implementation/concurrentMarkSweep/binaryTreeDictionary.hpp
! src/share/vm/gc_implementation/concurrentMarkSweep/freeList.hpp
! src/share/vm/gc_implementation/concurrentMarkSweep/vmStructs_cms.hpp
! src/share/vm/runtime/vmStructs.cpp

Changeset: 6ab92ec09f70
Author:dcubed
Date:  2008-05-09 09:11 -0700
URL:   http://hg.openjdk.java.net/jdk7/build/hotspot/rev/6ab92ec09f70

Merge


Changeset: 09c2ba680204
Author:kvn
Date:  2008-05-15 22:40 -0700
URL:   http://hg.openjdk.java.net/jdk7/build/hotspot/rev/09c2ba680204

6700102: c2 assertion "counter_changed,"failed dependencies, but counter didn't 
change")" with AggressiveOpts
Summary: Bytecode Escape Analyzer does not have the check for the case 
described in 6389127.
Reviewed-by: never

! src/share/vm/ci/bcEscapeAnalyzer.cpp

Changeset: 723be81c1212
Author:kvn
Date:  2008-05-15 22:43 -0700
URL:   http://hg.openjdk.java.net/jdk7/build/hotspot/rev/723be81c1212

6701887: JDK7 server VM in endless loop in Node::dominates
Summary: The method Node::dominates loops in the dead code which does not have 
a Region node.
Reviewed-by: jrose, never

! src/share/vm/opto/c2_globals.hpp
! src/share/vm/opto/memnode.cpp
! src/share/vm/opto/node.cpp

Changeset: 5bba3366a9a2
Author:dcubed
Date:  2008-05-16 13:42 -0700
URL:   http://hg.openjdk.java.net/jdk7/build/hotspot/rev/5bba3366a9a2

Merge

! agent/src/share/classes/sun/jvm/hotspot/HSDB.java
! src/share/vm/runtime/vmStructs.cpp

Changeset: a3e5744fafda
Author:dcubed
Date:  2008-05-20 09:47 -0700
URL:   http://hg.openjdk.java.net/jdk7/build/hotspot/rev/a3e5744fafda

Merge


Changeset: a49545cab84a
Author:ohair
Date:  2008-05-27 09:47 -0700
URL:   http://hg.openjdk.java.net/jdk7/build/hotspot/rev/a49545cab84a

6563752: Build and test JDK7 with Sun Studio 12 Express compilers (prep 
makefiles)
Summary: Allows for building with SS12, no longer requires SS11, warns if not 
SS11 for now. Once SS12 is validated and performance measurements look ok, SS12 
will be the validated compiler.
Reviewed-by: sspitsyn, ikrylov

! make/jprt.config
! make/solaris/makefiles/debug.make
! make/solaris/makefiles/dtrace.make
! make/solaris/makefiles/fastdebug.make
! make/solaris/makefiles/jvmg.make
! make/solaris/makefiles/optimized.make
! make/solaris/makefiles/product.make
! make/solaris/makefiles/sparc.make
! make/solaris/makefiles/sparcWorks.make
! make/solaris/makefiles/sparcv9.make

Changeset: af059c49e677
Author:ohair
Date:  2008-05-28 10:16 -0700
URL:   http://hg.openjdk.java.net/jdk7/build/hotspot/rev/af059c49e677

6703308: Fix jprt.properties to allow for jdk6 and jdk7 builds
Summary: Allows for jprt submit -release option to select jdk version and 
proper build targets.
Reviewed-by: jcoomes

! make/jprt.properties

Changeset: 23a06eca8e83
Author:jmasa
Date:  2008-05-27 11:46 -0700
URL:   http://hg.openjdk.java.net/jdk7/build/hotspot/rev/23a06eca8e83

6706662: Remove workaround introduced in fix for 6624782
Summary: Remove workaround compiler options for instanceKlass.cpp and 
objArrayKlass.cpp.
Reviewed-by: ysr, jcoomes

! make/solaris/makefiles/amd64.make

Changeset: 27f13876aef3
Author:iveresov
Date:  2008-05-30 03:53 -0700
URL:   http://hg.openjdk.java.net/jdk7/build/hotspot/rev/27f13876aef3

Merge


Changeset: 8aa010f60e0f
Author:rasbold
Date:  2008-05-20 06:32 -0700
URL:   http://hg.openjdk.java.net/jdk7/build/hotspot/rev/8aa010f60e0f

Merge


Changeset: 885ed790ecf0
Author:kvn
Date:  2008-05-21 10:45 -0700
URL:   http://

hg: jdk7/build/jaxp: Added tag jdk7-b29 for changeset 617ee8607cfd

2008-06-24 Thread xiomara . jayasena
Changeset: 4d8da2b3c124
Author:xdono
Date:  2008-06-20 08:45 -0700
URL:   http://hg.openjdk.java.net/jdk7/build/jaxp/rev/4d8da2b3c124

Added tag jdk7-b29 for changeset 617ee8607cfd

! .hgtags



hg: jdk7/build/jaxws: Added tag jdk7-b29 for changeset 836c55713aba

2008-06-24 Thread xiomara . jayasena
Changeset: 2c23d2441366
Author:xdono
Date:  2008-06-20 08:45 -0700
URL:   http://hg.openjdk.java.net/jdk7/build/jaxws/rev/2c23d2441366

Added tag jdk7-b29 for changeset 836c55713aba

! .hgtags



hg: jdk7/build/jdk: Added tag jdk7-b29 for changeset e21f4266466c

2008-06-24 Thread xiomara . jayasena
Changeset: 0a5b87833562
Author:xdono
Date:  2008-06-20 08:45 -0700
URL:   http://hg.openjdk.java.net/jdk7/build/jdk/rev/0a5b87833562

Added tag jdk7-b29 for changeset e21f4266466c

! .hgtags



hg: jdk7/build/langtools: Added tag jdk7-b29 for changeset dec081837b01

2008-06-24 Thread xiomara . jayasena
Changeset: c3f2b8992300
Author:xdono
Date:  2008-06-20 08:45 -0700
URL:   http://hg.openjdk.java.net/jdk7/build/langtools/rev/c3f2b8992300

Added tag jdk7-b29 for changeset dec081837b01

! .hgtags



Trying to build openjdk7 under opensolaris

2008-06-24 Thread Thorbjørn Ravn Andersen

Hi.

I have tried to get an OpenSolaris build environment for OpenJDK7 up and 
running (just for the fun of it), and have installed ss-dev and updated 
everything as much as I could.  The forrest should be up to date as of 
the time of writing.


My problem right now is that the "gmake" fails with

gmake[5]: CC: Command not found

(see output below) and I have set both COMPILER_PATH and 
ALT_COMPILER_PATH (see below).


Have I missed a configuration setting?

Thanks in advance,

/Thorbjørn

---

Output from "export" looks like:

--
[EMAIL PROTECTED]:~/download/openjdk/jdk7/jdk7$ export
declare -x 
ALT_BINARY_PLUGS_PATH="/export/home/ravn/download/openjdk/jdk7/plugins/openjdk-binary-plugs/"

declare -x ALT_COMPILER_PATH="/opt/SunStudioExpress/bin/"
declare -x 
ALT_CUPS_HEADERS_PATH="/export/home/ravn/download/cups-install/include/"

declare -x COMPILER_PATH="/opt/SunStudioExpress/bin/"
declare -x HOME="/export/home/ravn"
declare -x LANG="C"
declare -x LOGNAME="ravn"
declare -x MAIL="/var/mail/ravn"
declare -x MANPATH="/usr/gnu/share/man:/usr/share/man:/usr/X11/share/man"
declare -x 
OLDPWD="/export/home/ravn/download/openjdk/jdk7/jdk7/hotspot/make"

declare -x PAGER="/usr/bin/less -ins"
declare -x 
PATH="/export/home/ravn/download/findbugs-1.3.4/bin:/export/home/ravn/gnu/bin:/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin"

declare -x PWD="/export/home/ravn/download/openjdk/jdk7/jdk7"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_CLIENT="192.168.0.13 2143 22"
declare -x SSH_CONNECTION="192.168.0.13 2143 192.168.0.10 22"
declare -x SSH_TTY="/dev/pts/3"
declare -x TERM="xterm"
declare -x TZ="Europe/Copenhagen"
declare -x USER="ravn"
--
and output just before the failure
-

cd  ./hotspot/make && \
   gmake 
JDK_TOPDIR=/export/home/ravn/download/openjdk/jdk7/jdk7/jdk 
JDK_MAKE_SHARED_DIR=/export/home/ravn/download/openjdk/jdk7/jdk7/jdk/make/common/shared 
EXTERNALSANITYCONTROL=true TARGET_CLASS_VERSION=5 MILESTONE=internal 
BUILD_NUMBER=b00 JDK_BUILD_NUMBER=b00 
FULL_VERSION=1.7.0-internal-ravn_2008_06_24_22_20-b00 
PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.7.0 JDK_MKTG_VERSION=7 
JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=7 JDK_MICRO_VERSION=0 
PREVIOUS_MAJOR_VERSION=1 PREVIOUS_MINOR_VERSION=6 
PREVIOUS_MICRO_VERSION=0 ARCH_DATA_MODEL=32 COOKED_BUILD_NUMBER=0 
ALT_OUTPUTDIR=/export/home/ravn/download/openjdk/jdk7/jdk7/build/solaris-i586/hotspot/outputdir 
ALT_EXPORT_PATH=/export/home/ravn/download/openjdk/jdk7/jdk7/build/solaris-i586/hotspot/import 
ALT_SLASH_JAVA=/NOT-SET ALT_BOOTDIR=/usr/jdk/instances/jdk1.6.0 
ALT_LANGTOOLS_DIST=/export/home/ravn/download/openjdk/jdk7/jdk7/build/solaris-i586/langtools/dist 
all_product
gmake[1]: Entering directory 
`/export/home/ravn/download/openjdk/jdk7/jdk7/hotspot/make'

cd /export/home/ravn/download/openjdk/jdk7/jdk7/hotspot/make; \
   gmake VM_TARGET=product generic_build2 
ALT_OUTPUTDIR=/export/home/ravn/download/openjdk/jdk7/jdk7/build/solaris-i586/hotspot/outputdir
gmake[2]: Entering directory 
`/export/home/ravn/download/openjdk/jdk7/jdk7/hotspot/make'
mkdir -p 
/export/home/ravn/download/openjdk/jdk7/jdk7/build/solaris-i586/hotspot/outputdir
cd 
/export/home/ravn/download/openjdk/jdk7/jdk7/build/solaris-i586/hotspot/outputdir; 
\
   gmake -f 
/export/home/ravn/download/openjdk/jdk7/jdk7/hotspot/make/solaris/Makefile \
  JAVA_HOME=/usr/jdk/instances/jdk1.6.0 
GAMMADIR=/export/home/ravn/download/openjdk/jdk7/jdk7/hotspot 
MAKE_VERBOSE=y HOTSPOT_RELEASE_VERSION=13.0-b02 
JRE_RELEASE_VERSION=1.7.0-internal-ravn_2008_06_24_22_20-b00 
HOTSPOT_BUILD_VERSION= product
gmake[3]: Entering directory 
`/export/home/ravn/download/openjdk/jdk7/jdk7/build/solaris-i586/hotspot/outputdir'

cd solaris_i486_compiler2/product && gmake -w
WARNING: You are using CC version /bin/sh: line 1: CC: not found and 
should be using version 5.8
WARNING: You are using cc version cc: `-V' option must have argument and 
should be using version 5.8

expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
gmake[4]: Entering directory 
`/export/home/ravn/download/openjdk/jdk7/jdk7/build/solaris-i586/hotspot/outputdir/solaris_i486_compiler2/product'
WARNING: You are using CC version /bin/sh: line 1: CC: not found and 
should be using version 5.8
WARNING: You are using cc version cc: `-V' option must have argument and 
should be using version 5.8

expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
gmake[5]: Entering directory 
`/export/home/ravn/download/openjdk/jdk7/jdk7/build/solaris-i586/hotspot/outputdir/solaris_i486_compiler2/product'
Compiling 
/export/home/ravn/download/openjdk/jdk7/jdk7/hotspot/src/share/vm/adlc/adlparse.cpp

rm -f ../generated/adfiles/adlparse.o
CC -DSOLARIS -DSPARC_WORKS -DIA32 -DASSERT 
-I/export/home/ravn/download/openjdk/jdk7/jdk7/hotspot/src/share/vm/asm 
-I/export/home/ravn/download/openjdk/jdk7/jdk7/hotspot/src/share/vm/c1 
-I/e

Re: javax.script rhino (javascript) support added

2008-06-24 Thread Andrew John Hughes
On 24/06/2008, David Herron <[EMAIL PROTECTED]> wrote:
> Andrew John Hughes wrote:
>
> > 2008/6/23 Dalibor Topic <[EMAIL PROTECTED]>:
> >
> >
> > > Mark Wielaard wrote:
> > >
> > >
> > OT, but the mention of binary plugs in the slides made me question
> > whether they are  still relevant given IcedTea passed
> > the JCK without any?  For OpenJDK6, is this now just the optional SNMP
> > support?  It would be good if someone could
> > make it clear what's still needed for OpenJDK6 and OpenJDK7 (which
> > seem to differ in this respect too).
> > IcedTea probably needs a cleanout in terms of long-dead binary plugs
> > it still tries to provide.
> >
> >
>
>  The slides were originally written in Feb/March back when we still needed
> the plugs.  And at the time of JavaOne none of us had incorporated Gervill.
> I did say in the session that we were all on the verge of being 100% and
> that soon the plugs wouldn't be required.
>

Well, we've always done it without plugs, but then we're crazy Free
Software people... ;)

>  Duke is bald and every time I see 'plugs' it makes me think of hair plugs
> and Duke with hair doesn't make sense.  So of course the plugs have to go.
>

Ha ha, that's just hilarious! I love the image.

>  - David Herron
>
>
>
>


-- 
Andrew :-)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8


Re: Ability to override compiler from environment

2008-06-24 Thread Thorbjørn Ravn Andersen

Martin Buchholz skrev  den 24-06-2008 19:57:


---

I am in favor of the fundamental change to a "configure + make" model,
instead of configury stuff being done in the Makefiles as is the
current practice.
  
I agree, but I have understood that this work has been done in IcedTea 
already.  Is there any estimate when these two codebases may converge?


--
 Thorbjørn


Re: Ability to override compiler from environment

2008-06-24 Thread Dmitri Trembovetski



Thorbjørn Ravn Andersen wrote:

Martin Buchholz skrev  den 24-06-2008 19:57:


---

I am in favor of the fundamental change to a "configure + make" model,
instead of configury stuff being done in the Makefiles as is the
current practice.
  
I agree, but I have understood that this work has been done in IcedTea 
already.  Is there any estimate when these two codebases may converge?


  Does IcedTea configure+make model work on platforms other than
  linux? OpenJDK has to be built at least on Solaris and Windows.

  It's my understanding that Windows is the greatest pain in
  terms of build environment.

  Thanks,
Dmitri


Re: javax.script rhino (javascript) support added

2008-06-24 Thread Andrew John Hughes
On 24/06/2008, Andrew John Hughes <[EMAIL PROTECTED]> wrote:
> 2008/6/24 Joseph D. Darcy <[EMAIL PROTECTED]>:
>
> > Yes, since b07 back in March, *no* binary plugs are required to build the
>  > OpenJDK 6 sources from Sun.  The only remaining plug is for SNMP support,
>  > which is not required functionality according to the platform spec and is
>  > thus not tested by the JCK.  IIRC, JDK 7 may still have a plug for sound
>  > since I don't think Gervill has been integrated there yet.
>  >
>  > -Joe
>  >
>
>
> Ah great, I thought that was the case.  IcedTea6 is still adding SNMP
>  stubs, which
>  should be dropped.
>
>  OpenJDK7 does still have a sound plug.  IcedTea7 patches in Gervill in
>  its place (or should do -- I haven't fully tested this yet).
>
>  Thanks,
>
> --
>  Andrew :-)
>
>  Support Free Java!
>  Contribute to GNU Classpath and the OpenJDK
>  http://www.gnu.org/software/classpath
>  http://openjdk.java.net
>
>  PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
>  Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
>

I've looked a bit further at this this evening.  Unfortunately,
although we get rid of the spurious .so files we generate pretty
easily (libdcpr.so and libjsoundhs.so), the import of the JMX stubs is
a little more complicated as we've 'abused' the plugs method for
adding NetX. Thus, we need to first make NetX part of the JDK build
via the overlays directory.  We can then turn on
IMPORT_BINARY_PLUGS=false :)
-- 
Andrew :-)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8