SA and JDK ( was Re: JDK8 Preliminary Repository Layout)

Dr Andrew John Hughes ahughes at redhat.com
Thu Mar 31 18:10:35 PDT 2011


On 31/03/2011, Daniel D. Daugherty <daniel.daugherty at oracle.com> wrote:
> On 3/30/2011 7:08 PM, Alan Bateman wrote:
>> Dr Andrew John Hughes wrote:
>>> Ok, what's the best tree to post it against?  I don't see a
>>> serviceability tree, so I guess it'll be a HotSpot one...
>>>
>>>
>> The runtime forest (http://hg.openjdk.java.net/jdk7/hotspot-rt) is
>> probably the best, Dan can confirm.
>
> That's the right place.
>
> Dan
>
>

Ok, here's the webrev at last against hotspot-rt.  It built fine.

http://cr.openjdk.java.net/~andrew/sa/webrev.01/

This makes the sa build look like this:

/usr/lib/jvm/icedtea6/bin/javac -g -encoding ascii -source 6 -target 6
-classpath /usr/lib/jvm/icedtea6/lib/tools.jar -sourcepath
/home/andrew/projects/openjdk/upstream/hotspot-rt/hotspot/agent/src/share/classes
-d /mnt/builder/hotspot-rt/hotspot/outputdir/linux_amd64_compiler2/product/../generated/saclasses
@/mnt/builder/hotspot-rt/hotspot/outputdir/linux_amd64_compiler2/product/../generated/agent1.classes.list
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
/usr/lib/jvm/icedtea6/bin/javac -g -encoding ascii -source 6 -target 6
-classpath /usr/lib/jvm/icedtea6/lib/tools.jar -sourcepath
/home/andrew/projects/openjdk/upstream/hotspot-rt/hotspot/agent/src/share/classes
-d /mnt/builder/hotspot-rt/hotspot/outputdir/linux_amd64_compiler2/product/../generated/saclasses
@/mnt/builder/hotspot-rt/hotspot/outputdir/linux_amd64_compiler2/product/../generated/agent2.classes.list
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

I plan to fix the remaining hidden warnings in a later webrev, which
will also introduce the JAVAC_MAX_WARNINGS option found in the JDK
java build.

As is, this at least gets rid of the -source/-target 1.4 option and
fixes immediate problems resulting from that removal.

If this looks ok, it needs a bug ID and then pushing to JPRT by some
friendly Oracle HotSpot developer :-).
-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

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


More information about the serviceability-dev mailing list