Compare commits

...

746 Commits

Author SHA1 Message Date
J. Duke
4d263d042f Merge 2017-07-05 17:01:55 +02:00
J. Duke
9882433fe4 Merge 2017-07-05 17:01:52 +02:00
J. Duke
2fc8097001 Merge 2017-07-05 17:01:48 +02:00
J. Duke
1f81c46334 Merge 2017-07-05 17:01:45 +02:00
J. Duke
b3ce3d8d05 Merge 2017-07-05 17:01:42 +02:00
J. Duke
629669567b Merge 2017-07-05 17:01:39 +02:00
J. Duke
9b746af421 Merge 2017-07-05 17:01:25 +02:00
J. Duke
edb2586655 Added tag jdk7-b73 for changeset ce74bd35ce94 2017-07-05 17:01:15 +02:00
J. Duke
ac3412974f Merge 2017-07-05 17:01:15 +02:00
J. Duke
758d479de5 Merge 2017-07-05 17:01:13 +02:00
J. Duke
80fbf1a170 Merge 2017-07-05 17:01:09 +02:00
J. Duke
ab2a3b614c Merge 2017-07-05 17:01:05 +02:00
J. Duke
2efb7b7f9f Merge 2017-07-05 17:01:02 +02:00
J. Duke
5aedb52487 Merge 2017-07-05 17:00:57 +02:00
J. Duke
44cf49d7be Merge 2017-07-05 17:00:49 +02:00
J. Duke
46f3972d89 Added tag jdk7-b72 for changeset df4bcd06e1d0 2017-07-05 17:00:34 +02:00
J. Duke
e21ea57f72 Merge 2017-07-05 17:00:34 +02:00
J. Duke
990d62469c Merge 2017-07-05 17:00:31 +02:00
J. Duke
ff1e83ec96 Merge 2017-07-05 17:00:25 +02:00
J. Duke
b4f3178fa2 Merge 2017-07-05 17:00:22 +02:00
J. Duke
df281bcfc4 Merge 2017-07-05 17:00:20 +02:00
J. Duke
c0f57c3cc9 Merge 2017-07-05 17:00:17 +02:00
J. Duke
d5d67fd057 Merge 2017-07-05 17:00:08 +02:00
J. Duke
b622e83242 Added tag jdk7-b71 for changeset c5d39b6be65c 2017-07-05 16:59:56 +02:00
J. Duke
2e480a6f2b Merge 2017-07-05 16:59:55 +02:00
J. Duke
2fcdf2e09c Merge 2017-07-05 16:59:53 +02:00
J. Duke
5b7cb8bdc8 Merge 2017-07-05 16:59:48 +02:00
J. Duke
8918fda4f4 Merge 2017-07-05 16:59:46 +02:00
J. Duke
ab1bf94cb3 Merge 2017-07-05 16:59:43 +02:00
J. Duke
a03ce9d80a Merge 2017-07-05 16:59:39 +02:00
J. Duke
39c2fbd739 Merge 2017-07-05 16:59:32 +02:00
J. Duke
b467ec2dd4 Added tag jdk7-b70 for changeset 207f694795c4 2017-07-05 16:59:17 +02:00
J. Duke
a23f487d2d Merge 2017-07-05 16:59:17 +02:00
J. Duke
878c3094e8 Merge 2017-07-05 16:59:14 +02:00
J. Duke
a6ce90c2bb Merge 2017-07-05 16:59:08 +02:00
J. Duke
94b9558f88 Merge 2017-07-05 16:59:02 +02:00
J. Duke
9ffe95ffcc Merge 2017-07-05 16:58:57 +02:00
J. Duke
4c3d527e86 Merge 2017-07-05 16:58:54 +02:00
J. Duke
71731e8436 Merge 2017-07-05 16:58:30 +02:00
J. Duke
a88f2106e1 Added tag jdk7-b69 for changeset 1b662b1ed14e 2017-07-05 16:58:21 +02:00
J. Duke
2ec9bad2a7 Merge 2017-07-05 16:58:21 +02:00
J. Duke
fe7aa5b921 Merge 2017-07-05 16:58:19 +02:00
J. Duke
6e82bae36d Merge 2017-07-05 16:58:17 +02:00
J. Duke
24fcef007b Merge 2017-07-05 16:58:15 +02:00
J. Duke
3499342d2a Merge 2017-07-05 16:58:13 +02:00
J. Duke
79af461471 Merge 2017-07-05 16:58:11 +02:00
J. Duke
8bf03b4adb Merge 2017-07-05 16:58:08 +02:00
J. Duke
75f841a96e Added tag jdk7-b68 for changeset bca2225b66d7 2017-07-05 16:58:00 +02:00
J. Duke
9a9ea73154 Merge 2017-07-05 16:58:00 +02:00
J. Duke
8ea587954f Merge 2017-07-05 16:57:57 +02:00
J. Duke
09778d93e7 Merge 2017-07-05 16:57:53 +02:00
J. Duke
3bf01a8f13 Merge 2017-07-05 16:57:50 +02:00
J. Duke
e2c09d8670 Merge 2017-07-05 16:57:47 +02:00
J. Duke
827b98beca Merge 2017-07-05 16:57:44 +02:00
J. Duke
2315bd81f0 Merge 2017-07-05 16:57:35 +02:00
J. Duke
7dd13af2ed Added tag jdk7-b67 for changeset eb24af1404ae 2017-07-05 16:57:28 +02:00
J. Duke
b4b746fb27 Merge 2017-07-05 16:57:28 +02:00
J. Duke
5d8fa1f274 Merge 2017-07-05 16:57:25 +02:00
J. Duke
08414385f3 Merge 2017-07-05 16:57:23 +02:00
J. Duke
fbab5c948e Merge 2017-07-05 16:57:20 +02:00
J. Duke
8dcffe7eb5 Merge 2017-07-05 16:57:18 +02:00
J. Duke
f9a2bca11b Merge 2017-07-05 16:57:15 +02:00
J. Duke
809044f577 Merge 2017-07-05 16:57:12 +02:00
J. Duke
0a40f0e773 Added tag jdk7-b66 for changeset 62109d1b9e73 2017-07-05 16:57:01 +02:00
Vinnie Ryan
1455f5ef1a 6891632: Remove duplicate ECC source files
Reviewed-by: wetmore
2009-10-14 23:41:11 +01:00
Lana Steuck
5b812467bf Merge 2009-10-13 15:25:58 -07:00
Erik Trimble
19fcbc7c3e 6890293: Bump the HS17 build number to 03
Update the HS17 build number to 03

Reviewed-by: jcoomes
2009-10-09 15:21:07 -07:00
Erik Trimble
8cea3ed3b4 Merge 2009-10-09 15:18:52 -07:00
Tim Bell
022d2f3730 Merge 2009-10-07 14:15:01 -07:00
Tim Bell
c824fc2f7a Merge 2009-10-07 14:14:45 -07:00
Joe Darcy
debdf79d18 6480728: Byte.valueOf(byte) returns a cached value but Byte.valueOf(String)
6655735: Integer.toString() and String.valueOf(int) contain slow delegations

Reviewed-by: lancea
2009-10-07 14:04:20 -07:00
Tim Bell
1c6255de3e 6888888: new javah throws NullPointerException when building in jdk/make/java/nio
Use the bootstrap javah during the build until bug-ID 6889255 is fixed

Reviewed-by: jjg
2009-10-07 13:53:11 -07:00
Chris Hegarty
67bff2db55 6887364: SetOutgoingIf.java fails if run on multihomed machine without PIv6 on all interfaces
Reviewed-by: alanb
2009-10-07 17:23:02 +01:00
Yuri Nesterenko
682543d219 Merge 2009-10-06 23:44:44 -07:00
Yuri Nesterenko
b5bdd219cd Merge 2009-10-06 23:40:27 -07:00
Keith McGuigan
9c32dec0bf 6885916: Memory leak in inferencing verifier (libverify.so)
Use the memory management already present to track allocated memory

Reviewed-by: coleenp, acorn
2009-10-06 22:01:18 -04:00
Mandy Chung
07871a4920 6888802: sun.misc.BootClassLoaderHook.getBootstrapPaths stack overflow
Fixed sun.misc.BootClassLoaderHook.getBootstrapPaths calls hook.getAdditionalBootstrapPaths

Reviewed-by: alanb, tbell
2009-10-06 15:14:59 -07:00
Joe Darcy
bd9e7da356 5062288: (reflect) Core reflection uses raw types when it could be using wildcards
Reviewed-by: alanb
2009-10-06 13:31:41 -07:00
Pavel Porvatov
65e5c75b0b 6489130: FileChooserDemo hung by keeping pressing Enter key
Reviewed-by: alexp
2009-10-06 17:01:52 +04:00
Jennifer Godinez
e544e85ebd Merge 2009-10-05 18:22:00 -07:00
Mandy Chung
9f6fbc5544 6612680: Remove classloader dependency on jkernel
Add a new sun.misc.BootClassLoaderHook that DownloadManager will implement

Reviewed-by: alanb, forax, igor
2009-10-05 18:15:32 -07:00
Vinnie Ryan
04890be7bb 6885204: JSSE should not require Kerberos to be present
Reviewed-by: wetmore, alanb
2009-10-05 23:42:48 +01:00
Alan Bateman
2170e604da 6854954: Eliminate static dependency on java.awt.AWTPermission
Reviewed-by: mullan, mchung, anthony
2009-10-05 16:45:55 +01:00
Alan Bateman
936d0362c2 6884800: (file) Path.newInputStream does not usefully implement available()
Reviewed-by: martin, chegar
2009-10-04 15:42:00 +01:00
Antonios Printezis
0c790abc79 Merge 2009-10-03 10:53:08 -04:00
Xiomara Jayasena
c0a2b68ef8 Added tag jdk7-b73 for changeset 6a163854aee4 2009-10-02 11:26:53 -07:00
Xiomara Jayasena
e9d2bf2283 Added tag jdk7-b73 for changeset d02ee9795d57 2009-10-02 11:26:42 -07:00
Xiomara Jayasena
716cb7404a Added tag jdk7-b73 for changeset 2d600411d2b7 2009-10-02 11:26:36 -07:00
Xiomara Jayasena
fa60fa0a5d Added tag jdk7-b73 for changeset 35b6f37d3023 2009-10-02 11:26:35 -07:00
Xiomara Jayasena
f174a87b09 Added tag jdk7-b73 for changeset 2248859f89d4 2009-10-02 11:26:25 -07:00
Xiomara Jayasena
841b128bca Added tag jdk7-b73 for changeset 7e1a948466e2 2009-10-02 11:26:18 -07:00
Xiomara Jayasena
4d85021a72 Added tag jdk7-b73 for changeset 9cc5500d129d 2009-10-02 11:26:17 -07:00
Tim Bell
1686f3996f 6787605: OpenSolaris doesn't have /usr/ucb/ps so ShellScaffold fails
Reviewed-by: dcubed
2009-10-02 08:49:25 -07:00
Michael McMahon
1f4fc7efb7 Merge 2009-10-02 13:59:37 +01:00
Michael McMahon
45d2886ea7 6870935: DIGEST proxy authentication fails to connect to URLs with no trailing slash
Reviewed-by: chegar
2009-10-02 13:57:41 +01:00
Weijun Wang
2882b91893 6868579: RFE: jarsigner to support reading password from environment variable
Reviewed-by: xuelei, wetmore
2009-10-02 18:49:46 +08:00
Weijun Wang
52779dbc1f 6874472: display address lists for tickets in klist tool
Reviewed-by: valeriep
2009-10-02 18:49:05 +08:00
Weijun Wang
10b2d33a48 6862679: ESC: AD Authentication with user with umlauts fails
Reviewed-by: valeriep, mullan
2009-10-02 18:47:34 +08:00
Weijun Wang
fcaded312e 6324292: keytool -help is unhelpful
Reviewed-by: xuelei, mullan
2009-10-02 18:44:34 +08:00
John Cuthbertson
7f1cf79e6d 6887186: G1: Incorrect code generated for G1 pre-barrier by C1 on SPARC
Modify operand passed to C1 pre-barrier to be the operand representing the address of the object field that is being stored.

Reviewed-by: never
2009-10-01 15:56:19 -07:00
Anthony Petrov
68c236347f 6862611: Reg testcase closed/java/awt/Component/NativeInLightShow/NativeInLightShow.html fails
The recursiveShowHeavyweightChildren() must be invoked unconditionally in mixOnShowing()

Reviewed-by: art, dcherepanov
2009-10-01 15:06:16 +04:00
Anthony Petrov
92d4496fac 6886868: giflib has a memory leak in the MakeMapObject() function
Free() the object before returning NULL

Reviewed-by: art, dcherepanov
2009-10-01 14:48:05 +04:00
Michael McMahon
bf7ffbe0c0 Merge 2009-10-01 11:25:22 +01:00
John R Rose
f34acd6601 Merge 2009-09-30 13:25:39 -07:00
Dmitry Cherepanov
d091c784ed 6878284: Sometimes test/javax/swing/system/6799345/TestShutdown.java "hangs"
Reviewed-by: art, ant
2009-09-30 15:48:06 +04:00
Pavel Tisnovsky
3bb6edd167 6884837: JTReg test SetOutgoingIf is not correct
Added check of network interfaces status

Reviewed-by: alanb, chegar
2009-09-30 11:49:10 +02:00
Dmitry Cherepanov
0d7e36485c 6853592: VM test nsk.regression.b4261880 fails with "X Error of failed request: BadWindow" inconsistently
Reviewed-by: art, anthony
2009-09-30 13:21:51 +04:00
Mandy Chung
683ef572aa Merge 2009-09-29 22:49:43 -07:00
Steven Loomis
72f355d0cf 6886718: missing license info
Reviewed-by: igor, prr
2009-09-29 16:32:47 -07:00
Mandy Chung
fc0fc96e68 6879044: Eliminate the dependency on logging from the AWT/2D/Swing classes
Replace calls to Logger with sun.util.logging.PlatformLogger

Reviewed-by: prr, art, alexp, dcherepanov, igor, dav, anthony
2009-09-29 16:03:03 -07:00
Steven Loomis
2a689e3419 Merge 2009-09-29 15:31:18 -07:00
Steven Loomis
eb4298db6a 6501644: sync LayoutEngine *code* structure to match ICU
Reviewed-by: prr
2009-09-29 14:06:13 -07:00
Jennifer Godinez
6103978814 Merge 2009-09-29 09:02:00 -07:00
Michael McMahon
ef945f9722 6886108: Test case B4933582 binding to fixed port number
Reviewed-by: chegar
2009-09-29 10:00:57 +01:00
Kelly O'Hair
fa9b682fcf 6886359: Missing jaxws property files and missing changes in jaxp/jaxws drop bundles
Reviewed-by: jjg, tbell
2009-09-28 19:39:40 -07:00
Kelly O'Hair
6b768958fb 6886359: Missing jaxws property files and missing changes in jaxp/jaxws drop bundles
Reviewed-by: jjg, tbell
2009-09-28 19:38:55 -07:00
Changpeng Fang
9640e8148d 6886353: For DeoptimizeALot, JTreg tests should "IgnoreUnrecognizedVMOptions on a product build
Add IgnoreUnrecognizedVMOptions for JTreg tests (on a product build) to pass with DeoptimizeALot

Reviewed-by: kvn
2009-09-28 17:14:25 -07:00
Jonathan Gibbons
9caa2fcaf2 6886348: apt incorrectly uses Scope.table
Reviewed-by: darcy
2009-09-28 16:48:30 -07:00
Steven Loomis
13748aa22b 6795060: VM crash on Linux in ICU layout library when processing \u0DDD (Sinhalese)
Reviewed-by: igor, prr
2009-09-28 11:52:22 -07:00
Tim Bell
2fa89790cc Merge 2009-09-25 22:04:43 -07:00
Tim Bell
81aa7df4c9 Merge 2009-09-25 14:24:14 -07:00
Vladimir Kozlov
7e942d79d0 6883468: C2 compiler enters infinite loop in PhaseIterGVN::transform
Avoid ideal transformation ping-pong between AddPNode::Ideal() and CastX2PNode::Ideal().

Reviewed-by: cfang
2009-09-25 13:26:02 -07:00
Erik Trimble
3cb09cdcfc 6885900: Bump the HS17 build number to 02
Update the HS17 build number to 02

Reviewed-by: jcoomes
2009-09-25 12:19:19 -07:00
Erik Trimble
652ccb8d21 Merge 2009-09-25 12:17:06 -07:00
Andrey Petrusenko
698cbc8361 Merge 2009-09-25 04:39:54 -07:00
Joe Darcy
06d5d6e0ea 6337964: should ignore last comma in annotation array
Reviewed-by: jjg
2009-09-24 16:00:03 -07:00
Weijun Wang
a4622c3ab0 6885166: regression test for 6877357 (IPv6 address does not work) error (timed out)
Reviewed-by: xuelei
2009-09-24 21:35:34 +08:00
John R Rose
eb73cf4739 6885169: merge of 4957990 and 6863023 causes conflict on do_nmethods
After mechanically merging changes, some by-hand adjustments are needed.

Reviewed-by: ysr
2009-09-23 23:57:44 -07:00
John R Rose
40d52710f6 Merge 2009-09-23 23:56:15 -07:00
Jonathan Gibbons
e116c27b51 6572945: javah should be written as an annotation processor, not a doclet
Reviewed-by: darcy
2009-09-23 19:15:04 -07:00
Jonathan Gibbons
6e3d970196 6410637: Make decision on deprecated methods in DefaultFileManager and BaseFileObject
6747645: ZipFileObject.getName is incorrectly deprecated
6885123: JavaFileObject getName issues

Reviewed-by: mcimadamore
2009-09-23 18:48:13 -07:00
Joe Darcy
2f016d3e82 6517779: javax.lang.model.util.Elements.getConstantExpression() doesn't throw any exception
6517907: javax.lang.model.util.Elements.getConstantExpression() with negative byte value fails

Fix various problems with Elements.getConstantExpression()

Reviewed-by: jjg
2009-09-23 18:29:41 -07:00
Andrew John Hughes
a6a41760f1 6884552: remove some unnecessary #ifdef's introduced in the fix for 4957990
Removed the unnecessary #ifdef's which were interfering with the build of the Zero-assembler port

Reviewed-by: ysr, jcoomes
2009-09-23 11:36:06 -07:00
Dalibor Topic
73e9e343ca 6872735: Further update build readme for new platforms
6641691: Bring build readme's up-to-date

Added build instructions for Debian, Ubuntu 8.04, 8.10, 9.04, Fedora 10, 11, OpenSolaris 2009.06, OpenSUSE and Mandriva

Reviewed-by: ohair, andrew
2009-09-23 20:06:01 +02:00
Peter Zhelezniakov
7580f39507 6857888: closed/javax/swing/JMenuItem/6458123/bug6458123.java fails with InvocationTargetException
Reviewed-by: alexp
2009-09-23 21:14:53 +04:00
Daniel D. Daugherty
f6523d1043 6876794: 4/4 sp07t002 hangs very intermittently
Remove over locking by VMThread on "is thread suspended?" check

Reviewed-by: dholmes, acorn, andrew
2009-09-22 21:12:37 -06:00
Kevin Bourrillion
beaa8fd82d 6582946: Add suite of compare(T, T) methods for ints, longs etc
Reviewed-by: darcy
2009-09-22 18:30:58 -07:00
Martin Buchholz
4e63c9bc06 4245470: algorithm of java.lang.Byte.hashCode() is not specified
Specify some hashCode methods are equivalent to intValue

Reviewed-by: darcy
2009-09-22 18:30:58 -07:00
Joe Darcy
8249846a75 6468534: (reflect) Exception types cannot be parameterized, rephrase getGenericExceptionTypes
Reviewed-by: alanb
2009-09-22 16:11:23 -07:00
Xiomara Jayasena
dbe66b7524 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:29 -07:00
Xiomara Jayasena
b9490b461c 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:16 -07:00
Xiomara Jayasena
15f08eb80e 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:10 -07:00
Xiomara Jayasena
bd6c8e08ad 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:05 -07:00
Xiomara Jayasena
61b219fab0 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:04 -07:00
Kevin Walls
f695429d13 Merge 2009-09-22 17:16:30 +01:00
Kevin Walls
d3dbee73a6 6882768: (launcher) test for 6842838 is broken
Testcase correction.

Reviewed-by: ksrini
2009-09-22 17:01:08 +01:00
Chris Hegarty
83a2d51330 6882384: Update http protocol handler to use PlatformLogger
Reviewed-by: jccollet, alanb
2009-09-22 14:49:06 +01:00
Chris Hegarty
147409ee76 6882654: Remove dependency on java.util.concurrent from KeepAlive implementaion
Reviewed-by: michaelm
2009-09-22 14:42:07 +01:00
Yuri Nesterenko
50d281b1da Merge 2009-09-22 01:20:51 -07:00
Joe Darcy
2486dde2ef 6884227: Clarify ordering requirements of javax.lang.model.TypeElement.getEnclosedElements
Reviewed-by: ahe
2009-09-21 21:08:11 -07:00
Weijun Wang
938ca04641 6877357: IPv6 address does not work
Reviewed-by: xuelei, alanb
2009-09-22 10:01:32 +08:00
Kelly O'Hair
1329a2d707 6884220: Have drop sources ignore the output.dir property
Reviewed-by: xdono
2009-09-21 17:21:26 -07:00
Kelly O'Hair
a0515a4b2f 6884220: Have drop sources ignore the output.dir property
Reviewed-by: xdono
2009-09-21 17:21:14 -07:00
Karen Kinnear
4e453ff713 Merge 2009-09-21 18:10:22 -04:00
Vinnie Ryan
f13c1a7ce9 6884175: CR cleanup for 6840752: Provide out-of-the-box support for ECC algorithms
Reviewed-by: wetmore
2009-09-21 23:01:42 +01:00
Kelly O'Hair
08094f7265 6856630: Restructure jaxp/jaxws repositories
Reviewed-by: darcy, tbell
2009-09-21 13:57:02 -07:00
Kelly O'Hair
31015d22e7 6856630: Restructure jaxp/jaxws repositories
Reviewed-by: darcy, tbell
2009-09-21 13:54:55 -07:00
Daniel D. Daugherty
2a4f284029 6419370: 4/4 new jmethodID code has tiny holes in synchronization
Fix races in jmethodID cache and JNI itable index cache.

Reviewed-by: ikrylov, acorn
2009-09-21 09:30:24 -06:00
Alexander Potochkin
77205e0f7b 6883341: SWAT: jdk7-b72 swat build(2009-09-17) threw exceptions when running Java2D demo by clicking Paint ta
Reviewed-by: peterz
2009-09-21 17:58:09 +04:00
Yuri Nesterenko
979ba581fe Merge 2009-09-21 01:26:57 -07:00
Mandy Chung
45eb529e81 Merge 2009-09-18 17:27:24 -07:00
Kelly O'Hair
cd6e08db27 6883816: corba fix for missing javax/transaction/xa classes (the real fix)
Reviewed-by: tbell
2009-09-18 17:10:28 -07:00
Kelly O'Hair
97f616d2bd 6883790: corba build problem related to wildcard and vpath, regression
Reviewed-by: tbell
2009-09-18 16:26:51 -07:00
Chris Hegarty
b80faad9c4 Merge 2009-09-18 22:19:02 +01:00
Chris Hegarty
fc6bda88ab 6882594: Remove static dependancy on NTLM authentication
Reviewed-by: alanb, weijun
2009-09-18 22:18:19 +01:00
Karen Kinnear
73672d44db Merge 2009-09-18 15:14:50 -04:00
Vladimir Kozlov
25296d001b 6820514: meet not symmetric failure in ctw
Add missing instance_id meet.

Reviewed-by: never
2009-09-18 09:57:47 -07:00
Xiomara Jayasena
2f09b5fdac Merge 2009-09-18 09:39:47 -07:00
Xiomara Jayasena
f6af1ca910 Merge 2009-09-18 09:39:45 -07:00
Tim Bell
f73e24fb02 Merge 2009-09-18 08:48:50 -07:00
Tim Bell
0f4cfe632d Merge 2009-09-18 08:47:48 -07:00
Chris Hegarty
be7dddc8a3 6882609: Move default InMemoryCookieStore to java.net
Remove static dependency on sun.net.www.protocol.http

Reviewed-by: alanb, jccollet
2009-09-18 16:24:26 +01:00
Andrey Petrusenko
0b2a3eda9c Merge 2009-09-18 06:02:17 -07:00
Pavel Porvatov
c47e47b64a 6840086: JFileChooser lacks icons on top right when running on Windows 7
Reviewed-by: peterz, uta
2009-09-18 15:11:28 +04:00
Mandy Chung
70bee45623 6882376: Add internal support for JRE implementation to eliminate the dependency on logging
Added sun.util.logging.PlatformLogger for JRE implementation to log messages.

Reviewed-by: alanb, naoto
2009-09-17 14:24:55 -07:00
Xiomara Jayasena
20b992369b Added tag jdk7-b72 for changeset 182e4a28c0ce 2009-09-17 13:47:11 -07:00
Xiomara Jayasena
581ef376a5 Added tag jdk7-b72 for changeset 41a9e8c0158c 2009-09-17 13:47:00 -07:00
Xiomara Jayasena
c9c5ac0904 Added tag jdk7-b72 for changeset e7c4cb9f1531 2009-09-17 13:46:52 -07:00
Xiomara Jayasena
243c6bb6b9 Added tag jdk7-b72 for changeset 860f9bfce06d 2009-09-17 13:46:50 -07:00
Xiomara Jayasena
fc5a3ad2a8 Added tag jdk7-b72 for changeset 0fa11a27fb57 2009-09-17 13:46:45 -07:00
Xiomara Jayasena
8355f042db Added tag jdk7-b72 for changeset 8a5d4dfe242d 2009-09-17 13:46:41 -07:00
Xiomara Jayasena
003a900fad Added tag jdk7-b72 for changeset 457827146a9c 2009-09-17 13:46:39 -07:00
Kelly O'Hair
0b60e378d4 Merge 2009-09-17 13:17:57 -07:00
Alexander Potochkin
c6abcd3327 4833524: BasicTreeUI.isToggleSelectionEvent() does not properly handle popup triggers
Reviewed-by: rupashka
2009-09-17 19:08:15 +04:00
Jennifer Godinez
7ba506e726 Merge 2009-09-16 19:36:05 -07:00
Karen Kinnear
9ed976194b 6879572: SA fails _is_marked_dependent not found
Reviewed-by: kamg, dcubed
2009-09-16 15:42:46 -04:00
Tom Rodriguez
7437f0b825 6854812: 6.0_14-b08 crashes with a SIGSEGV
Reviewed-by: kvn, twisti
2009-09-16 11:06:10 -07:00
Tim Bell
b43c00d17d Merge 2009-09-16 09:23:50 -07:00
Karen Kinnear
27286386e9 Merge 2009-09-16 09:10:57 -04:00
Sergey Groznyh
c975650b82 4337267: Arabic Numeral Shaping
Reviewed-by: peterz
2009-09-16 16:15:41 +04:00
Yuri Nesterenko
5d7bb00c89 Merge 2009-09-15 23:41:40 -07:00
John R Rose
47c425506d Merge 2009-09-15 22:50:12 -07:00
John R Rose
e261aecad8 6863023: need non-perm oops in code cache for JSR 292
Make a special root-list for those few nmethods which might contain non-perm oops.

Reviewed-by: twisti, kvn, never, jmasa, ysr
2009-09-15 21:53:47 -07:00
Daniel D. Daugherty
f97dbeeb5c 6882363: 4/4 typos in java.util.logging javadocs
Fix typos, some grammar and some inconsistencies in phrasing.

Reviewed-by: tbell
2009-09-15 22:11:15 -06:00
Erik Trimble
ca3fd330c5 Merge 2009-09-15 20:44:24 -07:00
Vladimir Kozlov
c89a572b3e 6879362: assert(!klass_is_exact(),"only non-exact klass")
Do nothing for AddP node which has type not related to the type of allocated object.

Reviewed-by: never
2009-09-15 19:03:39 -07:00
Jonathan Gibbons
e4f3f066c0 6860965: Project Coin: binary literals
6860973: Project Coin: Underscores in literals

[Portions contributed by Bruce Chapman]

Reviewed-by: darcy
2009-09-15 18:36:21 -07:00
Y. Srinivas Ramakrishna
8c18990964 6861557: G1: assert(top() == bottom() || zfs == Allocated,"Region must be empty, or ...")
Druing heap shrinking, check for emptiness of a region before modifying its ZF status.

Reviewed-by: tonyp
2009-09-15 16:50:50 -07:00
Karen Kinnear
ffb85ff832 Merge 2009-09-15 16:28:57 -04:00
Jonathan Gibbons
8a6e77c436 6882235: invalid exponent causes silent javac crash
Reviewed-by: darcy
2009-09-15 12:20:55 -07:00
Changpeng Fang
1cf5b7ae11 6879921: CTW failure jdk6_18/hotspot/src/share/vm/utilities/globalDefinitions.cpp:268
Filter out non-primitives before deciding whether two ops can be packed

Reviewed-by: kvn, never
2009-09-15 11:09:34 -07:00
Alexander Potochkin
840c0d8150 6875716: JLayer.remove((Component)null) should behave consistently in (not) throwing NPE
Reviewed-by: rupashka
2009-09-15 16:26:40 +04:00
Anthony Petrov
8de3691f04 6868255: Requirements for correct operating of the HW/LW Mixing feature need to be specified
The specification is updated

Reviewed-by: art, dcherepanov
2009-09-15 16:15:36 +04:00
Daniel D. Daugherty
06f38fc45f Merge 2009-09-14 18:54:26 -06:00
Daniel D. Daugherty
2b70fc1bba 6862295: JDWP threadid changes during debugging session (leading to ingored breakpoints)
New test for the above fix.

Reviewed-by: tbell
2009-09-14 18:45:20 -06:00
Jonathan Gibbons
e851626bac 6881317: regression: NPE in CloseableURLClassLoader
Reviewed-by: darcy
2009-09-14 17:13:00 -07:00
Mandy Chung
4263120172 Merge 2009-09-14 13:38:55 -07:00
Mandy Chung
a89a6c4aeb 6878481: Add performance counters in the JDK
Added new performance counters in the JDK to track performance metrics

Reviewed-by: alanb, dholmes, iris, forax, andrew
2009-09-14 13:37:26 -07:00
Kevin Walls
4a82626658 6842838: 64-bit failure in handling invalid manifest in launcher
Don't compare with hard-coded 32-bit -1 when checking zip fields.

Reviewed-by: ksrini
2009-09-14 20:55:08 +01:00
Vladimir Kozlov
243514d483 6827605: new String intrinsics may prevent EA scalar replacement
6875866: Intrinsic for String.indexOf() is broken on x86 with SSE4.2

Modify String intrinsic methods to pass char[] pointers instead of string oops.

Reviewed-by: never
2009-09-14 12:14:20 -07:00
Vladimir Kozlov
5e31e14ea4 Merge 2009-09-14 11:45:03 -07:00
Xiomara Jayasena
a9e537f037 Merge 2009-09-14 10:57:40 -07:00
Changpeng Fang
c492f4cde5 6877254: Server vm crashes with no branches off of store slice" when run with CMS and UseSuperWord(default)
Design StoreCMNode::Ideal to promote its oopStore input if the input is a MergeMem node

Reviewed-by: kvn, never
2009-09-14 09:49:54 -07:00
Alan Bateman
8543d84e30 6876541: (file) Files.walkFileTree(...): no SecurityException if read access to the starting file is denied
Reviewed-by: chegar
2009-09-14 17:47:26 +01:00
Alan Bateman
8f7bc9c9f3 6529758: JVMTI Waiters demo crashes. Double free
Reviewed-by: ohair, tbell
2009-09-14 15:29:13 +01:00
Martin Buchholz
b5f1c84e3e 6881442: (reflect) Race condition in Class.getName()
Only read "name" field racily once

Reviewed-by: darcy
2009-09-12 15:30:13 -07:00
Andrew John Hughes
3d73906ac5 6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk
The build fails if the bootstrap JDK defaults to <1.5

Reviewed-by: jcoomes
2009-09-12 12:50:07 +01:00
Xueming Shen
ee98fe5cd9 6881337: ZipEntry.setComment() was accidentally changed back to old spec/impl in jdk7-b64
Restored the correct spec and implementation of setComment

Reviewed-by: martin
2009-09-11 16:36:22 -07:00
Vladimir Kozlov
e0519e7bbd 6880053: assert(alloc_obj->as_CheckCastPP()->type() != TypeInstPtr::NOTNULL)
Removed second CheckCastPP and use MembarCPUOrder after arraycopy to cloned object.

Reviewed-by: never
2009-09-10 18:18:06 -07:00
Y. Srinivas Ramakrishna
e42ca11cd1 6872136: CMS: confusing message may be printed when a collector is switched off implicitly
Fix CDS/CMS option overrides related to iCMS option CMSIncrementalMode; explicate overrides to error stream.

Reviewed-by: coleenp
2009-09-10 16:46:17 -07:00
Andrew John Hughes
923f665126 6882745: Add DISABLE_INTREE_EC option to make new EC provider optional
Don't build the ec subdirectory when DISABLE_INTREE_EC is defined.

Reviewed-by: vinnie
2009-09-10 19:04:25 +01:00
Jean-Christophe Collet
19396438bb 6737819: sun.misc.net.DefaultProxySelector doesn't use proxy setting to localhost
Move default nonProxyHosts from hardcoded to property default value

Reviewed-by: chegar
2009-09-18 10:51:44 +02:00
Vladimir Kozlov
515f68b637 6880574: C2 assert in escape.cpp:445 on linux-amd64
Look through chained AddP nodes in get_addp_base().

Reviewed-by: jrose
2009-09-10 10:36:24 -07:00
Karen Kinnear
ab1485b385 Merge 2009-09-10 09:04:41 -04:00
Peter Zhelezniakov
886ebc30da 6827786: Mnemonic cycling for multiple equal mnemonic armed menu items stops when encountering a submenu
Reviewed-by: alexp
2009-09-10 12:30:55 +04:00
Lance Andersen
55b5651b11 6737212: Fixed javadoc warning messages in RowSet classes
Reviewed-by: darcy
2009-09-09 20:15:22 -04:00
Vladimir Kozlov
75e90c9027 6880533: test/compiler/6865031/Test.java miss -XX:+IgnoreUnrecognizedVMOptions
Add missing test option -XX:+IgnoreUnrecognizedVMOptions.

Reviewed-by: never
2009-09-09 16:28:03 -07:00
Sean Mullan
0ae473ed4b Merge 2009-09-09 09:59:48 -04:00
Sean Mullan
106b2d9f64 6745437: Add option to only check revocation of end-entity certificate in a chain of certificates
6869739: Cannot check revocation of single certificate without validating the entire chain

Reviewed-by: xuelei
2009-09-09 09:54:13 -04:00
Alexander Potochkin
215be80bb8 6878792: Sample provided in javax.swing.JLayer class description is not usable
Reviewed-by: rupashka
2009-09-09 17:32:18 +04:00
Yuri Nesterenko
926d6d625a Merge 2009-09-09 00:51:06 -07:00
Yuri Nesterenko
a461e5c10a Merge 2009-09-09 00:49:44 -07:00
Yuri Nesterenko
0767c39799 Merge 2009-09-09 00:48:59 -07:00
Vladimir Kozlov
f0f6f93143 6880052: SIGSEGV in GraphKit::null_check_common()
Check that a klass is not NULL before the is_loaded() call.

Reviewed-by: never
2009-09-08 16:56:31 -07:00
Martin Buchholz
f22c848304 6850958: Honor -XX:OnOutOfMemoryError when array size exceeds VM limit
Test hotspot/jvmti fix 6850957 using ProcessBuilder test infrastructure

Reviewed-by: tbell, dholmes, alanb, ysr
2009-09-08 14:33:59 -07:00
Peter von der Ahe
528f733b28 6709246: ClassCastException in javadoc
Reviewed-by: jjg
2009-09-08 14:08:26 -07:00
Peter von der Ahe
f4883897ce 5093723: REGRESSION: ClassCastException in SingleIndexWriter
Reviewed-by: jjg
2009-09-08 13:53:10 -07:00
Mandy Chung
5625b33736 Merge 2009-09-08 12:59:03 -07:00
Jonathan Gibbons
b2645b9065 6879371: javap does not close internal default file manager
Reviewed-by: darcy
2009-09-08 11:43:57 -07:00
Jonathan Gibbons
a8e28960cd 6879346: files have Windows newlines
Reviewed-by: darcy
2009-09-08 11:29:58 -07:00
Jonathan Gibbons
b2eaa8339f 6419701: DefaultFileManager clean up: URI.create
6483788: DefaultFileManager.ZipFileObject.toUri() fails to escape space characters
6501502: JSR 199: FileObject.toUri should return file:///c:/ or file:/c:/ not file://c:/
6877206: JavaFileObject.toUri returns bogus URI (win)
6877223: tests @ignored because of issues with File.toURI on Windows

Reviewed-by: mcimadamore, alanb
2009-09-08 11:12:13 -07:00
Vladimir Kozlov
d486b5f5fd 6875619: CTW fails with /hotspot/src/share/vm/opto/type.hpp
In load_array_length() cast array's type to TypeOopPtr when calling make_ideal_length() method.

Reviewed-by: never
2009-09-08 10:42:50 -07:00
Sergey Malenkov
e9e1f27be4 6868185: 2 JCK api/java_beans/Introspector/ tests fails starting from jdk7 b66
Reviewed-by: peterz
2009-09-08 14:08:59 +04:00
Andrew John Hughes
361f8360c0 Merge 2009-09-08 09:02:48 +01:00
Andrew John Hughes
9cbfcde9a7 6879689: Fix warning about ignored return value when compiling with -O2
Store the return value of fwrite and check it matches the size of the array.

Reviewed-by: twisti, dholmes
2009-09-08 09:01:16 +01:00
Pavel Porvatov
b339e0eaac 6589634: Unable to view focus on "Up one level", "create new folder" etc. of JFileChooser Dialog
Reviewed-by: peterz, loneid
2009-09-07 15:09:40 +04:00
Sergey Groznyh
755af2463d 6699856: Creating text in a JTextPane using Chinese text causes undesired behavior
Reviewed-by: peterz
2009-09-07 12:27:53 +04:00
Tim Bell
a9c0aa5d35 Merge 2009-09-06 23:14:42 -07:00
Alan Bateman
575542b7a4 Merge 2009-09-05 15:57:25 +01:00
Tim Bell
2528789489 Merge 2009-09-04 17:07:29 -07:00
Mandy Chung
4097a41ef0 Merge 2009-09-04 15:44:26 -07:00
Alan Bateman
d1f3f3509d 6432567: PIT : com/sun/jdi/BadHandshakeTest.java fails due to java.net.ConnectException
Reviewed-by: tbell, ohair, dcubed, andrew
2009-09-04 22:22:55 +01:00
Martin Buchholz
86d587f77c 6879368: Remove stray quote in Character javadoc
Remove stray quote in Character.valueOf javadoc, using Ulf's \u005CuXXXX technique

Reviewed-by: darcy
2009-09-04 13:44:36 -07:00
Joe Darcy
f8db2dee43 6873951: test/java/lang/reflect/Generics/Probe.java fails
Reviewed-by: alanb
2009-09-04 13:11:17 -07:00
Alan Bateman
5d15a44868 6868627: (spec) Files.walkFileTree doesn't make it clear that uncaught errors and exceptions are propagated
Reviewed-by: sherman
2009-09-04 18:17:26 +01:00
Alan Bateman
98e07b99bf 6873621: (file) FileStore.supportsFileAttributeView(Class<FileAttributeView> type) returns wrong result
Reviewed-by: andrew
2009-09-04 18:15:50 +01:00
Karen Kinnear
488e99efd8 6830542: Performance: JVM_DefineClass already verified
Reviewed-by: kamg, phh
2009-09-04 12:53:02 -04:00
Andrey Petrusenko
9ae6fb796e Merge 2009-09-04 05:31:37 -07:00
Yuri Nesterenko
13dde485d8 6871299: Shift+Tab no longer generates a KEY_TYPED event; used to with JRE 1.5
Add XK_ISO_Left_Tab -> VK_TAB rule

Reviewed-by: dcherepanov
2009-09-04 14:50:58 +04:00
Weijun Wang
58285b80f7 6871847: AlgorithmId.get("SHA256withECDSA") not available
Reviewed-by: vinnie
2009-09-04 14:59:20 +08:00
Weijun Wang
fe71efb327 6876328: different names for the same digest algorithms breaks jarsigner
Reviewed-by: mullan
2009-09-04 14:58:01 +08:00
John Coomes
928d5f78a4 6879076: disable jprt sync after builds are done
Reviewed-by: kamg, dholmes
2009-09-03 19:21:55 -07:00
Tim Bell
85c1521893 Merge 2009-09-03 18:34:17 -07:00
Tim Bell
83913b7eb3 Merge 2009-09-03 18:32:55 -07:00
Kelly O'Hair
0c401657e1 6855174: Improve log output when builds transition from one workspace to another
Reviewed-by: jjg
2009-09-03 17:44:28 -07:00
Mandy Chung
9bbb1cf383 Merge 2009-09-03 16:09:37 -07:00
Xiomara Jayasena
b08657d2a5 Added tag jdk7-b71 for changeset cdf91569d4eb 2009-09-03 10:53:14 -07:00
Xiomara Jayasena
13aa25f4c7 Added tag jdk7-b71 for changeset 9abe0c99c0b9 2009-09-03 10:53:04 -07:00
Xiomara Jayasena
dd4c0eb96a Added tag jdk7-b71 for changeset ee84ebd54dea 2009-09-03 10:52:58 -07:00
Xiomara Jayasena
87d5ac63db Added tag jdk7-b71 for changeset 8796aa786ade 2009-09-03 10:52:56 -07:00
Xiomara Jayasena
c5819893e7 Added tag jdk7-b71 for changeset 8e014ad9c233 2009-09-03 10:52:51 -07:00
Xiomara Jayasena
3783377b2b Added tag jdk7-b71 for changeset ae9b655e7393 2009-09-03 10:52:48 -07:00
Xiomara Jayasena
d1c8fd4a06 Added tag jdk7-b71 for changeset 9a027a1c0510 2009-09-03 10:52:47 -07:00
Jonathan Gibbons
4de45a009d 6874249: Check has duplicate local variable and field for "source"
Reviewed-by: mcimadamore
2009-09-02 10:20:46 -07:00
Kelly O'Hair
b4723614c1 6875240: Reduce Makefile build time by limiting repeated exec's (mostly for cygwin building)
Reviewed-by: jjg, iris
2009-09-02 09:20:17 -07:00
Alexander Potochkin
8db0c57ad0 6797139: JButton title is truncating for some strings irrespective of preferred size
Reviewed-by: peterz
2009-09-02 17:47:19 +04:00
Poonam Bajaj
c04761e799 6858208: jvm crash when specifying TypeProfileWidth=0 on jdk 6.0
Add an explicit check for TypeProfileWidth == 0 in record_klass_in_profile_helper() functions.

Reviewed-by: never, coleenp
2009-09-01 23:34:08 -07:00
Andrew John Hughes
a2574bbbdb 6878106: Synchronize CORBA and JDK makefiles where possible
Add recent changes to the JDK makefile to the CORBA makefile

Reviewed-by: jjg, never
2009-09-01 23:44:41 +01:00
Xiomara Jayasena
a0f91a8f7e Merge 2009-09-01 13:03:09 -07:00
Jonathan Gibbons
98fa57b3ac 6877763: update langtools/test/Makefile for JPRT
Reviewed-by: ohair
2009-09-01 11:35:00 -07:00
Alexander Potochkin
3ef90fd6fd 6875153: JLayer.isOptimizedDrawingEnabled() throws NPE for null glass pane set
Reviewed-by: rupashka
2009-09-01 18:51:15 +04:00
Maurizio Cimadamore
1de40db76d 6650759: Inference of formal type parameter (unused in formal parameters) is not performed
Propagate inference constraints from 15.12.2.7 to 15.12.2.8

Reviewed-by: jjg
2009-09-01 14:53:39 +01:00
Peter Zhelezniakov
4e092f7b46 6387579: Usage of package-private class as parameter of a method (javax.swing.tree.DefaultTreeSelectionModel)
Reviewed-by: rupashka
2009-09-01 15:34:21 +04:00
Yuka Kamiya
1c6321606d 6856390: RFE : sequence.allfonts.UTF-8.ja for Windows fontconfig.properties
Reviewed-by: okutsu
2009-09-01 16:15:12 +09:00
Yuka Kamiya
1edb7c8b69 6838887: (tz) Add UTC and Yerevan to tzmappings
Reviewed-by: okutsu
2009-09-01 15:42:01 +09:00
Yuka Kamiya
7a13cf5c89 6830423: Unified Ext B character not displayed with Dialog font
Reviewed-by: okutsu
2009-09-01 15:39:17 +09:00
Jonathan Gibbons
a4d40c3100 6877759: test/tools/javac/processing/environment/round/TestElementsAnnotatedWith.java leaves open file
Reviewed-by: darcy
2009-08-31 19:43:06 -07:00
Jonathan Gibbons
729ed5d746 6877751: test/tools/javac/6627362/T6627362.java fails
Reviewed-by: darcy
2009-08-31 18:25:00 -07:00
Jonathan Gibbons
9df373712c 6877744: delete extraneous file
Reviewed-by: darcy
2009-08-31 17:16:52 -07:00
Tom Rodriguez
57a92290f4 6855215: Calculation error (NaN) after about 1500 calculations
Reviewed-by: kvn
2009-08-31 17:07:53 -07:00
Martin Buchholz
9ef7eb7884 6860431: Character.isSurrogate(char ch)
Add new method Character.isSurrogate(char ch)

Reviewed-by: sherman, darcy, okutsu
2009-08-31 15:00:04 -07:00
Jonathan Gibbons
ec2a9994f5 6877229: more javac tests fail on Windows
Reviewed-by: darcy
2009-08-31 12:36:26 -07:00
Changpeng Fang
457be8ad49 6876276: assert(!is_visited,"visit only once")
Schedule the superword loads based on dependence constraints

Reviewed-by: kvn, never
2009-08-31 08:31:45 -07:00
Alexander Potochkin
28023ec9d0 6872503: JLayer event handling should be rewritten
Reviewed-by: art
2009-08-31 18:39:41 +04:00
Peter Zhelezniakov
4f51fb4047 6844267: Nimbus generator depends on JIBX
Nimbus generator now uses JAXB instead of JIBX

Reviewed-by: jasper
2009-08-31 14:10:30 +04:00
Peter Zhelezniakov
39c5985ede 6844267: Nimbus generator depends on JIBX
Nimbus generator now uses JAXB instead of JIBX

Reviewed-by: jasper
2009-08-31 13:56:34 +04:00
Peter Zhelezniakov
d1839690e3 6802944: Nimbus initialization is too slow
Reviewed-by: jasper
2009-08-31 13:46:24 +04:00
Christian Thalinger
6ef69eb7c3 6875967: CTW fails with./generated/adfiles/ad_sparc.cpp:6711
Reviewed-by: cfang, never
2009-08-31 02:24:21 -07:00
Yuka Kamiya
4e064060c0 6456628: (tz) Default timezone is incorrectly set occasionally on Linux
Reviewed-by: okutsu
2009-08-31 14:53:05 +09:00
Yuka Kamiya
4e70dbf4cd 6872467: (tz) Support tzdata2009l
Reviewed-by: okutsu
2009-08-31 14:50:33 +09:00
Yuka Kamiya
be422eef48 6851214: (tz) New Jordan rule creates a failure for SimpleTimeZone parsing post tzdata2009h
Reviewed-by: okutsu
2009-08-31 12:55:15 +09:00
Andrei Pangin
13516fe398 Merge 2009-08-30 15:33:14 -07:00
Tim Bell
9d0ed63add Merge 2009-08-28 16:54:10 -07:00
Tim Bell
2c7126577e Merge 2009-08-28 16:53:44 -07:00
Daniel D. Daugherty
be978406f7 Merge 2009-08-28 15:03:15 -07:00
Jonathan Gibbons
45e9a3c1e9 6877188: some javac shell tests do not work on Windows
Reviewed-by: darcy
2009-08-28 14:48:49 -07:00
Joe Darcy
d3e91c9151 6261502: (reflect) Add the functionality to screen out the "inappropriate" modifier bits
Reviewed-by: alanb
2009-08-28 14:11:00 -07:00
Jonathan Gibbons
e4158efc0e 6876782: two javadoc tests fail on Windows
Reviewed-by: darcy
2009-08-28 12:12:08 -07:00
Daniel D. Daugherty
2357edfa00 Merge 2009-08-28 12:32:06 -06:00
Daniel D. Daugherty
779247f1cb 6875393: 2/3 JNI itable index cache is broken
Add missing initialization of cache size.

Reviewed-by: tbell
2009-08-28 12:25:46 -06:00
Vladimir Kozlov
343b5b0bef 6875577: CTW fails with /hotspot/src/share/vm/opto/memnode.cpp
Fix do_null_check to check for unloaded klass for all oop pointers.

Reviewed-by: never, cfang
2009-08-28 11:19:33 -07:00
Joe Darcy
575a3613d5 6877122: Many javadoc warnings from java.awt.Window, other awt classes
Reviewed-by: anthony
2009-08-28 11:11:11 -07:00
Abhijit Saha
42e578e5cc 6821003: Update hotspot windows os_win32 for windows 7
Reviewed-by: xlu
2009-08-28 08:54:28 -07:00
Anthony Petrov
197de32fb3 6689468: test/closed/java/awt/Component/VisibleHwInLwContTest/VisibleHwInLwContTest.html fails
The addNotify() checks whether the component is actually hidden, and hides the peer appropriately if needed

Reviewed-by: art, dcherepanov
2009-08-28 19:34:00 +04:00
Jonathan Gibbons
944568ba4b 6876765: javah tests fail on Windows
Reviewed-by: darcy
2009-08-27 18:25:21 -07:00
Xiaobin Lu
4b58ee1a37 6876282: BigDecimal's divide(BigDecimal bd, RoundingFormat r) produces incorrect result
Reviewed-by: darcy
2009-08-27 18:00:16 -07:00
Jonathan Gibbons
57102e24d4 6876755: apt tests fail on Windows
Reviewed-by: darcy
2009-08-27 17:50:21 -07:00
Jonathan Gibbons
ba8c7416f8 6876753: javap tests fail on Windows
Reviewed-by: darcy
2009-08-27 17:39:16 -07:00
Jonathan Gibbons
cf9084dc86 6843707: bad tests generate files in the test/ directory
6876699: generated files in repository

Reviewed-by: darcy
2009-08-27 15:12:36 -07:00
Mandy Chung
fcf8bea162 Merge 2009-08-27 12:58:18 -07:00
Joe Darcy
03e9812175 6876628: @throw instead of @throws in two ParagraphView classes
Reviewed-by: peterz
2009-08-27 11:48:35 -07:00
Jonathan Gibbons
af2f2e8d36 6875336: some tests should use /nodynamiccopyright/
Reviewed-by: darcy
2009-08-27 11:08:27 -07:00
Christian Thalinger
b357ca3ad1 6865583: Verbose CIPrintMethodCodes asserts when ldc an empty String
Ldc seems to load an empty String and that leads to an assert on offset < length, which are both zero.

Reviewed-by: kvn, never
2009-08-27 06:17:23 -07:00
Dmitry Cherepanov
8b2b083b28 6854898: Frame is located at the negative coordinates instead of origin for Solaris 10 CDE
Reviewed-by: art, anthony
2009-08-27 17:06:23 +04:00
Dmitry Cherepanov
27d7a83c52 6852051: Getting Null Pointer Exception when displaying message for TrayIcon on Opensolaris
Reviewed-by: anthony
2009-08-27 17:04:47 +04:00
Anthony Petrov
02d0fa16db 6780496: Javaw process taking up 80-90 percent of CPU time!
The transparency effects get enabled on showing, and disabled on hiding a window

Reviewed-by: art, dcherepanov
2009-08-27 16:42:55 +04:00
Maurizio Cimadamore
e5ce4a752b 6840638: Project Coin: Improved Type Inference for Generic Instance Creation (aka 'diamond')
Diamond operator implementation (simple approach)

Reviewed-by: jjg
2009-08-27 13:40:48 +01:00
Joe Darcy
a898594639 6548708: Annotation processing should free service loader if there are no processors
Reviewed-by: jjg
2009-08-26 19:28:51 -07:00
Doug Lea
28c28df142 6868712: Improve concurrent queue tests
Fix all known flaky tests, plus minor maintenance

Reviewed-by: martin, chegar
2009-08-25 19:19:42 -07:00
Doug Lea
f1047d3739 6871697: LinkedBlockingQueue Iterator/remove/poll race
More checks for node.next == node

Reviewed-by: martin, dholmes, chegar
2009-08-25 19:19:42 -07:00
Weijun Wang
50754f7c2e 6868864: Kerberos tests fail under windows/cygwin
Reviewed-by: wetmore
2009-08-26 12:17:29 +08:00
Joe Darcy
a6f341dfc9 6875861: javadoc build warning on java.util.Properites from unconventional @see ordering
Reviewed-by: martin
2009-08-25 18:58:26 -07:00
Joe Darcy
47307bdb89 6872011: Update printing processor to support JSR 308
Reviewed-by: jjg
2009-08-25 16:41:32 -07:00
Xueming Shen
71cf18b3e2 4963968: zlib should be upgraded to current version of zlib
Upgrade zlib to the latest ver 1.2.3

Reviewed-by: martin, alanb, ksrini
2009-08-25 15:14:53 -07:00
Vladimir Kozlov
15d404c6c6 Merge 2009-08-25 13:08:40 -07:00
Tim Bell
f880550336 Merge 2009-08-24 22:39:34 -07:00
Tim Bell
44055d286a Merge 2009-08-24 22:28:37 -07:00
Tim Bell
7e71cce8a2 Merge 2009-08-24 22:27:30 -07:00
Tom Rodriguez
9966801c6c 6875329: fix for 6795465 broke exception handler cloning
Reviewed-by: kvn
2009-08-24 22:26:15 -07:00
Xiomara Jayasena
c7d5b04751 Merge 2009-08-24 17:26:09 -07:00
Xiomara Jayasena
8e4213dda2 Merge 2009-08-24 17:25:50 -07:00
Jonathan Gibbons
b91de4eb6a 6869216: testgetallmembers should consistently use correct filemanager
Reviewed-by: darcy
2009-08-24 14:38:42 -07:00
Vladimir Kozlov
2a362d8b87 6873800: enable compressed oops by default
Enable compressed oops by default

Reviewed-by: never, ysr
2009-08-24 11:13:46 -07:00
Vinnie Ryan
f249b36d72 6872048: bad private keys are generated for 2 specific ECC curves
Reviewed-by: wetmore
2009-08-24 18:37:37 +01:00
Mandy Chung
1478582041 Merge 2009-08-24 10:33:08 -07:00
Kelly O'Hair
1b8f98b70e 6853636: Fix warnings in jdwpgen, add jdwpgen NetBeans project
Reviewed-by: andrew, alanb, tbell, swamyv
2009-08-24 09:57:30 -07:00
Alexander Potochkin
343439d82f 6824395: Several Swing core components prevent using them in wrapper classes
Reviewed-by: peterz
2009-08-24 19:22:38 +04:00
Pavel Porvatov
5e92ec1716 6849266: closed/javax/swing/JFileChooser/6484091/bug6484091.java fails on solaris 10 sparc
Reviewed-by: peterz
2009-08-24 18:21:47 +04:00
Weijun Wang
e936496a7b 6875033: regression: test of 6867665 fail
Reviewed-by: xuelei
2009-08-24 18:37:48 +08:00
Alan Bateman
491fdce2fd Merge 2009-08-23 17:20:46 +01:00
Alan Bateman
aecf7417ad 6842687: New I/O: Update Asynchronous I/O API to jsr203/nio2-b101
Reviewed-by: sherman
2009-08-23 12:53:45 +01:00
Alan Bateman
7fa9df60ce 6874521: Remove @note tags
Reviewed-by: andrew, darcy
2009-08-22 17:40:18 +01:00
Erik Trimble
13f64cfc51 Merge 2009-08-21 20:39:41 -07:00
Erik Trimble
3356fa9895 6873236: Fork HS16 to HS17 - renumber Major and build numbers of JVM
Update the Major and build numbers for HS17 fork

Reviewed-by: jcoomes
2009-08-21 20:38:36 -07:00
Erik Trimble
3b812e4892 Merge 2009-08-21 20:16:58 -07:00
Jonathan Gibbons
0ec5040633 6873845: refine access to symbol file
Reviewed-by: darcy
2009-08-21 14:58:21 -07:00
Tim Bell
edc02e3e92 6705913: freetype_versioncheck.exe - Unable To Locate Component
Update freetype_versioncheck to deal with newer Visual Studio releases

Reviewed-by: ohair
2009-08-21 12:12:48 -07:00
Joe Darcy
980873244b 6378701: (enum) Unclear purpose of EnumConstantNotPresentException
Reviewed-by: lancea, andrew, alanb
2009-08-21 11:31:18 -07:00
Jonathan Gibbons
bde1a2faf8 6873849: suppress notes generated by javac
Reviewed-by: darcy
2009-08-21 11:25:45 -07:00
Pavel Porvatov
afca155718 6579827: vista : JSlider on JColorchooser is not properly render or can't be seen completely
Reviewed-by: peterz
2009-08-21 16:59:27 +04:00
Yuri Nesterenko
0ee9dc7c6f Merge 2009-08-20 23:30:03 -07:00
Changpeng Fang
ff9a1bddb5 6873116: Modify reexecute implementation to use pcDesc to record the reexecute bit
Use PcDesc to keep record of the reexecute bit instead of using DebugInfoStreams

Reviewed-by: kvn, never, twisti
2009-08-20 12:42:57 -07:00
Xiomara Jayasena
792dd2427f Added tag jdk7-b70 for changeset b4c0c49979ff 2009-08-20 11:20:31 -07:00
Xiomara Jayasena
74fd6ac482 Added tag jdk7-b70 for changeset 510668ab2f32 2009-08-20 11:20:21 -07:00
Xiomara Jayasena
0c2b4cd183 Added tag jdk7-b70 for changeset c311084b506d 2009-08-20 11:20:15 -07:00
Xiomara Jayasena
0d0c940c99 Added tag jdk7-b70 for changeset 102c6671e1cf 2009-08-20 11:20:13 -07:00
Xiomara Jayasena
8d3b392ec7 Added tag jdk7-b70 for changeset 0caafb54c87f 2009-08-20 11:20:09 -07:00
Xiomara Jayasena
e0f2ac7318 Added tag jdk7-b70 for changeset e77e0b46683d 2009-08-20 11:20:05 -07:00
Xiomara Jayasena
5f8e711a97 Added tag jdk7-b70 for changeset d36024aecf97 2009-08-20 11:20:04 -07:00
Alan Bateman
b458f8ca65 6866804: (file) Path calls checkPermission insteadof checkXXX (sol)
Reviewed-by: sherman
2009-08-20 08:48:29 +01:00
Alan Bateman
97e10327ed 6870926: (file) Path.toRealPath performance can be improved (win)
Reviewed-by: sherman
2009-08-20 08:42:38 +01:00
Alan Bateman
41a783f149 6595866: File does work with symbolic links (win,vista)
Reviewed-by: sherman
2009-08-20 08:39:18 +01:00
Weijun Wang
7c86823f01 6867665: Problem with keytabs with multiple kvno's (key versions)
Reviewed-by: valeriep, ohair
2009-08-20 11:24:42 +08:00
Vladimir Kozlov
15b6cdf897 6873799: enable escape analysis by default
Enable escape analysis by default

Reviewed-by: never
2009-08-19 19:05:18 -07:00
Tom Rodriguez
0217f432c2 6873777: FPU control word optimization still performed with SSE
Reviewed-by: kvn
2009-08-19 18:54:35 -07:00
Andrew John Hughes
310e07492f 6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk javac
The bootstrap javac currently uses the default source and targets of the boot javac

Reviewed-by: jjg, ohair
2009-08-20 01:28:58 +01:00
Joe Darcy
54aaa7ae7a 6871291: Please clarify javax.tools.JavaCompiler.getTask() "classes" parameter
Reviewed-by: jjg
2009-08-19 17:12:36 -07:00
Andrei Pangin
6d98918342 Merge 2009-08-19 15:46:22 -07:00
Andrew John Hughes
5c818e4b6a 6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk
Set source and target explicitly in pcompile task

Reviewed-by: jjg
2009-08-19 20:44:22 +01:00
Alexander Potochkin
68a69bc334 6872492: JLayer sources contain wrong header
Reviewed-by: rupashka
2009-08-19 17:24:22 +04:00
Yuri Nesterenko
4c2a46386f Merge 2009-08-18 23:40:15 -07:00
Xiomara Jayasena
0fcf19433e Merge 2009-08-18 19:53:43 -07:00
Tim Bell
79d9a6bd20 Merge 2009-08-18 17:46:58 -07:00
Tim Bell
7cf8652f4d Merge 2009-08-18 17:45:46 -07:00
Tim Bell
d0acfd8b31 6873200: patch.out and jaxws.patch do not belong in jaxws repository
Reviewed-by: xdono, ohair
2009-08-18 16:15:37 -07:00
Andrew John Hughes
85c26d2c57 6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk javac
The bootstrap javac currently uses the default source and targets of the boot javac

Reviewed-by: ohair
2009-08-18 19:50:12 +01:00
Weijun Wang
afe6e91726 6829785: TextCallbackHandler does not honor PasswordCallback.isEchoOn()
Reviewed-by: mullan
2009-08-18 10:20:50 +08:00
Andrei Pangin
ab4b4a6433 Merge 2009-08-17 15:03:39 -07:00
Tom Rodriguez
cc01c0f4f6 6795465: Crash in assembler_sparc.cpp with client compiler on solaris-sparc
Reviewed-by: twisti, cfang
2009-08-17 14:45:02 -07:00
Changpeng Fang
05c34e93bd 6866651: Regression: simple int sum crashes jvm (build 1.6.0_14-b08 and 1.7.0-ea-b59)
Delay dead code elimination in set_req_X to make it safe

Reviewed-by: kvn, never
2009-08-17 12:11:06 -07:00
Changpeng Fang
f6f2d510b9 6829127: Deoptimization Failure on Specjvm98 _227_mtrt with -XX:+DeoptimizeALot since Hs11 b01
Make sure the control word is correct in deopt_blob after restore_result_registers

Reviewed-by: kvn, never
2009-08-17 09:48:02 -07:00
Tom Rodriguez
61d82b75be Merge 2009-08-14 22:11:18 -07:00
Bradford Wetmore
8a4dd6d425 6872177: JCE framework and provider builds broken following -target 7 changes
Reviewed-by: ohair
2009-08-14 17:29:31 -07:00
Erik Trimble
343d7a9ab6 Merge 2009-08-14 17:14:07 -07:00
Tom Rodriguez
7d0158d27f Merge 2009-08-14 15:55:26 -07:00
Tom Rodriguez
398fffa232 6862863: C2 compiler fails in elide_copy()
Reviewed-by: kvn
2009-08-14 15:53:46 -07:00
Xueming Shen
efe409bf8b 6730652: CharsetEncoder.canEncode(char) returns incorrect values for some charsets
Override the canEncode() in ISO2022_CN_CNS

Reviewed-by: martin
2009-08-14 14:29:45 -07:00
Phil Race
e674d62725 6867603: sun.font.FontManager.getDefaultPlatformFont throws NPE in OpenJDK on Solaris 10 10/08
Reviewed-by: igor, jgodinez
2009-08-14 14:25:22 -07:00
Andrey Petrusenko
ead860c069 6872000: G1: compilation fails on linux/older gcc
Reviewed-by: jcoomes, tonyp
2009-08-14 13:44:15 -07:00
Vladimir Kozlov
6f927f1578 6869822: assert(Universe::narrow_oop_shift() == 0,"use unscaled narrow oop")
Replace the assert with narrow_oop_shift set to 0.

Reviewed-by: never, jcoomes
2009-08-14 12:23:11 -07:00
Xueming Shen
94d23c375f 6866397: (file) PathMatcher with regex syntax doesn't match as expected (win)
Use unicode_case_insensitive for windows path matcher for now.

Reviewed-by: alanb
2009-08-14 11:23:01 -07:00
Tim Bell
7856101004 Merge 2009-08-14 08:53:23 -07:00
Tim Bell
30d9505bc1 Merge 2009-08-14 08:51:56 -07:00
Tim Bell
872af9f8c7 Merge 2009-08-14 08:51:25 -07:00
Tim Bell
6d0a5e031b Merge 2009-08-14 08:50:54 -07:00
Tim Bell
65e1007b58 Merge 2009-08-14 08:50:00 -07:00
Tim Bell
6667edcb0b Merge 2009-08-14 08:49:25 -07:00
Tim Bell
b50d693f59 Merge 2009-08-14 08:49:04 -07:00
Pavel Porvatov
5fe3a9d7b6 6824600: OOM occurs when setLookAndFeel() is executed in Windows L&F(XP style)
Reviewed-by: alexp
2009-08-14 13:18:10 +04:00
Tom Rodriguez
c94a076d34 6862956: PhaseIdealLoop should have a CFG verification mode
Reviewed-by: kvn, twisti
2009-08-14 00:02:12 -07:00
Erik Trimble
3d20d74ae0 Merge 2009-08-13 17:59:05 -07:00
Erik Trimble
68e4dd4816 6871765: Bump the HS16 build number to 08
Update the HS16 build number to 08

Reviewed-by: jcoomes
2009-08-13 17:47:43 -07:00
Xueming Shen
04185fd4b8 Merge 2009-08-13 15:12:32 -07:00
Xueming Shen
fcfe031b58 6676423: (prefs) Opensource unit/regression tests for java.util.prefs
Moved the existing test cases for prefs to open area

Reviewed-by: martin, alanb
2009-08-13 15:01:18 -07:00
Bradford Wetmore
84ef08a85a Merge 2009-08-13 12:37:47 -07:00
Bradford Wetmore
e35a79a518 6870335: Provider numbers need to be bumped to 1.7
Reviewed-by: mullan
2009-08-13 12:36:10 -07:00
Xiomara Jayasena
ab474107c0 Added tag jdk7-b69 for changeset 2556d2c42271 2009-08-13 12:11:32 -07:00
Xiomara Jayasena
5fcd775286 Added tag jdk7-b69 for changeset e0b23259a484 2009-08-13 12:11:21 -07:00
Xiomara Jayasena
0f356feefb Added tag jdk7-b69 for changeset acd82ea7ff8d 2009-08-13 12:11:14 -07:00
Xiomara Jayasena
798e9abf97 Added tag jdk7-b69 for changeset 803bf611f5c9 2009-08-13 12:11:12 -07:00
Xiomara Jayasena
6c9a7e8afe Added tag jdk7-b69 for changeset 93c79b9962dd 2009-08-13 12:11:07 -07:00
Xiomara Jayasena
7918093df4 Added tag jdk7-b69 for changeset 3b0aa8182028 2009-08-13 12:11:03 -07:00
Xiomara Jayasena
0ce3618e91 Added tag jdk7-b69 for changeset f6b28dd0120d 2009-08-13 12:11:02 -07:00
Xueming Shen
dfa68f9504 6840246: Lightweight implementation of String.split for simple use case
Added a fastpath for simple use case

Reviewed-by: alanb, martin
2009-08-13 10:50:23 -07:00
John Coomes
1a11be46ca 6867645: java -Xshare:dump failed - read only space too small
Reviewed-by: iveresov, tonyp, ysr
2009-08-12 14:27:54 -07:00
Jonathan Gibbons
b81f0f8916 6558476: com/sun/tools/javac/Main.compile don't release file handles on return
Reviewed-by: darcy
2009-08-12 10:34:13 -07:00
Xiomara Jayasena
3333513f33 Merge 2009-08-12 10:32:32 -07:00
Roman Kennke
afb1868fc4 6870238: Font2DTest fails on Debian after FontManager refactoring
Use fontManager field instead of querying the FontManagerFactory

Reviewed-by: igor, prr
2009-08-12 17:21:08 +02:00
Jonathan Gibbons
b95303097d 6758471: should be able to set jtreg options in langtools build
Reviewed-by: mcimadamore
2009-08-12 07:54:30 -07:00
Jonathan Gibbons
d029eaeb57 6870706: langtools launcher issues
Reviewed-by: mcimadamore
2009-08-12 07:14:02 -07:00
Yuri Nesterenko
093ffa46b3 Merge 2009-08-12 00:33:32 -07:00
Yuri Nesterenko
3ee6a85bc7 Merge 2009-08-12 00:32:35 -07:00
John Coomes
1a7648b1c2 6866585: debug code in ciObjectFactory too slow for large objects
Reviewed-by: ysr, never, kvn
2009-08-11 23:24:41 -07:00
Daniel D. Daugherty
d9b6a2252e Merge 2009-08-11 20:06:52 -06:00
Daniel D. Daugherty
def4483570 6870298: 4/4 fix minor typos in java/lang/instrument/Instrumentation.java
Fix typos in the JavaDoc.

Reviewed-by: tbell
2009-08-11 20:02:43 -06:00
Jonathan Gibbons
46c42f2362 6870743: update comments in langtools/make/build.properties
Reviewed-by: darcy
2009-08-11 18:35:05 -07:00
Jonathan Gibbons
da2b8ebcd0 6870591: langtools build sets javac.bootclasspath incorrectly
Reviewed-by: ohair
2009-08-11 14:05:32 -07:00
Daniel D. Daugherty
aca1d9534f 6862945: 4/3 conversion of jmethodID to methodOop in JVMTI is too expensive
Refactor JNIHandles::checked_resolve_jmethod_id() into fast and paranoid parts.

Reviewed-by: never, alanb
2009-08-11 11:57:51 -06:00
Vinnie Ryan
54b3f1068d Merge 2009-08-11 17:01:07 +01:00
Vinnie Ryan
3ed22e2e7a Merge 2009-08-11 16:57:09 +01:00
Vinnie Ryan
59d983ade0 6840752: Provide out-of-the-box support for ECC algorithms
Reviewed-by: alanb, mullan, wetmore
2009-08-11 16:52:26 +01:00
Abhijit Saha
4c1bad113e Merge 2009-08-11 08:22:46 -07:00
Abhijit Saha
4721c15d98 Merge 2009-08-11 08:22:09 -07:00
Alan Bateman
a3af9140c9 6865748: (file) SimpleFileVisitor methods ignore null arguments
Reviewed-by: sherman
2009-08-11 12:49:16 +01:00
Alan Bateman
c583b690e3 6867781: (file) Examples in javadoc use newFileAttributeView instead of getFileAttributeView
Reviewed-by: sherman
2009-08-11 12:38:43 +01:00
Alan Bateman
90b1aee142 4516760: (so) Intermittent SocketException: Transport endpoint is not connected (lnx)
Reviewed-by: sherman
2009-08-11 12:37:02 +01:00
Xue-Lei Andrew Fan
3db64bc897 6585239: Regression: 2 DNS tests fail with JDK 5.0u13 b01 and pass with 5.0u12fcs
Reviewed-by: vinnie
2009-08-11 18:27:01 +08:00
Weijun Wang
aa514761f5 6868867: Test: sun/security/tools/keytool/standard.sh fails under windows/cygwin
Reviewed-by: wetmore
2009-08-11 15:36:52 +08:00
Weijun Wang
be3a1f1294 6821190: more InquireType values for ExtendedGSSContext
Reviewed-by: valeriep
2009-08-11 12:20:32 +08:00
Weijun Wang
50689ce536 6710360: export Kerberos session key to applications
Reviewed-by: valeriep
2009-08-11 12:17:13 +08:00
Weijun Wang
cb2742d7b2 6866479: libzip.so caused JVM to crash when running jarsigner
Reviewed-by: mullan
2009-08-11 12:15:24 +08:00
Maurizio Cimadamore
b2f97fc341 6199153: Generic throws and overriding
Javac incorrectly rejects an uchecked overriding

Reviewed-by: jjg
2009-08-11 01:14:31 +01:00
Maurizio Cimadamore
d8292cad05 6569404: Cannot instantiate an inner class of a type variable
Javac is too strict in rejecting member selction from a type-var

Reviewed-by: jjg
2009-08-11 01:14:06 +01:00
Maurizio Cimadamore
b097f12a5d 6869075: regression: javac crashes when compiling compound string assignment with generics
Javac should not add syntehtic cast to the LHS of an assignment expression

Reviewed-by: jjg
2009-08-11 01:13:42 +01:00
Maurizio Cimadamore
a11cd67b7c 6521805: Regression: JDK5/JDK6 javac allows write access to outer class reference
Javac should warn/complain about identifiers with the same name as synthetic symbol

Reviewed-by: jjg
2009-08-11 01:13:14 +01:00
Maurizio Cimadamore
b466a2fcc9 6840059: regression: javac silently crashes when resolving erroneous anonymous inner constructor
Resolved an internal crash with constructor resolution

Reviewed-by: jjg
2009-08-11 01:12:40 +01:00
Maurizio Cimadamore
578138abeb 6390045: Unexpected error "cannot access java.lang.Void" with '-target cldc1.0' with -source >=1.5
Javac needs to synthetize a fake java.lang.Void symbol if one is not given on the classpath

Reviewed-by: jjg
2009-08-11 01:12:13 +01:00
Maurizio Cimadamore
ac4b216060 6806876: ClassCastException occurs in assignment expressions without any heap pollutions
Intersection types should be considered as non-reifiable by javac

Reviewed-by: jjg
2009-08-11 01:11:37 +01:00
Abhijit Saha
06dc51ad43 Merge 2009-08-10 10:52:51 -07:00
Abhijit Saha
5ed12881c7 Merge 2009-08-10 10:52:39 -07:00
Abhijit Saha
301d96b277 Merge 2009-08-10 10:52:11 -07:00
Abhijit Saha
7b9b3e0723 Merge 2009-08-10 10:50:14 -07:00
Abhijit Saha
fa5bf6c037 Merge 2009-08-10 10:49:32 -07:00
Abhijit Saha
1778e5915b Merge 2009-08-10 09:47:21 -07:00
Abhijit Saha
b9bb7ed20f Merge 2009-08-10 09:36:40 -07:00
Alexander Potochkin
3f2aa03af7 6822696: Integrating JXLayer component to Swing library
Reviewed-by: peterz, art
2009-08-10 16:29:30 +04:00
Pavel Porvatov
aedd67d988 6461173: One JCK test([NewFolderAction0001]) failed on Windows due to lack of PropertyPermission(s)
Reviewed-by: peterz, malenkov
2009-08-10 14:55:10 +04:00
Y. Srinivas Ramakrishna
7a1d233375 Merge 2009-08-09 17:03:51 -07:00
Jonathan Gibbons
7d420d30b9 6868539: javap should use current names for constant pool tags
Reviewed-by: ksrini
2009-08-08 17:56:37 -07:00
Jonathan Gibbons
c28b62e1d5 6868548: remove spurious ';' from after constant pool entries
Reviewed-by: ksrini
2009-08-08 17:50:57 -07:00
Abhijit Saha
7d8f9efba6 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:32:20 -07:00
Abhijit Saha
02d508cbf2 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:32:04 -07:00
Abhijit Saha
354661db00 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:31:46 -07:00
Abhijit Saha
cbc42a9c38 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:31:42 -07:00
Abhijit Saha
f8a396b166 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:31:35 -07:00
Abhijit Saha
452d4d3f20 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:31:24 -07:00
Abhijit Saha
1d2b6d72b2 6813167: 6u14 JAX-WS audit mutable static bugs
6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14

Reviewed-by: darcy, ramap
2009-08-07 11:27:00 -07:00
Roman Kennke
db5938b208 6869705: Missing files of CR6795908, FontManager refactoring
Reviewed-by: prr, igor
2009-08-07 19:36:28 +02:00
Andrew John Hughes
9a5d0532c5 6869697: Missing entry in makefiles for java/lang/ReflectiveOperationException.java
Add new dependency explicitly so all compilers pick it up

Reviewed-by: darcy, ohair
2009-08-07 18:15:03 +01:00
Roman Kennke
eb12553aa3 6795908: Refactor FontManager
Reviewed-by: prr, igor
2009-08-07 18:31:11 +02:00
Abhijit Saha
658feaa3e4 Merge 2009-08-07 09:21:25 -07:00
Sergey Malenkov
24fdb8e4be 6868189: Nested enum class with custom BeanInfo fails
Reviewed-by: peterz
2009-08-07 19:06:56 +04:00
Chris Hegarty
aca1227406 6826801: JarFileFactory should not use HashMap<URL>
Replace URL with a String representation.

Reviewed-by: michaelm, jccollet
2009-08-07 10:51:25 +01:00
Chris Hegarty
75379fe244 6826780: URLClassPath should use HashMap<String, XXX> instead of HashMap<URL, XXX>
Replace URL with a String representation.

Reviewed-by: michaelm, jccollet
2009-08-07 10:50:26 +01:00
Yuri Nesterenko
fbec558c0b Merge 2009-08-07 02:20:58 -07:00
Abhijit Saha
7ebb690ec3 Merge 2009-08-06 22:37:58 -07:00
Abhijit Saha
774e4684d2 Merge 2009-08-06 22:37:28 -07:00
Tim Bell
fdab284b8a Merge 2009-08-06 20:24:08 -07:00
Jonathan Gibbons
d78b7fcc9b 6858429: javap classfile library a minor bug
Reviewed-by: ksrini
2009-08-06 19:35:41 -07:00
Tim Bell
d550e02d46 Merge 2009-08-06 19:03:42 -07:00
Tim Bell
f98b97ffea Merge 2009-08-06 19:01:59 -07:00
John R Rose
d8b50037de 6838598: Legal notice repair: jdk/src/share/classes/sun/dyn/FilterGeneric.java
Reviewed-by: xdono
2009-08-06 18:30:33 -07:00
Bradford Wetmore
fc188b8b29 6867657: Many JSN tests do not run under cygwin
Reviewed-by: ohair
2009-08-06 17:56:59 -07:00
Tim Bell
cb3b73b7b2 Merge 2009-08-06 17:26:35 -07:00
Tim Bell
792cd2a88a 6865853: Additional code changes needed to build deploy using WXP SP2 and Visual Studio 2008
Reviewed-by: ohair
2009-08-06 17:16:31 -07:00
Mandy Chung
fb688547c4 6864028: Update the java launcher to use the new entry point JVM_FindClassFromBootLoader
Update the java launcher to use the new entry point JVM_FindClassFromBootLoader

Reviewed-by: ksrini
2009-08-06 16:35:24 -07:00
John R Rose
09a4ee51c2 Merge 2009-08-06 16:15:16 -07:00
John R Rose
383f39ffa1 6868487: EnableInvokeDynamic and EnableMethodHandles should not be visible flags in JDK6 or JDK7
Switch them from product to experimental; 6817525 will toggle them and switch to diagnostic

Reviewed-by: kvn
2009-08-06 14:28:54 -07:00
Tom Rodriguez
90e6599f47 6868051: (SA) FreeChunk support for compressed oops is broken
Reviewed-by: kvn, dcubed
2009-08-06 12:24:41 -07:00
Mandy Chung
0f923041b9 4917309: (cl) Reduce internal usage of ClassNotFoundExceptions during class-loading
Change findBootstrapClass to return null instead of throwing CNFE if class not found

Reviewed-by: alanb, dholmes, iris
2009-08-06 11:25:12 -07:00
Xiomara Jayasena
ef226d3a7e Added tag jdk7-b68 for changeset 2974ea6ad890 2009-08-06 10:25:29 -07:00
Xiomara Jayasena
6ceaf265fd Added tag jdk7-b68 for changeset a02edc83f1b4 2009-08-06 10:25:18 -07:00
Xiomara Jayasena
a79bbfdcfe Added tag jdk7-b68 for changeset 7df0da9e6d70 2009-08-06 10:25:11 -07:00
Xiomara Jayasena
314304f9ba Added tag jdk7-b68 for changeset 8cfea160b2e5 2009-08-06 10:25:10 -07:00
Xiomara Jayasena
8fae4c547c Added tag jdk7-b68 for changeset 4ae7310eb37d 2009-08-06 10:25:05 -07:00
Xiomara Jayasena
d66b689a4b Added tag jdk7-b68 for changeset 0589e2ed45b3 2009-08-06 10:25:01 -07:00
Xiomara Jayasena
9130e7d347 Added tag jdk7-b68 for changeset a3946f62adaa 2009-08-06 10:25:00 -07:00
Vladimir Kozlov
ab7a29cdcc Merge 2009-08-06 09:37:26 -07:00
Lillian Angel
872d3ebfc7 6593649: Word wrap broken for JTextArea
Layout correctly resizes components based on actual dimensions of the window they are in.

Reviewed-by: gsm
2009-08-06 16:04:47 +01:00
Yuri Nesterenko
3338c4f11b Merge 2009-08-06 01:12:35 -07:00
Y. Srinivas Ramakrishna
1121581e07 6868991: JPRT: elide GCBasher_G1 test on winx64 until 6867250 is resolved
JPRT: elide GCBasher_G1 test on winx64 until 6867250 is resolved

Reviewed-by: jcoomes
2009-08-05 18:54:12 -07:00
Abhijit Saha
afe5efd931 Merge 2009-08-05 14:16:34 -07:00
John Coomes
3474b7fa5b 6821693: 64-bit TaskQueue capacity still too small
6821507: Alignment problem in GC taskqueue

Reviewed-by: tonyp, apetrusenko
2009-08-05 12:33:29 -07:00
Daniel D. Daugherty
8790c489e1 6868533: 3/4 JDI: remove '-source 1.5' and '-target 1.5' options from com.sun.jdi tests
We are long past needing to make sure these tests can build on Tiger/JDK1.5.0.

Reviewed-by: tbell
2009-08-05 13:17:30 -06:00
Xiomara Jayasena
4e09ef7579 Merge 2009-08-05 11:06:46 -07:00
Jonathan Gibbons
9e26dc467b 6729471: javap should accept class files on the command line
Reviewed-by: mcimadamore
2009-08-05 08:38:18 -07:00
Jonathan Gibbons
ea9763ee24 6868553: 6867671 breaks some tests
Reviewed-by: mcimadamore
2009-08-05 07:43:50 -07:00
Yuri Nesterenko
bc02d891d1 Merge 2009-08-05 00:07:48 -07:00
Changpeng Fang
3e7e112ee5 6868269: CompileTheWorld assertion failure introduced by the reexecute bit implementation
Improvement on reexecute implementation to fix the assertion failure

Reviewed-by: kvn, never
2009-08-04 21:32:08 -07:00
Martin Buchholz
31e53b285c 6856590: (process) Use RESTARTABLE in UNIXProcess_md.c
Wrap all system calls with RESTARTABLE

Reviewed-by: michaelm
2009-08-04 19:18:15 -07:00
Martin Buchholz
c857f977c3 6868160: (process) Use vfork, not fork, on Linux to avoid swap exhaustion
Boldly go where no jdk has dared go before

Reviewed-by: michaelm
2009-08-04 19:18:15 -07:00
Jonathan Gibbons
22c0a5cddf 6867671: javap whitespace formatting issues
Reviewed-by: mcimadamore
2009-08-04 17:26:41 -07:00
Roman Kennke
63e666407c 6829673: ThinLineTest: A line < 1 pixel disappears
Reviewed-by: igor, prr
2009-08-04 17:25:36 -07:00
Vladimir Kozlov
adcbcc3cdc 6868486: timouts and outOfMemory in regression tests
Increase timeout for tests and heap size for 6851282 test.

Reviewed-by: never, cfang
2009-08-04 17:11:17 -07:00
John Cuthbertson
f1cbffdd3e 6819077: G1: first GC thread coming late into the GC
The first worker thread is delayed when entering the GC because it clears the card count table that is used in identifying hot cards. Replace the card count table with a dynamically sized evicting hash table that includes an epoch based counter.

Reviewed-by: iveresov, tonyp
2009-08-04 16:00:17 -07:00
Xueming Shen
6dfe09a9a6 4116222: Errors in Arabic code-conversion tables, part II
Updated the IBM420 datatable

Reviewed-by: alanb
2009-08-04 12:44:03 -07:00
Abhijit Saha
8c4325e8f4 Merge 2009-08-04 08:01:03 -07:00
Bradford Wetmore
7bf6422983 6647452: Remove obfuscation, framework and provider self-verification checking
Reviewed-by: valeriep, vinnie
2009-08-03 18:06:51 -07:00
John Cuthbertson
36917caf5e 6865703: G1: Parallelize hot card cache cleanup
Have the GC worker threads clear the hot card cache in parallel by having each worker thread claim a chunk of the card cache and process the cards in that chunk. The size of the chunks that each thread will claim is determined at VM initialization from the size of the card cache and the number of worker threads.

Reviewed-by: jmasa, tonyp
2009-08-03 12:59:30 -07:00
Abhijit Saha
9d6744c9fe Merge 2009-08-03 12:20:04 -07:00
Sergey Groznyh
82eb86f2be 6539700: JTextPane line wrap radically different from previous versions in jre 1.5.0_10+
Reviewed-by: peterz
2009-08-03 19:22:02 +04:00
Jon Masamitsu
73392a7312 Merge 2009-08-02 22:33:27 -07:00
Jon Masamitsu
bd1c93a58e 6843292: "Expect to be beyond new region unless impacting another region" assertion too strong
In the assertion allow for collision with the guard page.

Reviewed-by: tonyp, ysr, jcoomes
2009-08-02 19:10:31 -07:00
Jon Masamitsu
d9b7798319 6862534: -XX:NewRatio completely ignored when combined with -XX:+UseConcMarkSweepG
Use NewRatio if it is explicitly set.

Reviewed-by: ysr, jcoomes
2009-08-02 18:44:36 -07:00
Tim Bell
2f8af77fdb Merge 2009-08-02 10:07:06 -07:00
Weijun Wang
3fef36803a 6867687: keytool's standard.sh test timeout sometimes
Reviewed-by: xuelei
2009-08-02 13:40:03 +08:00
Tim Bell
2437247a8d Merge 2009-07-31 17:20:06 -07:00
Tim Bell
6b6386f999 Merge 2009-07-31 17:19:38 -07:00
Changpeng Fang
ae00753bf7 6833129: specjvm98 fails with NullPointerException in the compiler with -XX:DeoptimizeALot
Developed a reexecute logic for the interpreter to reexecute the bytecode when deopt happens

Reviewed-by: kvn, never, jrose, twisti
2009-07-31 17:12:33 -07:00
Vladimir Kozlov
f2ea22a547 6865031: Application gives bad result (throws bad exception) with compressed oops
Produce narrow type for new Phi from the original Phi type.

Reviewed-by: cfang
2009-07-31 12:04:07 -07:00
Alan Bateman
68c91249fb Merge 2009-07-31 19:23:10 +01:00
Y. Srinivas Ramakrishna
968de64586 Merge 2009-07-31 10:41:29 -07:00
Alexey Utkin
426d2a0ee7 6851688: Hung up in applet application
Reviewed-by: art, dcherepanov
2009-07-31 17:24:27 +04:00
Sergey Malenkov
099a44dbf8 6865565: Test failed: /test/closed/javax/swing/JInternalFrame/6325652/bug6325652.java
Reviewed-by: peterz
2009-07-31 16:27:35 +04:00
Weijun Wang
bdafe7ca74 6867231: Regression: jdk/test/sun/security/krb5/ConfPlusProp.java error against jdk7/pit/b68
Reviewed-by: xuelei
2009-07-31 16:21:30 +08:00
Alan Bateman
6538a1bcf9 6867244: Tests missing @run tag
Reviewed-by: sherman
2009-07-31 08:45:30 +01:00
Alan Bateman
08f07d0f8a 6867101: Path.checkAccess fails with sharing violation on special files such as pagefile.sys
Reviewed-by: sherman
2009-07-31 08:44:28 +01:00
Tim Bell
7d5c536756 Merge 2009-07-30 23:41:19 -07:00
Tim Bell
35107a8833 Merge 2009-07-30 23:40:15 -07:00
Tim Bell
b097e4f361 Merge 2009-07-30 23:39:33 -07:00
Tim Bell
19bd0b795f Merge 2009-07-30 23:38:57 -07:00
Tim Bell
78ceeef3f3 Merge 2009-07-30 23:37:25 -07:00
Tim Bell
395e0cb9be Merge 2009-07-30 23:36:44 -07:00
Vladimir Kozlov
9f97cf13e8 6864914: SPECjvm2008 produces invalid result with zero based Compressed Oops
Always use "lea" instruction for narrow oop decoding instead of "shift".

Reviewed-by: never
2009-07-30 16:05:56 -07:00
Antonios Printezis
243367ec16 6819085: G1: use larger and/or user settable region size
Instead of the region size being hard-coded, allow the user to set it.

Reviewed-by: jmasa, johnc, apetrusenko
2009-07-30 16:22:58 -04:00
Y. Srinivas Ramakrishna
c6763b5bad 4957990: Perm heap bloat in JVM
Treat ProfileData in MDO's as a source of weak, not strong, roots. Fixes the bug for stop-world collection -- the case of concurrent collection will be fixed separately.

Reviewed-by: jcoomes, jmasa, kvn, never
2009-09-02 00:04:29 -07:00
Andrey Petrusenko
2491751525 6841313: G1: dirty cards of survivor regions in parallel
Reviewed-by: tonyp, iveresov
2009-08-31 05:27:29 -07:00
John Coomes
e7c70c499b 6845368: large objects cause a crash or unexpected exception
Reviewed-by: jmasa, iveresov
2009-08-13 16:22:45 -07:00
John Coomes
662adda5e6 6861660: OopMapBlock count/size confusion
Reviewed-by: tonyp, iveresov
2009-08-11 15:37:23 -07:00
Antonios Printezis
6a97a03610 Merge 2009-08-24 13:52:42 -07:00
Jon Masamitsu
20a43bad21 6798898: CMS: bugs related to class unloading
Override should_remember_klasses() and remember_klass() as needed.

Reviewed-by: ysr, jcoomes
2009-08-24 10:36:31 -07:00
Antonios Printezis
4d138cd094 6871111: G1: remove the concurrent overhead tracker
Removing the concurrent overhead tracker from G1, along with the GC overhead reporter and the G1AccountConcurrentOverhead (both of which rely on the the concurrent overhead tracker).

Reviewed-by: iveresov, johnc
2009-08-19 12:53:25 -04:00
Jennifer Godinez
430c84f1ea Merge 2009-07-30 12:25:39 -07:00
Coleen Phillimore
76a4e2a8c1 Merge 2009-07-30 15:06:19 -04:00
Antonios Printezis
1d0a8b2945 6866591: G1: print update buffer processing stats more often
It adds parameter -XX:+G1SummarizeRSetStatsPeriod that causes update buffer processing information to be printed periodically. It also includes two small formatting changes.

Reviewed-by: jmasa, jcoomes, ysr
2009-07-30 14:50:58 -04:00
Xiomara Jayasena
f3564aefec Added tag jdk7-b67 for changeset 02ba23f205f3 2009-07-30 10:58:48 -07:00
Xiomara Jayasena
b097c4f9bb Added tag jdk7-b67 for changeset db82a42da273 2009-07-30 10:58:38 -07:00
Xiomara Jayasena
a2e3e2663f Added tag jdk7-b67 for changeset d4ab6018e6f6 2009-07-30 10:58:31 -07:00
Xiomara Jayasena
f0f100555b Added tag jdk7-b67 for changeset 8943b2e74175 2009-07-30 10:58:30 -07:00
Xiomara Jayasena
d1a146f003 Added tag jdk7-b67 for changeset c8b1b0aecdfe 2009-07-30 10:58:25 -07:00
Xiomara Jayasena
0971a64602 Added tag jdk7-b67 for changeset 805a72a26925 2009-07-30 10:58:21 -07:00
Xiomara Jayasena
6909a95df2 Added tag jdk7-b67 for changeset f86e6d4a49b4 2009-07-30 10:58:20 -07:00
Jonathan Gibbons
24bbb68d38 4880672: javap does not output inner interfaces of an interface
Reviewed-by: mcimadamore
2009-07-30 09:18:55 -07:00
Jonathan Gibbons
219445d03a 6866657: add byteLength method to primary classfile types
Reviewed-by: mchung
2009-07-30 07:48:24 -07:00
Mahmood Ali
638db1aabb 6861837: JCK compilation failures
Type-annotations processing is accessing type info before they are available in MemberEnter

Reviewed-by: jjg
2009-07-30 10:30:34 +01:00
Maurizio Cimadamore
fe1aaa8154 6864382: NPE in the rich formatter when processing an unattributed type-variable
Unattributed type variable should not be accessed by the rich formatter when emitting where clauses

Reviewed-by: jjg
2009-07-30 10:30:24 +01:00
Maurizio Cimadamore
25497fcea7 6862608: rich diagnostic sometimes contain wrong type variable numbering
The rich formatter generates worng numbers for type-variables in where clauses

Reviewed-by: jjg
2009-07-30 10:30:10 +01:00
Maurizio Cimadamore
59b2cbc448 6827648: Extremely slow compilation time for visitor pattern code + generics
Javac unnecessarily recomputates type-substitutions multiple times

Reviewed-by: jjg
2009-07-30 10:29:53 +01:00
Yuka Kamiya
a74a7d0f30 6866243: Javadoc for java.lang.Character still refers to Unicode 4 instead of 5
Reviewed-by: okutsu
2009-07-30 14:45:04 +09:00
Martin Buchholz
2d83195be5 6866719: Rename execvpe to avoid symbol clash with glibc 2.10
Reviewed-by: darcy
2009-07-29 21:45:52 -07:00
Erik Trimble
e846382e12 Merge 2009-07-29 16:00:35 -07:00
Josh Bloch
827200b265 6804124: Replace "modified mergesort" in java.util.Arrays.sort with timsort
Easy port of timsort from android

Reviewed-by: martin
2009-07-29 14:24:19 -07:00
Martin Buchholz
36736be8ba 6866554: Misc. javadoc warnings
Reviewed-by: alanb
2009-07-29 13:56:15 -07:00
Jonathan Gibbons
54b80cfe2a 4777949: Javap Rewrite : Warn javap usage on package classes with simple name
Reviewed-by: mcimadamore
2009-07-29 13:26:26 -07:00
Jonathan Gibbons
a3128d7e74 6865753: 6854244 breaks partial (jdk-only) builds
Makefiles which set -target 5 now need to set -source 5 as well.

Reviewed-by: wetmore, tbell
2009-07-29 12:50:10 -07:00
Xueming Shen
ba2db6a2db Merge 2009-07-29 11:19:14 -07:00
Antonios Printezis
5f7ed79e3c 6864886: G1: rename -XX parameters related to update buffers
Renaming a couple of update buffer-related parameters to make them more understandable and consistent.

Reviewed-by: iveresov, ysr
2009-07-29 11:01:26 -04:00
Yuri Nesterenko
b797a234b8 Merge 2009-07-29 00:14:56 -07:00
Yuri Nesterenko
a65646a1fb Merge 2009-07-29 00:12:45 -07:00
Doug Lea
d43e798981 6805775: LinkedBlockingQueue Nodes should unlink themselves before becoming garbage
6815766: LinkedBlockingQueue's iterator can return null if drainTo(c) executes concurrently

Faster, more correct. Use self-linking trick to avoid gc retention

Reviewed-by: martin, dholmes
2009-07-28 17:17:55 -07:00
Doug Lea
df5da31f55 6785442: ConcurrentLinkedQueue.remove() and poll() can both remove the same element
6493942: ConcurrentLinkedQueue.remove sometimes very slow

New algorithm for handling concurrent linked lists

Reviewed-by: martin
2009-07-28 13:24:52 -07:00
Daniel D. Daugherty
10e13deca1 Merge 2009-07-28 13:50:07 -06:00
Daniel D. Daugherty
40de9c5fcc 6862295: JDWP threadid changes during debugging session (leading to ingored breakpoints)
Correctly count full GC operations for framework collectors. Add ForceFullGCJVMTIEpilogues as a future work around if needed.

Reviewed-by: jcoomes, alanb, ysr
2009-07-28 13:35:00 -06:00
Xiomara Jayasena
d0493af09e 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:59 -07:00
Xiomara Jayasena
e0c1d51604 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:54 -07:00
Xiomara Jayasena
e8052f207a 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:47 -07:00
Xiomara Jayasena
632469b81d 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:45 -07:00
Xiomara Jayasena
a63ef10004 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:40 -07:00
Xiomara Jayasena
f3605fc37c 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:36 -07:00
Xiomara Jayasena
10a6d2437a 6862919: Update copyright year
Update copyright for files that have been modified in 2009, up to 07/09

Reviewed-by: tbell, ohair
2009-07-28 12:12:34 -07:00
Jonathan Gibbons
66637352ac 6734068: Some variable length attributes set their size incorrectly
Reviewed-by: mcimadamore
2009-07-28 11:00:05 -07:00
Jonathan Gibbons
2655dbfaac 6855990: javap InstructionDetailWriter should support new 308 annotations attribute
Reviewed-by: mcimadamore
2009-07-28 10:36:25 -07:00
Sergey Malenkov
c1073a5d61 6864297: Right-to-left oriented JScrollPane is aligned to the wrong direction while resizing the container
Reviewed-by: peterz
2009-07-28 13:10:14 +04:00
Christian Thalinger
6dd47535cd 6863155: Server compiler generates incorrect code (x86, long, bitshift, bitmask)
Code compiled with server compiler generates an incorrect result.

Reviewed-by: cfang, never, kvn
2009-07-28 09:02:30 +02:00
Yuri Nesterenko
f169709382 Merge 2009-07-27 23:42:52 -07:00
Tim Bell
a5c921b198 Merge 2009-07-27 23:07:00 -07:00
Tim Bell
9d2c02479e Merge 2009-07-27 23:06:01 -07:00
Tim Bell
01dedb8e87 Merge 2009-07-27 23:05:36 -07:00
Tim Bell
110817bd8a Merge 2009-07-27 23:05:09 -07:00
Tim Bell
0cb80c55d7 Merge 2009-07-27 23:03:37 -07:00
Tim Bell
ebcf9040aa Merge 2009-07-27 23:03:25 -07:00
Abhijit Saha
0e8d2a916a Merge 2009-07-27 22:28:29 -07:00
Abhijit Saha
05f0b795a4 Merge 2009-07-27 22:25:13 -07:00
Xue-Lei Andrew Fan
e364d187ea 6865482: test case BalancedParentheses.java is missing GPL header
Reviewed-by: weijun
2009-07-28 11:15:49 +08:00
Jonathan Gibbons
2a737b4aa9 6865399: some javac files are missing Sun internal API comment
Reviewed-by: darcy
2009-07-27 19:52:42 -07:00
Jonathan Gibbons
b84cd5a9cd 6854244: change source/target used to compile JDK to 7
Reviewed-by: ohair
2009-07-27 15:20:03 -07:00
Jonathan Gibbons
50dfd0ebd9 6854244: change source/target used to compile JDK to 7
Reviewed-by: ohair
2009-07-27 15:19:55 -07:00
Jonathan Gibbons
33e236c766 6854244: change source/target used to compile JDK to 7
Reviewed-by: ohair
2009-07-27 15:19:44 -07:00
Jonathan Gibbons
8ae07c63e4 6854244: change source/target used to compile JDK to 7
Reviewed-by: ohair
2009-07-27 15:19:33 -07:00
Jonathan Gibbons
103e820d94 6854244: change source/target used to compile JDK to 7
Reviewed-by: ohair
2009-07-27 15:19:26 -07:00
Jonathan Gibbons
a7e89dff0e 6854244: change source/target used to compile JDK to 7
Reviewed-by: ohair
2009-07-27 15:19:11 -07:00
Coleen Phillimore
3e69a71772 Merge 2009-07-27 17:23:52 -04:00
Alan Bateman
19093784f4 6864319: (fs) Eliminate static dependency on fdopendir (lnx)
Reviewed-by: martin
2009-07-27 19:22:11 +01:00
Alan Bateman
86a40825c7 6863667: (ch) Several tests in java/nio/channels/* need to be updated after 6638712
Reviewed-by: mcimadamore
2009-07-27 18:46:50 +01:00
Alan Bateman
22fac524b1 6863864: (fs) Path.createSymbolicLink doesn't set directory flag when creating sym link to directory (win)
Reviewed-by: sherman
2009-07-27 18:44:42 +01:00
Mandy Chung
3c30eafbb5 6864003: Modify JVM_FindClassFromBootLoader to return null if class not found
JVM_FindClassFromBootLoader returns null if class not found

Reviewed-by: acorn, alanb, dholmes
2009-07-27 09:06:22 -07:00
Xue-Lei Andrew Fan
a51137d942 6449574: Invalid ldap filter is accepted and processed
Reviewed-by: vinnie
2009-07-27 22:04:07 +08:00
Christian Thalinger
714db48492 Merge 2009-07-27 06:15:29 -07:00
Dmitry Cherepanov
642a5040a0 6856929: Frame is not getting resized using Robot in OpenSolaris and Ubuntu
Reviewed-by: art, dav
2009-07-27 15:37:39 +04:00
Yuri Nesterenko
3f6ce374d9 Merge 2009-07-27 03:42:47 -07:00
Joe Darcy
55dc8eb040 6381698: Warn of decommissioning of apt
Reviewed-by: jjg
2009-07-26 21:27:11 -07:00
Yong Jeffrey Huang
800a49f4a0 Merge 2009-07-26 19:51:05 -07:00
Vladimir Kozlov
2641db378b 6863420: os::javaTimeNanos() go backward on Solaris x86
Use new atomic long load method Atomic::load() to load max_hrtime.

Reviewed-by: never, ysr, johnc, phh, dcubed, acorn
2009-07-26 16:40:14 -07:00
Vladimir Kozlov
9387db9948 6851386: assert(b->find_node(def) < j,"uses must follow definitions")
Add additional check for a tight loop.

Reviewed-by: never
2009-07-26 12:59:41 -07:00
Martin Buchholz
4d07a8cfb9 6639458: Improvements to Surrogate.java
Optimize Surrogate.java

Reviewed-by: sherman
2009-07-24 18:24:02 -07:00
Martin Buchholz
7ac7d3079f 6639443: Character.toCodePoint and Character.toSurrogates can be optimized
Rearranging code saves 5 bytes of bytecode

Reviewed-by: sherman
2009-07-24 18:16:14 -07:00
Erik Trimble
d911e41fe7 6864901: Bump the HS16 build number to 07
Update the HS16 build number to 07

Reviewed-by: jcoomes
2009-07-24 16:41:16 -07:00
Erik Trimble
6ac5f30765 Merge 2009-07-24 16:40:56 -07:00
Jonathan Gibbons
604fce4d26 6863746: javap should not scan ct.sym by default
Reviewed-by: mcimadamore
2009-07-24 14:47:01 -07:00
Xiomara Jayasena
c3a06b2ebe Added tag jdk7-b66 for changeset dc62947a6e47 2009-07-24 13:40:15 -07:00
Xiomara Jayasena
cfd046568f Added tag jdk7-b66 for changeset 7441718ff264 2009-07-24 13:40:05 -07:00
Xiomara Jayasena
fd6571fe2e Added tag jdk7-b66 for changeset 0d64f3a8ed0b 2009-07-24 13:39:58 -07:00
Xiomara Jayasena
7548a15ae9 Added tag jdk7-b66 for changeset fe07d1599221 2009-07-24 13:39:56 -07:00
Xiomara Jayasena
7084283bfa Added tag jdk7-b66 for changeset f367b7c24c74 2009-07-24 13:39:51 -07:00
Xiomara Jayasena
b0029d3ebc Added tag jdk7-b66 for changeset ec9f33978e19 2009-07-24 13:39:48 -07:00
Xiomara Jayasena
608d9bf61e Added tag jdk7-b66 for changeset 3e00e9de363a 2009-07-24 13:39:46 -07:00
Y. Srinivas Ramakrishna
1b6412363e Merge 2009-07-24 12:49:31 -07:00
Tom Rodriguez
86034e0e20 6861984: solaris version of libsaproc.so should support SA_ALTROOT directly
Reviewed-by: kvn, twisti
2009-07-24 12:40:40 -07:00
Xueming Shen
2ce8e7fb86 Merge 2009-07-24 11:22:29 -07:00
Xueming Shen
e9b3362ace 5063507: (fmt) missing exception for "%#s" format specifier
Throw appropriate exception when necessary

Reviewed-by: alanb
2009-07-24 11:06:57 -07:00
Vladimir Kozlov
1a7cfb7023 Merge 2009-07-24 09:01:00 -07:00
Vladimir Kozlov
8dd34cd52f 6860599: nodes limit could be reached during Output phase
Bailout compilation if nodes limit could be reached during Output phase.

Reviewed-by: never, twisti
2009-07-23 14:53:56 -07:00
Jonathan Gibbons
ae71131125 6863914: bug number missing from test
Reviewed-by: tbell
2009-07-23 14:15:58 -07:00
Valerie Peng
3bb5216024 Merge 2009-07-23 12:36:52 -07:00
Mahmood Ali
b1c83646db 6863814: javap crashes when facing array class literals
Reviewed-by: jjg
2009-07-23 11:37:44 -07:00
Naoto Sato
ba1462a2e1 Merge 2009-07-23 11:29:49 -07:00
Pavel Porvatov
653e280412 6460525: javax/swing/JFileChooser/6396844/TwentyThousandTest.java times out
Reviewed-by: malenkov, peterz
2009-07-23 17:56:53 +04:00
Chris Hegarty
193cf2ead1 6863110: Newly connected/accepted SctpChannel should fire OP_READ if registered with a Selector
Reviewed-by: jccollet
2009-07-23 14:06:51 +01:00
Anthony Petrov
8440a8dba3 6848424: java/awt/Frame/FrameSize/TestFrameSize.java needs improvement
The test now thoroughly verifies the pack() method

Reviewed-by: art, dcherepanov
2009-07-23 13:46:23 +04:00
Y. Srinivas Ramakrishna
759881b511 6863216: Clean up debugging debris inadvertently pushed with 6700789
Anti-delta for debugging debris that was inadvertently pushed.

Reviewed-by: kvn, tonyp
2009-07-22 18:25:00 -07:00
Valerie Peng
2ea2c4b650 6823905: crash in sun.security.pkcs11.wrapper.PKCS11.C_Sign during stress-test
Initialize relevant return value to NULL

Reviewed-by: vinnie
2009-07-22 17:52:21 -07:00
Vladimir Kozlov
b0f75657c5 6826736: CMS: core dump with -XX:+UseCompressedOops
Fix deoptimization code and OopMapSet::all_do() to check for oop = narrow_oop_base.

Reviewed-by: jcoomes, phh, ysr, never
2009-07-22 15:48:51 -07:00
Poonam Bajaj
7cfb301baa 6814140: deadlock due to synchronized demandLogger() code that locks ServerLogManager
Making demandLogger() non-synchronized resolves the deadlock.

Reviewed-by: dcubed
2009-07-22 07:49:57 -07:00
Roman Kennke
1b3374bcce 6857358: Two testcases are failing in jdk7 b64 pit build with java.security.AccessControlException
Try to load GraphicsEnvironment with bootclassloader first, only then try app classloader.

Reviewed-by: prr, tdv, igor
2009-07-22 15:52:41 +02:00
Andrey Petrusenko
0e783b7554 6862661: G1: _gc_alloc_region_counts is not updated properly after 6604422
Implementation of RFE 6604422 (G1: re-use half-promoted regions) introduced incorrect _gc_alloc_region_counts updates which effectively disabled survivor spaces.

Reviewed-by: johnc, jmasa, tonyp
2009-07-22 02:46:55 -07:00
Dmitry Cherepanov
6293f73bd8 6859935: REGRESSION: Settings are missing in JCP/Advanced tab on windows
Reviewed-by: art
2009-07-22 13:00:11 +04:00
Weijun Wang
945ec03563 6561126: keytool should use larger default keysize for keypairs
Reviewed-by: mullan
2009-07-22 16:41:14 +08:00
Weijun Wang
ee5188c4c3 6854308: more ktab options
Reviewed-by: mullan
2009-07-22 16:40:39 +08:00
Weijun Wang
20ee77e0d0 6847026: keytool should be able to generate certreq and cert without subject name
Reviewed-by: xuelei
2009-07-22 16:40:04 +08:00
Weijun Wang
f1b3e33db7 6858589: more changes to Config on system properties
Reviewed-by: valeriep
2009-07-22 16:39:34 +08:00
Sergey Malenkov
da10005c86 6802868: JInternalFrame is not maximized when maximized parent frame
Reviewed-by: rupashka
2009-07-22 12:21:31 +04:00
John R Rose
db41917a7e Merge 2009-07-21 21:33:44 -07:00
John R Rose
6515225d49 6862576: vmIntrinsics needs cleanup in order to support JSR 292 intrinsics
Remove useless lazy evaluation of intrinsics; add LAST_COMPILER_INLINE to help categorize them

Reviewed-by: kvn
2009-07-21 16:56:06 -07:00
Tom Rodriguez
62ca1df1dd 6857159: local schedule failed with checkcast of Thread.currentThread()
Reviewed-by: kvn
2009-07-21 16:42:58 -07:00
Abhijit Saha
bde3f2ada5 Merge 2009-07-21 13:06:30 -07:00
Abhijit Saha
a5da46de60 Merge 2009-07-21 13:02:23 -07:00
Abhijit Saha
baffaa8b3e Merge 2009-07-21 11:32:00 -07:00
Sean Mullan
31eb8dfb51 6787645: CRL validation code should permit some clock skew when checking validity of CRLs
Reviewed-by: vinnie
2009-07-20 17:16:34 -04:00
Christian Thalinger
6b849a12a0 6860920: serialize.cpp shouldn't use objArrayOopDesc::base_offset_in_bytes(T_BYTE)
Serialize.cpp currently uses objArrayOopDesc::base_offset_in_bytes(T_BYTE), which seems to be wrong.

Reviewed-by: coleenp, kvn
2009-07-20 08:20:00 -07:00
Peter Zhelezniakov
4ba0a90189 6849331: Nimbus L&F: AbstractRegionPainter's paint context is not initialized
Reviewed-by: rupashka
2009-07-20 13:34:54 +04:00
Peter Zhelezniakov
b838a00326 6857360: NimbusLAF: Menu indicator looks ugly with RTL orientation
Reviewed-by: rupashka
2009-07-20 13:33:09 +04:00
Vinnie Ryan
d12079f670 6657695: AbstractSaslImpl.logger is a static mutable (findbugs)
Reviewed-by: alanb
2009-07-17 20:43:53 +01:00
Vinnie Ryan
97bb9bff6f 6657619: DnsContext.debug is public static mutable (findbugs)
Reviewed-by: alanb
2009-07-17 20:29:41 +01:00
Tim Bell
3b19a505dc Merge 2009-07-17 09:14:45 -07:00
Tim Bell
c3f366cc5a Merge 2009-07-17 09:14:29 -07:00
Artem Ananiev
e5047864cd 6844297: java/awt/EventQueue/6638195/bug6638195.java test failed in jdk7 on Windows just on b59,passed on b57
Reviewed-by: bchristi, dcherepanov
2009-07-17 15:40:19 +04:00
Peter Zhelezniakov
44904765ca 6387360: Usage of package-private class as a parameter of a method (javax.swing.text.ParagraphView)
Reviewed-by: malenkov
2009-07-17 15:25:51 +04:00
Vladimir Kozlov
7229ae9b95 Merge 2009-07-17 00:50:55 -07:00
Poonam Bajaj
fea09e9cd0 6840305: Discrepancy in system memory details (when 4G or greater) reported by JVM and Windows OS
GlobalMemoryStatus() does not report correct memory usage when the system has more than 4gb of RAM. GlobalMemoryStatusEx() should be used in place of GlobalMemoryStatus().

Reviewed-by: kamg, coleenp
2009-07-16 18:21:40 -07:00
Tom Rodriguez
1c4a7e95bb 6861513: correct copyright attribution in test for 6837094 and 6860469
Reviewed-by: rasbold
2009-07-16 17:59:27 -07:00
Vladimir Kozlov
2e2f60507e 6851282: JIT miscompilation results in null entry in array when using CompressedOops
Get type for new Phi from non dead path.

Reviewed-by: never
2009-07-16 16:29:55 -07:00
Vladimir Kozlov
c3efa899b6 6851742: (EA) allocation elimination doesn't work with UseG1GC
Fix eliminate_card_mark() to eliminate G1 pre/post barriers.

Reviewed-by: never
2009-07-16 14:10:42 -07:00
Y. Srinivas Ramakrishna
509c9c3b93 Merge 2009-07-16 12:38:26 -07:00
Sergey Malenkov
da30267d99 6505027: terminateEditOnFocusLost making problems for table in JDesktopPane
Reviewed-by: alexp
2009-07-16 20:12:14 +04:00
Joe Darcy
b8fae2d33c 6463998: Undocumented NullPointerExeption from Float.parseFloat and Double.parseDouble
Reviewed-by: lancea, iris
2009-07-15 14:43:13 -07:00
Hiroshi Yamauchi
a24ea182cc 6860469: remix_address_expressions sets incorrect control causing crash in split_if_with_block_post
Co-authored-by: Chuck Rasbold <rasbold@google.com>
Reviewed-by: never, kvn
2009-07-15 13:37:35 -07:00
Joe Darcy
8c000e858b 6857789: (reflect) Create common superclass of reflective exceptions
Reviewed-by: martin
2009-07-15 12:08:55 -07:00
Abhijit Saha
11c8663522 Merge 2009-07-15 10:46:42 -07:00
Antonios Printezis
26c66d0015 6859911: G1: assert(Heap_lock->owner() = NULL, "Should be owned on this thread's behalf")
The used() method assumes that the heap lock is held when it is called. However, when used() is called from print_on(), this is not the case.

Reviewed-by: ysr, jmasa
2009-07-15 12:22:59 -04:00
Maurizio Cimadamore
ae2586d2c3 6860795: NullPointerException when compiling a negative java source
Rich formatter shouldn't propagate visits on method symbols that have a null type

Reviewed-by: jjg
2009-07-15 17:01:47 +01:00
Sergey Groznyh
c854c85621 6612541: api/javax_swing/text/LabelView/index.html#getXXX[LabelView0004] fails since JDK 7 b20
Reviewed-by: peterz
2009-07-15 19:05:18 +04:00
Maurizio Cimadamore
dd76763423 6846972: cannot access member of raw type when erasure change overriding into overloading
Fix of 6400189 caused a nasty problem in method resolution

Reviewed-by: jjg
2009-07-15 10:25:01 +01:00
Y. Srinivas Ramakrishna
075c1335cb 6700789: G1: Enable use of compressed oops with G1 heaps
Modifications to G1 so as to allow the use of compressed oops.

Reviewed-by: apetrusenko, coleenp, jmasa, kvn, never, phh, tonyp
2009-07-14 15:40:39 -07:00
Tom Rodriguez
df1c3da3f8 Merge 2009-07-13 15:00:22 -07:00
Tom Rodriguez
5a409d142f 6859338: amd64 native unverified entry point pushes values before implicit null check
Reviewed-by: kvn, twisti
2009-07-13 14:58:17 -07:00
Yuri Nesterenko
08c5418a0b Merge 2009-07-13 09:37:50 -07:00
Abhijit Saha
46899d3487 Merge 2009-07-13 08:05:13 -07:00
Abhijit Saha
df2fe68912 Merge 2009-07-08 14:27:10 -07:00
Abhijit Saha
f138786c7a Merge 2009-07-08 14:24:20 -07:00
Sean Mullan
e4502f3b6f 6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid
Reviewed-by: asaha
2009-07-08 16:57:40 -04:00
Abhijit Saha
25a00f88d0 Merge 2009-07-06 11:42:37 -07:00
Abhijit Saha
74c57a988e Merge 2009-07-06 11:16:03 -07:00
Yong Jeffrey Huang
521bc9973e 6606396: Notepad and Stylepad demos don't run in Japanese locale
Reviewed-by: peytoia, ogino
2009-07-02 20:17:59 -07:00
Jennifer Godinez
4d69072a88 6848799: Reg-test java/awt/print/PageFormat/PageFormatFromAttributes.java fails on Rhel_5
Reviewed-by: tdv, prr
2009-07-01 12:07:55 -07:00
Abhijit Saha
1024df69d8 Merge 2009-07-01 09:59:16 -07:00
Naoto Sato
7db63ef95f 6852429: IME should call ImmIsUIMessage() or DefWindowProc() when it receives WM_IME_SETCONTEX
Reviewed-by: peytoia
2009-06-30 17:12:32 -07:00
Abhijit Saha
4b3efaf3d1 Merge 2009-06-30 16:23:54 -07:00
Jeremy Manson
28d4ad46aa 6850957: Honor -XX:OnOutOfMemoryError when array size exceeds VM limit
Call report_java_out_of_memory("Requested array size exceeds VM limit")

Reviewed-by: tbell, dholmes, alanb, ysr
2009-06-29 14:42:12 -07:00
Mandy Chung
08f5aeffc1 6857194: Add hotspot perf counters to aid class loading performance measurement
Add new jvmstat counters to measure detailed class loading time

Reviewed-by: acorn, kamg
2009-07-10 11:10:00 -07:00
Abhijit Saha
95f53ce57b 6845701: Xerces2 Java XML library infinite loop with malformed XML input
Reviewed-by: hawtin
2009-06-22 13:56:30 -07:00
Kumar Srinivasan
d92c74443f 6830335: Java JAR Pack200 Decompression Integer Overflow Vulnerability
Fixes a potential vulnerability in the unpack200 logic, by adding extra checks, a back-port.

Reviewed-by: asaha
2009-06-22 07:23:20 -07:00
Sean Mullan
68d0756ea6 6824440: XML Signature HMAC issue
Reviewed-by: asaha
2009-06-23 13:54:36 -04:00
Abhijit Saha
6b90310fed 6656610: AccessibleResourceBundle.getContents exposes mutable static (findbugs)
Reviewed-by: hawtin
2009-06-22 13:36:37 -07:00
Abhijit Saha
d89108356d Merge 2009-06-18 22:53:54 -07:00
Abhijit Saha
f63a5c2e42 Merge 2009-06-18 22:45:16 -07:00
Sergey Malenkov
0681d1454c 6660049: Synth Region.uiToRegionMap/lowerCaseNameMap are mutable statics
Reviewed-by: hawtin
2009-06-18 14:08:07 +04:00
Abhijit Saha
9a130fd30d Merge 2009-06-17 13:12:42 -07:00
Abhijit Saha
d214e051c9 Merge 2009-06-12 12:26:20 -07:00
Abhijit Saha
b982198ede Merge 2009-06-12 10:54:48 -07:00
Alex Menkov
272f5e12f9 6777448: JDK13Services.getProviders creates instances with full privileges [hawtin, alexp]
Reviewed-by: hawtin, alexp
2009-05-13 14:32:33 +04:00
Alex Menkov
00b701feda 6738524: JDK13Services allows read access to system properties from untrusted code
Reviewed-by: hawtin
2009-05-13 14:32:14 +04:00
Alex Menkov
28848d3300 6657625: RmfFileReader/StandardMidiFileWriter.types are public mutable statics (findbugs)
Reviewed-by: hawtin
2009-05-13 13:52:52 +04:00
Chris Hegarty
ce7e28f3e6 6801071: Remote sites can compromise user privacy and possibly hijack web sessions
Reviewed-by: jccollet, hawtin
2009-05-12 16:32:34 +01:00
Andrew Brygin
813ad65e9a 6823373: [ZDI-CAN-460] Java Web Start JPEG header parsing needs more scruity
Reviewed-by: igor
2009-05-08 16:15:15 +04:00
Andrew Brygin
8fdb1d367a 6657133: Mutable statics in imageio plugins (findbugs)
Reviewed-by: prr
2009-05-08 15:57:33 +04:00
Andrew Brygin
10f62128a4 6656625: ImageReaderSpi.STANDARD_INPUT_TYPE/ImageWriterSpi.STANDARD_OUTPUT_TYPE are mutable static (findbugs)
Reviewed-by: prr
2009-05-08 15:38:21 +04:00
Abhijit Saha
2b871b4ad6 Merge 2009-05-07 13:18:12 -07:00
Eamonn McManus
ec41d4d0e9 6736293: OpenType checks can be bypassed through finalizer resurrection
Reviewed-by: hawtin
2009-05-07 10:44:45 +02:00
Artem Ananiev
f6e8569c85 6656586: Cursor.predefined is protected static mutable (findbugs)
Reviewed-by: hawtin, igor
2009-05-06 15:17:22 +04:00
Anthony Petrov
dfb6852a16 6818787: It is possible to reposition the security icon too far from the border of the window on X11
The constraints for the position of the icon are moved to the shared code

Reviewed-by: art, dcherepanov
2009-05-05 17:56:31 +04:00
Anthony Petrov
2453a64fc4 6805231: Security Warning Icon is missing in Windows 2000 Prof from Jdk build 6u12
The icon becomes layered only when the fading-out effect is being performed.

Reviewed-by: art, dcherepanov
2009-05-05 17:47:04 +04:00
Jean-Christophe Collet
b23fe07b43 6801497: Proxy is assumed to be immutable but is non-final
Cloned the proxy instance when necessary

Reviewed-by: chegar
2009-05-05 11:02:51 +02:00
Peter Zhelezniakov
d663bac931 6837293: Reapply fix for 6588003 to JDK7
Reviewed-by: alexp
2009-05-05 12:07:37 +04:00
Abhijit Saha
c3de9bf468 Merge 2009-04-29 11:43:19 -07:00
Sergey Malenkov
de6e2fb6e2 6777487: Encoder allows reading private variables with certain names
Reviewed-by: peterz
2009-04-29 20:55:13 +04:00
Sergey Malenkov
99c5ea5368 6660539: Introspector shares cache of mutable BeanInfo between AppContexts
Reviewed-by: peterz
2009-04-29 20:03:09 +04:00
3782 changed files with 201136 additions and 60259 deletions

View File

@@ -40,3 +40,11 @@ dbb955b1ee59b876dd1f133952b557b48b1d7732 jdk7-b61
dfd8506f74c3731bb169ce93c72612d78ee0413b jdk7-b63
d22867c5f1b295a0a2b3b4bc8999a2676f6e20c3 jdk7-b64
7d3bf00f3cc4f8125de1842521e7567f37dc84b8 jdk7-b65
62109d1b9e7310f29ab51ca6f1d71b899c0ce6b0 jdk7-b66
eb24af1404aec8aa140c4cd4d13d2839b150dd41 jdk7-b67
bca2225b66d78c4bf4d9801f54cac7715a598650 jdk7-b68
1b662b1ed14eb4ae31d5138a36c433b13d941dc5 jdk7-b69
207f694795c448c17753eff1a2f50363106960c2 jdk7-b70
c5d39b6be65cba0effb5f466ea48fe43764d0e0c jdk7-b71
df4bcd06e1d0ab306efa5a44f24a409dc0c0c742 jdk7-b72
ce74bd35ce948d629a356e168797f44b593b1578 jdk7-b73

View File

@@ -40,3 +40,11 @@ c7ed15ab92ce36a09d264a5e34025884b2d7607f jdk7-b62
57f7e028c7ad1806500ae89eb3f4cd9a51b10e18 jdk7-b63
269c1ec4435dfb7b452ae6e3bdde005d55c5c830 jdk7-b64
e01380cd1de4ce048b87d059d238e5ab5e341947 jdk7-b65
6bad5e3fe50337d95b1416d744780d65bc570da6 jdk7-b66
c4523c6f82048f420bf0d57c4cd47976753b7d2c jdk7-b67
e1b972ff53cd58f825791f8ed9b2deffd16e768c jdk7-b68
82e6c820c51ac27882b77755d42efefdbf1dcda0 jdk7-b69
175cb3fe615998d1004c6d3fd96e6d2e86b6772d jdk7-b70
4c36e9853dda27bdac5ef4839a610509fbe31d34 jdk7-b71
0d7e03b426df27c21dcc44ffb9178eacd1b04f10 jdk7-b72
3ac6dcf7823205546fbbc3d4ea59f37358d0b0d4 jdk7-b73

View File

@@ -38,12 +38,17 @@
<ul>
<li><a href="#introduction">Introduction</a></li>
<li><a href="#MBE">Minimum Build Environments</a></li>
<li><a href="#SDBE">Specific Developer Build Environments</a></li>
<li><a href="#SDBE">Specific Developer Build Environments</a>
<ul>
<li><a href="#fedora">Fedora Linux</a> </li>
<li><a href="#centos">CentOS Linux</a> </li>
<li><a href="#ubuntu">Ubuntu Linux</a> </li>
<li><a href="#debian">Debian GNU/Linux</a></li>
<li><a href="#ubuntu">Ubuntu Linux</a> </li>
<li><a href="#opensuse">OpenSUSE</a></li>
<li><a href="#mandriva">Mandriva</a></li>
<li><a href="#opensolaris">OpenSolaris</a></li>
</ul>
</li>
<li><a href="#directories">Source Directory Structure</a> </li>
<li><a href="#building">Build Information</a>
<ul>
@@ -68,7 +73,6 @@
</li>
<li><a href="#zip">Zip and Unzip</a> </li>
<li><a href="#freetype">FreeType2 Fonts</a> </li>
<li><a href="#jibx">JIBX Libraries</a> </li>
<li>Linux and Solaris:
<ul>
<li><a href="#cups">CUPS Include files</a> </li>
@@ -210,24 +214,59 @@
we will try to provide what information we have available to us.
</blockquote>
<!-- ------------------------------------------------------ -->
<h3><a name="fedora">Fedora 9</a></h3>
<h3><a name="fedora">Fedora</a></h3>
<blockquote>
After installing
<a href="http://www.fedoraproject.org/">Fedora 9</a>
you need to make sure you have
the "Software Development" bundle installed, plus the
following packages:
<blockquote>
<ul>
<li>cups devel: Cups Development Package</li>
<li>freetype 2.3+ devel: Freetype 2.3 Development Package</li>
<li>hg: Mercurial, if you need to clone or manage source repositories</li>
<li>ksh: May be needed when using <tt>webrev</tt></li>
</ul>
<h4>Fedora 9</h4>
<p>
<blockquote>
After installing <a href="http://fedoraproject.org">Fedora</a> 9
you need to install several build dependencies. The simplest
way to do it is to execute the following commands as user
<tt>root</tt>:
<p/>
<code>yum-builddep java-openjdk</code>
<p/>
<code>yum install gcc gcc-c++</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk</code>
</blockquote>
<p>
Always a good idea to do a complete Software Update/Refresh
after you get all the packages installed.
<h4>Fedora 10</h4>
<p>
<blockquote>
After installing <a href="http://fedoraproject.org">Fedora</a> 10
you need to install several build dependencies. The simplest
way to do it is to execute the following commands as user
<tt>root</tt>:
<p/>
<code>yum-builddep java-1.6.0-openjdk</code>
<p/>
<code>yum install gcc gcc-c++</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk</code>
</blockquote>
<h4>Fedora 11</h4>
<p>
<blockquote>
After installing <a href="http://fedoraproject.org">Fedora</a> 11
you need to install several build dependencies. The simplest
way to do it is to execute the following commands as user
<tt>root</tt>:
<p/>
<code>yum-builddep java-1.6.0-openjdk</code>
<p/>
<code>yum install gcc gcc-c++</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk</code>
</blockquote>
</blockquote>
<!-- ------------------------------------------------------ -->
<h3><a name="centos">CentOS 5.2</a></h3>
@@ -270,145 +309,146 @@
it's needed.
</blockquote>
<!-- ------------------------------------------------------ -->
<h3><a name="ubuntu">Ubuntu</a></h3>
<h3><a name="debian">Debian</a></h3>
<blockquote>
In addition to needing the Bootstrap JDK and the Binary Plugs,
when building on Ubuntu you will need to
make sure certain packages are installed.
In particular, certain X11 packages, make, m4, gawk, gcc 4,
binutils, cups, freetype
and alsa.
<!-- ------------------------------------------------------ -->
<h4>Ubuntu 6.06</h4>
<h4>Debian 5.0 (Lenny)</h4>
<p>
The following list of packages for Ubuntu 6.06 is a working set that
does appear to work.
<p>
<b>Note that it's quite possible that some of these
packages are not required, so anyone discovering that some of the
packages listed below are NOT required,
please let the
OpenJDK
team know.</b>
<p>
All the packages below can be installed with the
Synaptic Package manager provided with the base Ubuntu 6.06 release.
<blockquote>
<ul>
<li>binutils (2.16.1cvs20060117-1ubuntu2.1)</li>
<li>cpp (4:4.0.3-1)</li>
<li>cpp-4.0 (4.0.3-1ubuntu5)</li>
<li>libfreetype6-dev</li>
<li>g++ (4:4.0.3-1)</li>
<li>g++-4.0 (4.0.3-1ubuntu5)</li>
<li>gawk (1:3.1.5-2build1)</li>
<li>gcc (4:4.0.3-1)</li>
<li>gcc-4.0 (4.0.3-1ubuntu5)</li>
<li>libasound2-dev (1.0.10-2ubuntu4)</li>
<li>libc6 (2.3.6-0ubuntu20) to 2.3.6-0ubuntu20.4</li>
<li>libc6-dev (2.3.6-0ubuntu20.4)</li>
<li>libc6-i686 (2.3.6-0ubuntu20) to 2.3.6-0ubuntu20.4</li>
<li>libcupsys2-dev (1.2.2-0ubuntu0.6.06)</li>
<li>libgcrypt11-dev (1.2.2-1)</li>
<li>libgnutls-dev (1.2.9-2ubuntu1.1)</li>
<li>libgnutls12 (1.2.9-2ubuntu1) to 1.2.9-2ubuntu1.1</li>
<li>libgpg-error-dev (1.1-4)</li>
<li>libice-dev (2:1.0.0-0ubuntu2)</li>
<li>liblockfile1 (1.06.1)</li>
<li>libopencdk8-dev (0.5.7-2)</li>
<li>libpopt-dev (1.7-5)</li>
<li>libsm-dev (2:1.0.0-0ubuntu2)</li>
<li>libstdc++6-4.0-dev (4.0.3-1ubuntu5)</li>
<li>libtasn1-2-dev (0.2.17-1ubuntu1)</li>
<li>libx11-dev (2:1.0.0-0ubuntu9)</li>
<li>libxau-dev (1:1.0.0-0ubuntu4)</li>
<li>libxaw-headers (2:1.0.1-0ubuntu3)</li>
<li>libxaw7-dev (2:1.0.1-0ubuntu3)</li>
<li>libxdmcp-dev (1:1.0.0-0ubuntu2)</li>
<li>libxext-dev (2:1.0.0-0ubuntu4)</li>
<li>libxi-dev (2:1.0.0-0ubuntu3) </li>
<li>libxmu-dev (2:1.0.0-0ubuntu3)</li>
<li>libxmu-headers (2:1.0.0-0ubuntu3)</li>
<li>libxmuu-dev (2:1.0.0-0ubuntu3)</li>
<li>libxp-dev (6.8.2-11ubuntu2)</li>
<li>libxpm-dev (1:3.5.4.2-0ubuntu3)</li>
<li>libxrandr-dev (1:1.1.0.2-0ubuntu4)</li>
<li>libxt-dev (1:1.0.0-0ubuntu3)</li>
<li>libxtrap-dev (2:1.0.0-0ubuntu2)</li>
<li>libxtst-dev (2:1.0.1-0ubuntu2)</li>
<li>libxv-dev (2:1.0.1-0ubuntu3)</li>
<li>linux-kernel-headers (2.6.11.2-0ubuntu18)</li>
<li>m4 (1.4.4-1)</li>
<li>make (3.80+3.81.b4-1)</li>
<li>ssl-cert (1.0.13)</li>
<li>x-dev (7.0.4-0ubuntu2)</li>
<li>x11proto-core-dev (7.0.4-0ubuntu2)</li>
<li>x11proto-input-dev (1.3.2-0ubuntu2)</li>
<li>x11proto-kb-dev (1.0.2-0ubuntu2)</li>
<li>x11proto-randr-dev (1.1.2-0ubuntu2)</li>
<li>x11proto-record-dev (1.13.2-0ubuntu2)</li>
<li>x11proto-trap-dev (3.4.3-0ubuntu2)</li>
<li>x11proto-video-dev (2.2.2-0ubuntu2)</li>
<li>x11proto-xext-dev (7.0.2-0ubuntu2)</li>
<li>xlibs-dev (7.0.0-0ubuntu45)</li>
<li>zlib1g-dev (1:1.2.3-6ubuntu4)</li>
</ul>
</blockquote>
<!-- ------------------------------------------------------ -->
<h4>Ubuntu 7.04</h4>
<p>
Using the Synaptic Package Manager, download the following
packages (double indented packages are automatically aquired
due to package dependencies):
<blockquote>
<ul>
<li>build-essential</li>
<ul>
<li>dpkg-dev</li>
<li>g++</li>
<li>g++-4.1</li>
<li>libc6-dev</li>
<li>libstdc++6.4.1-dev</li>
<li>linux-libc-dev</li>
</ul>
<li>gawk</li>
<li>m4</li>
<li>libasound2-dev</li>
<li>libcupsys2-dev</li>
<ul>
<li>libgcrypt11-dev</li>
<li>lgnutls-dev</li>
<li>libgpg-error-dev</li>
<li>liblzo-dev</li>
<li>libopencdk8-dev</li>
<li>libpopt-dev</li>
<li>libtasn1-3-dev</li>
<li>zlib1g-dev</li>
</ul>
<li>sun-java6-jdk</li>
<ul>
<li>java-common</li>
<li>libltdl3</li>
<li>odbcinst1debian1</li>
<li>sun-java6-bin</li>
<li>sun-java6-jre</li>
<li>unixodbc</li>
</ul>
<li>xlibs-dev</li>
<ul>
<li>(many)</li>
</ul>
<li>x11proto-print-dev</li>
<li>libxaw7-dev</li>
<ul>
<li>libxaw-headers</li>
</ul>
<li>libxp-dev</li>
<li>libfreetype6-dev</li>
</ul>
</blockquote>
<blockquote>
After installing <a href="http://debian.org">Debian</a> 5
you need to install several build dependencies.
The simplest way to install the build dependencies is to
execute the following commands as user <tt>root</tt>:
<p/>
<code>aptitude build-dep openjdk-6</code>
<p/>
<code>aptitude install openjdk-6-jdk libmotif-dev</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
</blockquote>
</blockquote>
<!-- ------------------------------------------------------ -->
<!-- ====================================================== -->
<h3><a name="ubuntu">Ubuntu</a></h3>
<blockquote>
<h4>Ubuntu 8.04</h4>
<p>
<blockquote>
After installing <a href="http://ubuntu.org">Ubuntu</a> 8.04
you need to install several build dependencies.
<p/>
First, you need to enable the universe repository in the
Software Sources application and reload the repository
information. The Software Sources application is available
under the System/Administration menu.
<p/>
The simplest way to install the build dependencies is to
execute the following commands:
<p/>
<code>sudo aptitude build-dep openjdk-6</code>
<p/>
<code>sudo aptitude install openjdk-6-jdk</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
</blockquote>
<h4>Ubuntu 8.10</h4>
<p>
<blockquote>
After installing <a href="http://ubuntu.org">Ubuntu</a> 8.10
you need to install several build dependencies. The simplest
way to do it is to execute the following commands:
<p/>
<code>sudo aptitude build-dep openjdk-6</code>
<p/>
<code>sudo aptitude install openjdk-6-jdk</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
</blockquote>
<h4>Ubuntu 9.04</h4>
<p>
<blockquote>
After installing <a href="http://ubuntu.org">Ubuntu</a> 9.04
you need to install several build dependencies. The simplest
way to do it is to execute the following commands:
<p/>
<code>sudo aptitude build-dep openjdk-6</code>
<p/>
<code>sudo aptitude install openjdk-6-jdk</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
</blockquote>
</blockquote>
<!-- ====================================================== -->
<h3><a name="opensuse">OpenSUSE</a></h3>
<blockquote>
<h4>OpenSUSE 11.1</h4>
<p>
<blockquote>
After installing <a href="http://opensuse.org">OpenSUSE</a> 11.1
you need to install several build dependencies.
The simplest way to install the build dependencies is to
execute the following commands:
<p/>
<code>sudo zypper source-install -d java-1_6_0-openjdk</code>
<p/>
<code>sudo zypper install make</code>
<p/>
In addition, it is necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk</code>
<p/>
Finally, you need to unset the <code>JAVA_HOME</code> environment variable:
<p/>
<code>export -n JAVA_HOME</code>
</blockquote>
</blockquote>
<!-- ====================================================== -->
<h3><a name="mandriva">Mandriva</a></h3>
<blockquote>
<h4>Mandriva Linux One 2009 Spring</h4>
<p>
<blockquote>
After installing <a href="http://mandriva.org">Mandriva</a> Linux One 2009 Spring
you need to install several build dependencies.
The simplest way to install the build dependencies is to
execute the following commands as user <tt>root</tt>:
<p/>
<code>urpmi java-1.6.0-openjdk-devel ant make gcc gcc-c++ freetype-devel zip unzip libcups2-devel libxrender1-devel libalsa2-devel libstc++-static-devel libxtst6-devel libxi-devel</code>
<p/>
In addition, it is necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk</code>
</blockquote>
</blockquote>
<!-- ====================================================== -->
<h3><a name="opensolaris">OpenSolaris</a></h3>
<blockquote>
<h4>OpenSolaris 2009.06</h4>
<p>
<blockquote>
After installing <a href="http://opensolaris.org">OpenSolaris</a> 2009.06
you need to install several build dependencies.
The simplest way to install the build dependencies is to
execute the following commands:
<p/>
<code>pfexec pkg install SUNWgmake SUNWj6dev SUNWant sunstudioexpress SUNWcups SUNWzip SUNWunzip SUNWxwhl SUNWxorg-headers SUNWaudh SUNWfreetype2</code>
<p/>
In addition, it is necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_COMPILER_PATH=/opt/SunStudioExpress/bin/ ALT_CUPS_HEADERS_PATH=/usr/include/</code>
<p/>
Finally, you need to make sure that the build process can find the Sun Studio compilers:
<p/>
<code>export PATH=$PATH:/opt/SunStudioExpress/bin/</code>
</blockquote>
</blockquote>
<!-- ------------------------------------------------------ -->
<hr>
<h2><a name="directories">Source Directory Structure</a></h2>
<blockquote>
@@ -596,11 +636,6 @@
Install or upgrade the <a href="#freetype">FreeType development
package</a>.
</li>
<li>
Install the
<a href="#jibx">JIBX Libraries</a>, set
<tt><a href="#ALT_JIBX_LIBS_PATH">ALT_JIBX_LIBS_PATH</a></tt>.
</li>
<li>
Install
<a href="#ant">Ant</a>,
@@ -669,11 +704,6 @@
<li>
Install the <a href="#xrender">XRender Include files</a>.
</li>
<li>
Install the
<a href="#jibx">JIBX Libraries</a>, set
<tt><a href="#ALT_JIBX_LIBS_PATH">ALT_JIBX_LIBS_PATH</a></tt>.
</li>
<li>
Install
<a href="#ant">Ant</a>,
@@ -769,11 +799,6 @@
Install
<a href="#dxsdk">Microsoft DirectX SDK</a>.
</li>
<li>
Install the
<a href="#jibx">JIBX Libraries</a>, set
<tt><a href="#ALT_JIBX_LIBS_PATH">ALT_JIBX_LIBS_PATH</a></tt>.
</li>
<li>
Install
<a href="#ant">Ant</a>,
@@ -903,27 +928,6 @@
fine for most JDK developers.
</blockquote>
<!-- ------------------------------------------------------ -->
<h4><a name="jibx">JIBX</a></h4>
<blockquote>
JIBX libraries version 1.1.5 is required for building the OpenJDK.
Namely, the following JAR files from the JIBX distribution package
are required:
<ul>
<li>bcel.jar
<li>jibx-bind.jar
<li>jibx-run.jar
<li>xpp3.jar
</ul>
<p>
You can download the package from the
<a href="http://jibx.sourceforge.net" target="_blank">JIBX site</a>.
<p>
You will need to set the
<tt><a href="#ALT_JIBX_LIBS_PATH">ALT_JIBX_LIBS_PATH</a></tt>
environment variable to refer to place where the JAR files,
above, are located.
</blockquote>
<!-- ------------------------------------------------------ -->
<h4><a name="compilers">Compilers</a></h4>
<blockquote>
<strong><a name="gcc">Linux gcc/binutils</a></strong>
@@ -1496,12 +1500,6 @@
The default will refer to
<tt>jdk/src/share/lib/security/cacerts</tt>.
</dd>
<dt><tt><a name="ALT_JIBX_LIBS_PATH">ALT_JIBX_LIBS_PATH</a></tt></dt>
<dd>
The location of the <a href="#jibx">JIBX libraries</a> file.
The default value is
<tt>$(ALT_SLASH_JAVA)/devtools/share/jibx/lib</tt>.
</dd>
<dt><a name="ALT_CUPS_HEADERS_PATH"><tt>ALT_CUPS_HEADERS_PATH</tt></a> </dt>
<dd>
The location of the CUPS header files.

View File

@@ -32,7 +32,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
--- end of LICENSE file ---
%% This notice is provided with respect to ASM, which may be included with this software:
Copyright (c) 2000-2005 INRIA, France Telecom
Copyright (c) 2000-2007 INRIA, France Telecom
All rights reserved.
Redistribution and use in source and binary forms, with or without

View File

@@ -40,3 +40,11 @@ e906b16a12a9a63b615898afa5d9673cbd1c5ab8 jdk7-b61
d20e45cd539f20405ff843652069cfd7550c5ab3 jdk7-b63
047dd27fddb607f8135296b3754131f6e13cb8c7 jdk7-b64
97fd9b42f5c2d342b90d18f0a2b57e4117e39415 jdk7-b65
a821e059a961bcb02830280d51f6dd030425c066 jdk7-b66
a12ea7c7b497b4ba7830550095ef633bd6f43971 jdk7-b67
5182bcc9c60cac429d1f7988676cec7320752be3 jdk7-b68
8120d308ec4e805c5588b8d9372844d781c4112d jdk7-b69
175bd68779546078dbdb6dacd7f0aced79ed22b1 jdk7-b70
3f1ef7f899ea2aec189c4fb67e5c8fa374437c50 jdk7-b71
c793a31209263fbb867c23c752599d85c21abb73 jdk7-b72
b751c528c55560cf2adeaeef24b39ca1f4d1cbf7 jdk7-b73

View File

@@ -32,7 +32,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
--- end of LICENSE file ---
%% This notice is provided with respect to ASM, which may be included with this software:
Copyright (c) 2000-2005 INRIA, France Telecom
Copyright (c) 2000-2007 INRIA, France Telecom
All rights reserved.
Redistribution and use in source and binary forms, with or without

View File

@@ -1,5 +1,5 @@
#
# Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2007-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -110,7 +110,7 @@ BOOTSTRAP_TARGET_LEVEL = 5
ifdef TARGET_CLASS_VERSION
TARGET_LEVEL = $(TARGET_CLASS_VERSION)
else
TARGET_LEVEL = 6
TARGET_LEVEL = 7
endif
ifndef TARGET_JAVA
@@ -141,12 +141,12 @@ $(CLASSES_JAR):
#----- src.zip
SRC_ZIP_FILES = $(shell $(FIND) $(SRC_CLASSES_DIR) \( -name SCCS -o -name \*-template \) -prune -o -type f -print )
SRC_ZIP_FILES = $(shell $(FIND) $(SRC_CLASSES_DIR) \( -name \*-template \) -prune -o -type f -print )
SRC_ZIP = $(LIB_DIR)/src.zip
$(SRC_ZIP): $(SRC_ZIP_FILES)
abs_src_zip=`cd $(@D) ; pwd`/$(@F) ; \
( cd $(SRC_CLASSES_DIR) ; $(FIND) . \( -name SCCS -o -name \*-template \) -prune -o -type f -print | $(ZIP) -q $$abs_src_zip -@ ) ; \
( cd $(SRC_CLASSES_DIR) ; $(FIND) . \( -name \*-template \) -prune -o -type f -print | $(ZIP) -q $$abs_src_zip -@ ) ; \
( cd $(GENSRC_DIR) ; $(FIND) . -type f -print | $(ZIP) -q $$abs_src_zip -@ ) ;
#----- bin.zip

View File

@@ -1,5 +1,5 @@
#
# Copyright 1998-2005 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -24,22 +24,29 @@
#
# Input: BUILDDIR PACKAGE PKGDIR PROGRAM BUILDTOOL_SOURCE_ROOT BUILDTOOL_MAIN
# All subdirectories under the package root for the tool (max depth 4)
_WC_DIRS = * */* */*/* */*/*/*
BUILDTOOL_MAIN_SOURCE_FILE = $(BUILDTOOL_SOURCE_ROOT)/$(BUILDTOOL_MAIN)
BUILDTOOL_MANIFEST_FILE = $(BUILDTOOLCLASSDIR)/$(PROGRAM)_manifest.mf
BUILDTOOL_JAR_FILE = $(BUILDTOOLJARDIR)/$(PROGRAM).jar
BUILDTOOL_ALL_FILES := $(shell $(CD) $(BUILDTOOL_SOURCE_ROOT) \
&& $(FIND) $(PKGDIR) $(SCM_DIRS_prune) -o -type f -print)
BUILTTOOL_MAINCLASS = $(subst /,.,$(BUILDTOOL_MAIN:%.java=%))
BUILTTOOL_MAINCLASS = $(subst /,.,$(BUILDTOOL_MAIN:%.java=%))
all build: $(BUILDTOOL_JAR_FILE) tool_info
# Wildcard patterns that find all the sources for this build tool
BUILDTOOL_WC_PATTERNS = $(BUILDTOOL_SOURCE_ROOT)/$(PKGDIR)/*.java \
$(patsubst %, $(BUILDTOOL_SOURCE_ROOT)/$(PKGDIR)/%/*.java, $(_WC_DIRS))
# Wildcard expansion that finds all the files
BUILDTOOL_SRC_FILES := $(wildcard $(BUILDTOOL_WC_PATTERNS))
all build: $(BUILDTOOL_JAR_FILE)
$(BUILDTOOL_MANIFEST_FILE): $(BUILDTOOL_MAIN_SOURCE_FILE)
@$(prep-target)
$(ECHO) "Main-Class: $(BUILTTOOL_MAINCLASS)" > $@
$(BUILDTOOL_JAR_FILE): $(BUILDTOOL_MANIFEST_FILE) \
$(BUILDTOOL_ALL_FILES:%=$(BUILDTOOL_SOURCE_ROOT)/%)
$(BUILDTOOL_JAR_FILE): $(BUILDTOOL_MANIFEST_FILE) $(BUILDTOOL_SRC_FILES)
@$(prep-target)
@$(MKDIR) -p $(BUILDTOOLCLASSDIR)
$(BOOT_JAVAC_CMD) -d $(BUILDTOOLCLASSDIR) \
@@ -49,23 +56,8 @@ $(BUILDTOOL_JAR_FILE): $(BUILDTOOL_MANIFEST_FILE) \
$(JAR_JFLAGS) || $(RM) $@
@$(java-vm-cleanup)
# Printing out a build tool information line
define printBuildToolSetting
if [ "$2" != "" ] ; then $(PRINTF) "%-25s %s\n" "$1:" "$2"; fi
endef
# Print out the build tool information
tool_info:
@$(ECHO) "========================================================="
@$(call printBuildToolSetting,BUILDTOOL,$(PROGRAM))
@$(call printBuildToolSetting,PACKAGE,$(PACKAGE))
@$(call printBuildToolSetting,BUILDTOOL_SOURCE_ROOT,$(BUILDTOOL_SOURCE_ROOT))
@$(call printBuildToolSetting,BUILTTOOL_MAINCLASS,$(BUILTTOOL_MAINCLASS))
@$(call printBuildToolSetting,BUILDTOOL_JAR_FILE,$(BUILDTOOL_JAR_FILE))
@$(ECHO) "========================================================="
clean clobber::
$(RM) -r $(BUILDTOOLCLASSDIR)/$(PKGDIR)
$(RM) $(BUILDTOOL_MANIFEST_FILE)
$(RM) $(BUILDTOOL_JAR_FILE)
$(RM) -r $(BUILDTOOLCLASSDIR)/$(PKGDIR) \
$(BUILDTOOL_MANIFEST_FILE) \
$(BUILDTOOL_JAR_FILE)

View File

@@ -1,5 +1,5 @@
#
# Copyright 1998-1999 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -56,11 +56,3 @@ ifndef USE_IMPLICITS
%: %.sh
endif
#
# If you are using RCS, you must set the variable USE_RCS at the make
# command line. Otherwise we disable RCS.
#
ifndef USE_RCS
%:: %,v
%:: RCS/%,v
endif

View File

@@ -1,5 +1,5 @@
#
# Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1995-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -310,125 +310,32 @@ endef
SUBDIRS_MAKEFLAGS-clobber = INCREMENTAL_BUILD=false
SUBDIRS_MAKEFLAGS-clean = INCREMENTAL_BUILD=false
# Current directory
CURRENT_DIRECTORY := $(shell $(PWD))
# If no timing wanted, we need to define these as empty
ifdef NO_TIMING
TIMING_ID:=NA
define TIMING_start
t=0:0:0:0
endef
define TIMING_end
time_used=0
endef
else # NO_TIMING
# Default timing id
TIMING_ID:=$(shell $(BASENAME) $(CURRENT_DIRECTORY))
# Timing start (must be used in same shell, e.g. same command line)
# Defines the shell variable $1 to have the start time.
define TIMING_start
$1=`$(DATE) +%j:%H:%M:%S`
endef
# Timing end (must be used in same shell, e.g. same command line)
# Expects shell variable $1 to have been defined as the start time.
# Expects shell variable $2 to have timing id string
# Sets total_seconds shell variable as the total seconds used.
# Sets time_used shell variable to contain format "%dh%dm%ds"
define TIMING_end
begTime="$${$1}"; \
timing_id="$${$2}"; \
endTime=`$(DATE) +%j:%H:%M:%S`; \
d1=`$(ECHO) $${begTime} | $(CUT) -d':' -f1 | $(SED) -e 's@^0*@@'`; \
if [ "$${d1}" = "" ] ; then d1=0; fi; \
h1=`$(ECHO) $${begTime} | $(CUT) -d':' -f2 | $(SED) -e 's@^0*@@'`; \
if [ "$${h1}" = "" ] ; then h1=0; fi; \
m1=`$(ECHO) $${begTime} | $(CUT) -d':' -f3 | $(SED) -e 's@^0*@@'`; \
if [ "$${m1}" = "" ] ; then m1=0; fi; \
s1=`$(ECHO) $${begTime} | $(CUT) -d':' -f4 | $(SED) -e 's@^0*@@'`; \
if [ "$${s1}" = "" ] ; then s1=0; fi; \
d2=`$(ECHO) $${endTime} | $(CUT) -d':' -f1 | $(SED) -e 's@^0*@@'`; \
if [ "$${d2}" = "" ] ; then d2=0; fi; \
h2=`$(ECHO) $${endTime} | $(CUT) -d':' -f2 | $(SED) -e 's@^0*@@'`; \
if [ "$${h2}" = "" ] ; then h2=0; fi; \
m2=`$(ECHO) $${endTime} | $(CUT) -d':' -f3 | $(SED) -e 's@^0*@@'`; \
if [ "$${m2}" = "" ] ; then m2=0; fi; \
s2=`$(ECHO) $${endTime} | $(CUT) -d':' -f4 | $(SED) -e 's@^0*@@'`; \
if [ "$${s2}" = "" ] ; then s2=0; fi; \
t1_secs=`$(EXPR) $${d1} '*' 60 '*' 60 '*' 24 '+' $${h1} '*' 60 '*' 60 \
'+' $${m1} '*' 60 '+' $${s1}`; \
t2_secs=`$(EXPR) $${d2} '*' 60 '*' 60 '*' 24 '+' $${h2} '*' 60 '*' 60 \
'+' $${m2} '*' 60 '+' $${s2}`; \
total_seconds=`$(EXPR) $${t2_secs} '-' $${t1_secs}`; \
if [ "$${total_seconds}" -lt 0 ] ; then total_seconds=0; fi; \
t_hour=`$(EXPR) $${total_seconds} '/' '(' 60 '*' 60 ')'`h; \
t_min=`$(EXPR) '(' $${total_seconds} '%' '(' 60 '*' 60 ')' ')' '/' 60`m; \
t_sec=`$(EXPR) $${total_seconds} '%' 60`s; \
time_used=$${t_sec}; \
if [ "$${t_hour}" != "0h" ] ; then \
time_used=$${t_hour}$${t_min}$${t_sec}; \
elif [ "$${t_min}" != "0m" ] ; then \
time_used=$${t_min}$${t_sec}; \
else \
time_used=$${t_sec}; \
fi; \
$(PRINTF) " Timing: %05d seconds or %s for %s\n" \
$${total_seconds} $${time_used} $${timing_id}
endef
endif # NO_TIMING
# Given a SUBDIRS list, cd into them and make them
# SUBDIRS_MAKEFLAGS Make settings for a subdir make
# SUBDIRS_MAKEFLAGS-$@ Make settings specific to this target
define SUBDIRS-loop
@$(ECHO) "Begin Processing SUBDIRS: $(SUBDIRS)"
@for i in DUMMY $(SUBDIRS) ; do \
if [ "$$i" != "DUMMY" ] ; then \
$(ECHO) ">>>Recursively making "$$i" "$@" @ `$(DATE)` ..."; \
timing_id="$(TIMING_ID)-`$(BASENAME) $${i}`"; \
$(call TIMING_start,startTime); \
curDir=$(CURRENT_DIRECTORY); \
$(CD) $$i; $(MAKE) $@ TIMING_ID=$${timing_id} \
$(SUBDIRS_MAKEFLAGS) \
$(SUBDIRS_MAKEFLAGS-$@) \
FULL_VERSION=$(FULL_VERSION) \
RELEASE=$(RELEASE) || exit 1; \
$(CD) $${curDir}; \
$(call TIMING_end,startTime,timing_id); \
$(ECHO) "<<<Finished Recursively making "$$i" "$@" @ `$(DATE)`." ; \
$(MAKE) -C $${i} $@ \
$(SUBDIRS_MAKEFLAGS) \
$(SUBDIRS_MAKEFLAGS-$@) \
FULL_VERSION=$(FULL_VERSION) \
RELEASE=$(RELEASE) || exit 1; \
fi ; \
done
@$(ECHO) "Done Processing SUBDIRS: $(SUBDIRS)"
endef
# Given a OTHERSUBDIRS list, cd into them and make them (extra loop define)
# OTHERSUBDIRS_MAKEFLAGS Make settings for a subdir make
define OTHERSUBDIRS-loop
@$(ECHO) "Begin Processing OTHERSUBDIRS: $(OTHERSUBDIRS)"
@for i in DUMMY $(OTHERSUBDIRS) ; do \
if [ "$$i" != "DUMMY" ] ; then \
$(ECHO) ">>>Recursively making "$$i" "$@" @ `$(DATE)` ..."; \
timing_id="$(TIMING_ID)-`$(BASENAME) $${i}`"; \
$(call TIMING_start,startTime); \
curDir=$(CURRENT_DIRECTORY); \
$(CD) $$i; $(MAKE) $@ TIMING_ID=$${timing_id} \
$(OTHERSUBDIRS_MAKEFLAGS) \
FULL_VERSION=$(FULL_VERSION) \
RELEASE=$(RELEASE) || exit 1; \
$(CD) $${curDir}; \
$(call TIMING_end,startTime,timing_id); \
$(ECHO) "<<<Finished Recursively making "$$i" "$@" @ `$(DATE)`." ; \
$(MAKE) -C $${i} $@ \
$(OTHERSUBDIRS_MAKEFLAGS) \
FULL_VERSION=$(FULL_VERSION) \
RELEASE=$(RELEASE) || exit 1; \
fi ; \
done
@$(ECHO) "Done Processing OTHERSUBDIRS: $(OTHERSUBDIRS)"
endef
#
@@ -460,46 +367,23 @@ else
VERSION_DEFINES = -DRELEASE='"$(RELEASE)"'
endif
# Note: As a rule, GNU Make rules should not appear in any of the
# Defs*.gmk files. These were added for Kestrel-Solaris and do address
# a TeamWare bug. They should be moved elsewhere for Merlin.
#
# Override gnumake built-in rules which do sccs get operations badly.
# (They put the checked out code in the current directory, not in the
# directory of the original file.)
# Since this is a symptom of a teamware failure, complain and die on the spot.
# This message immediately goes to stdout and the build terminates.
define SCCS-trouble
$(error \
"ERROR: File $@ referenced while building in $(CURRENT_DIRECTORY) \
is out of date with respect to its SCCS file $<. \
This can happen from an unresolved Teamware conflict, a file movement, or \
a failure in which SCCS files are updated but the 'sccs get' was not done. \
You should double check for other out of date files in your workspace. \
Or run: cd $(TOPDIR) && $(MAKE) sccs_get")
endef
%:: s.%
@$(SCCS-trouble)
%:: SCCS/s.%
@$(SCCS-trouble)
@$(ECHO) " is out of date with respect to its SCCS file." >> $(WARNING_FILE)
@$(ECHO) " This file may be from an unresolved Teamware conflict." >> $(WARNING_FILE)
@$(ECHO) " This is also a symptom of a Teamware bringover/putback failure" >> $(WARNING_FILE)
@$(ECHO) " in which SCCS files are updated but not checked out." >> $(WARNING_FILE)
@$(ECHO) " Check for other out of date files in your workspace." >> $(WARNING_FILE)
@$(ECHO) "" >> $(WARNING_FILE)
@#exit 666
# Prevent the use of many default suffix rules we do not need
.SUFFIXES:
.SUFFIXES: .c .o .h .obj .cpp .hpp .java .class
# Make sure we are all insane
ifdef INSANE
export INSANE
endif
ifdef ALT_COPYRIGHT_YEAR
COPYRIGHT_YEAR = $(ALT_COPYRIGHT_YEAR)
else
COPYRIGHT_YEAR = $(shell $(DATE) '+%Y')
# Make sure we have the current year
ifndef COPYRIGHT_YEAR
ifdef ALT_COPYRIGHT_YEAR
COPYRIGHT_YEAR := $(ALT_COPYRIGHT_YEAR)
else
COPYRIGHT_YEAR := $(shell $(DATE) '+%Y')
endif
export COPYRIGHT_YEAR
endif
# Install of imported file (JDK_IMPORT_PATH, or some other external location)

View File

@@ -1,5 +1,5 @@
#
# Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1995-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
#
# Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1995-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -27,17 +27,6 @@
#
# Rules shared by all Java makefiles.
#
# Used to apply to source file $<, checks code conventions, issues warnings.
define check-conventions
if [ "$(CONVENTION_WATCH)" = "true" ] ; then \
if [ "`$(CAT) -n -v -t $< | $(EGREP) -v '\@\(\#\)' | $(EGREP) '\^[MLI]'`" != "" ] ; then \
$(ECHO) "WARNING: File contains tabs, ^M, or ^L characters: $<"; \
if [ "$(CONVENTION_DETAILS)" = "true" ] ; then \
$(CAT) -n -v -t $< | $(EGREP) -v '\@\(\#\)' | $(EGREP) '\^[MLI]' ; \
fi; \
fi; \
fi
endef
# Make sure the default rule is all
rules_default_rule: all
@@ -162,7 +151,6 @@ JAVA_SOURCE_LIST=$(TEMPDIR)/.classes.list
# Add a java source to the list
define add-java-file
$(ECHO) "$?" >> $(JAVA_SOURCE_LIST)
$(check-conventions)
endef
$(CLASSDESTDIR)/%.class: $(GENSRCDIR)/%.java
@@ -197,11 +185,8 @@ JAVAC_PREFER_SOURCE = -Xprefer:source
.compile.classlist : $(JAVA_SOURCE_LIST)
@$(MKDIR) -p $(CLASSDESTDIR)
@if [ `$(CAT) $(JAVA_SOURCE_LIST) | $(WC) -l` -ge 1 ] ; then \
$(ECHO) "# Java sources to be compiled: (listed in file $(JAVA_SOURCE_LIST))"; \
if [ -s $(JAVA_SOURCE_LIST) ] ; then \
$(CAT) $(JAVA_SOURCE_LIST); \
$(ECHO) "# Running javac:"; \
$(ECHO) $(JAVAC_CMD) $(JAVAC_PREFER_SOURCE) -sourcepath "$(SOURCEPATH)" -d $(CLASSDESTDIR) @$(JAVA_SOURCE_LIST); \
$(JAVAC_CMD) $(JAVAC_PREFER_SOURCE) -sourcepath "$(SOURCEPATH)" -d $(CLASSDESTDIR) @$(JAVA_SOURCE_LIST); \
fi
@$(java-vm-cleanup)
@@ -220,10 +205,7 @@ endif
packages.clean:
ifeq ($(DONT_CLOBBER_CLASSES),false)
ifdef AUTO_FILES_JAVA_DIRS
@for sdir in $(AUTO_FILES_JAVA_DIRS); do \
$(ECHO) "$(RM) -r $(CLASSDESTDIR)/$$sdir"; \
$(RM) -r $(CLASSDESTDIR)/$$sdir; \
done
$(RM) -r $(patsubst %, $(CLASSDESTDIR)/%, $(AUTO_FILES_JAVA_DIRS))
else
$(RM) -r $(CLASSDESTDIR)/$(PKGDIR)
endif
@@ -259,15 +241,13 @@ classheaders: classes $(CLASSHDR_DOTFILE)
$(CLASSHDR_DOTFILE): $(CLASSES_export)
$(prep-target)
@$(ECHO) "# Running javah:"
$(JAVAH_CMD) -d $(CLASSHDRDIR)/ \
$(CLASSES.export) $(subst $$,\$$,$(EXPORTED_inner))
@$(java-vm-cleanup)
@$(TOUCH) $@
classheaders.clean:
$(RM) $(CLASSHDR_DOTFILE)
$(RM) -r $(CLASSHDRDIR)
$(RM) -r $(CLASSHDRDIR) $(CLASSHDR_DOTFILE)
else # FILES_export

View File

@@ -1,5 +1,5 @@
#
# Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2005-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -48,11 +48,17 @@ ifeq ($(PLATFORM), windows)
NMAKE = MFLAGS= MAKEFLAGS= $(COMPILER_PATH)nmake -nologo
# Compiler version and type (Always get word after "Version")
CC_VER := $(shell $(CC) 2>&1 | $(HEAD) -n 1 | $(SED) 's/.*\(Version.*\)/\1/' | $(NAWK) '{print $$2}')
ifndef CC_VER
CC_VER := $(shell $(CC) 2>&1 | $(HEAD) -n 1 | $(SED) 's/.*\(Version.*\)/\1/' | $(NAWK) '{print $$2}')
export CC_VER
endif
# SDK-64 and MSVC6 put REBASE.EXE in a different places - go figure...
ifeq ($(ARCH_DATA_MODEL), 32)
LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}')
ifndef LINK_VER
LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}')
export LINK_VER
endif
CC_MAJORVER :=$(call MajorVersion,$(CC_VER))
ifeq ($(CC_MAJORVER), 13)
# This should be: CC_VER=13.10.3077 LINK_VER=7.10.3077
@@ -93,7 +99,10 @@ ifeq ($(PLATFORM), windows)
endif
else
# else ARCH_DATA_MODEL is 64
LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}')
ifndef LINK_VER
LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}')
export LINK_VER
endif
CC_MAJORVER :=$(call MajorVersion,$(CC_VER))
CC_MINORVER :=$(call MinorVersion,$(CC_VER))
CC_MICROVER :=$(call MicroVersion,$(CC_VER))

View File

@@ -1,5 +1,5 @@
#
# Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1995-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -55,10 +55,21 @@ else
ADD_CLIENT_VM_OPTION = true
endif
endif
JAVA_JVM_FLAGS =
# Options for hotspot to turn off printing of options with fastdebug version
# and creating the hotspot.log file.
JAVA_HOTSPOT_DISABLE_PRINT_VMOPTIONS = \
-XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput
# JVM options
JAVA_JVM_FLAGS = $(JAVA_HOTSPOT_DISABLE_PRINT_VMOPTIONS)
ifeq ($(ADD_CLIENT_VM_OPTION), true)
JAVA_JVM_FLAGS += -client
endif
ifdef USE_HOTSPOT_INTERPRETER_MODE
JAVA_JVM_FLAGS += -Xint
endif
# Various VM flags
JAVA_TOOLS_FLAGS = $(JAVA_JVM_FLAGS) $(JAVA_MEM_FLAGS)
@@ -100,19 +111,23 @@ JAVACFLAGS =
ifeq ($(DEBUG_CLASSFILES),true)
JAVACFLAGS += -g
endif
ifeq ($(COMPILER_WARNINGS_FATAL), true)
ifeq ($(JAVAC_MAX_WARNINGS), true)
JAVACFLAGS += -Xlint:all
endif
ifeq ($(JAVAC_WARNINGS_FATAL), true)
JAVACFLAGS += -Werror
endif
NO_PROPRIETARY_API_WARNINGS = -XDignore.symbol.file=true
JAVACFLAGS += $(NO_PROPRIETARY_API_WARNINGS)
# Add the source level (currently all source is 1.5, should this be 1.6?)
LANGUAGE_VERSION = -source 1.5
# Add the source level
SOURCE_LANGUAGE_VERSION = 7
LANGUAGE_VERSION = -source $(SOURCE_LANGUAGE_VERSION)
JAVACFLAGS += $(LANGUAGE_VERSION)
# Add the class version we want (currently this is 5, should it be 6 or even 7?)
TARGET_CLASS_VERSION = 5
# Add the class version we want
TARGET_CLASS_VERSION = 7
CLASS_VERSION = -target $(TARGET_CLASS_VERSION)
JAVACFLAGS += $(CLASS_VERSION)
JAVACFLAGS += -encoding ascii
@@ -176,10 +191,17 @@ endif
# The javac options supplied to the boot javac is limited. This compiler
# should only be used to build the 'make/tools' sources, which are not
# class files that end up in the classes directory.
ifeq ($(COMPILER_WARNINGS_FATAL), true)
ifeq ($(JAVAC_MAX_WARNINGS), true)
BOOT_JAVACFLAGS += -Xlint:all
endif
ifeq ($(JAVAC_WARNINGS_FATAL), true)
BOOT_JAVACFLAGS += -Werror
endif
BOOT_JAVACFLAGS += -encoding ascii
BOOT_SOURCE_LANGUAGE_VERSION = 6
BOOT_TARGET_CLASS_VERSION = 6
BOOT_JAVACFLAGS += -encoding ascii -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
BOOT_JAR_JFLAGS += $(JAR_JFLAGS)
BOOT_JAVA_CMD = $(BOOTDIR)/bin/java $(JAVA_TOOLS_FLAGS)
BOOT_JAVAC_CMD = $(BOOTDIR)/bin/javac $(JAVAC_JVM_FLAGS) $(BOOT_JAVACFLAGS)

View File

@@ -116,7 +116,6 @@ RC = $(UTILS_COMMAND_PATH)rc
RMDIR = $(UTILS_COMMAND_PATH)rmdir
RPM = $(UTILS_COMMAND_PATH)rpm
RPMBUILD = $(UTILS_COMMAND_PATH)rpmbuild
SCCS = $(UTILS_CCS_BIN_PATH)sccs
SED = $(UTILS_COMMAND_PATH)sed
SH = $(UTILS_COMMAND_PATH)sh
SHOWREV = $(UTILS_USR_BIN_PATH)showrev

View File

@@ -1,5 +1,5 @@
#
# Copyright 2005-2007 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2005-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -113,32 +113,38 @@ _system_drive:=$(call CheckValue,_system_drive,C:)
# UNIXCOMMAND_PATH: path to where the most common Unix commands are.
# NOTE: Must end with / so that it could be empty, allowing PATH usage.
ifdef ALT_UNIXCOMMAND_PATH
xALT_UNIXCOMMAND_PATH :="$(subst \,/,$(ALT_UNIXCOMMAND_PATH))"
fxALT_UNIXCOMMAND_PATH :=$(call FullPath,$(xALT_UNIXCOMMAND_PATH))
UNIXCOMMAND_PATH :=$(call PrefixPath,$(fxALT_UNIXCOMMAND_PATH))
else
ifdef USING_CYGWIN
UNIXCOMMAND_PATH :=$(call PrefixPath,/usr/bin)
ifndef UNIXCOMMAND_PATH
ifdef ALT_UNIXCOMMAND_PATH
xALT_UNIXCOMMAND_PATH :="$(subst \,/,$(ALT_UNIXCOMMAND_PATH))"
fxALT_UNIXCOMMAND_PATH :=$(call FullPath,$(xALT_UNIXCOMMAND_PATH))
UNIXCOMMAND_PATH :=$(call PrefixPath,$(fxALT_UNIXCOMMAND_PATH))
else
ifdef ROOTDIR
xROOTDIR :="$(subst \,/,$(ROOTDIR))"
_rootdir :=$(call FullPath,$(xROOTDIR))
ifdef USING_CYGWIN
UNIXCOMMAND_PATH :=$(call PrefixPath,/usr/bin)
else
xROOTDIR :="$(_system_drive)/mksnt"
_rootdir :=$(call FullPath,$(xROOTDIR))
endif
ifneq ($(_rootdir),)
UNIXCOMMAND_PATH :=$(call PrefixPath,$(_rootdir)/mksnt)
ifdef ROOTDIR
xROOTDIR :="$(subst \,/,$(ROOTDIR))"
_rootdir :=$(call FullPath,$(xROOTDIR))
else
xROOTDIR :="$(_system_drive)/mksnt"
_rootdir :=$(call FullPath,$(xROOTDIR))
endif
ifneq ($(_rootdir),)
UNIXCOMMAND_PATH :=$(call PrefixPath,$(_rootdir)/mksnt)
endif
endif
endif
UNIXCOMMAND_PATH:=$(call AltCheckSpaces,UNIXCOMMAND_PATH)
export UNIXCOMMAND_PATH
endif
UNIXCOMMAND_PATH:=$(call AltCheckSpaces,UNIXCOMMAND_PATH)
# Get version of MKS or CYGWIN
ifdef USING_CYGWIN
_CYGWIN_VER :=$(shell $(UNAME))
CYGWIN_VER :=$(call GetVersion,$(_CYGWIN_VER))
ifndef CYGWIN_VER
_CYGWIN_VER :=$(shell $(UNAME))
CYGWIN_VER :=$(call GetVersion,$(_CYGWIN_VER))
export CYGWIN_VER
endif
else # MKS
_MKS_VER :=$(shell $(MKSINFO) 2>&1 | $(GREP) Release | $(TAIL) -1 | $(SED) -e 's@.*\(Release.*\)@\1@')
MKS_VER :=$(call GetVersion,$(_MKS_VER))
@@ -168,235 +174,234 @@ endif # MKS
# Process Windows values into FullPath values, these paths may have \ chars
# System root
ifdef SYSTEMROOT
xSYSTEMROOT :="$(subst \,/,$(SYSTEMROOT))"
_system_root :=$(call FullPath,$(xSYSTEMROOT))
else
ifdef SystemRoot
xSYSTEMROOT :="$(subst \,/,$(SystemRoot))"
_system_root :=$(call FullPath,$(xSYSTEMROOT))
# Program Files directory
ifndef SHORTPROGRAMFILES
ifdef PROGRAMFILES
xPROGRAMFILES :="$(subst \,/,$(PROGRAMFILES))"
else
ifdef WINDIR
xWINDIR :="$(subst \,/,$(WINDIR))"
_system_root :=$(call FullPath,$(xWINDIR))
ifeq ($(ARCH_DATA_MODEL), 32)
xPROGRAMFILES :="$(_system_drive)/Program Files"
else
ifdef windir
xWINDIR :="$(subst \,/,$(windir))"
_system_root :=$(call FullPath,$(xWINDIR))
endif
xPROGRAMFILES :="$(_system_drive)/Program Files (x86)"
endif
endif
endif
_system_root:=$(call CheckValue,_system_root,$(_system_drive)/WINNT)
# Program Files directory
ifdef PROGRAMFILES
xPROGRAMFILES :="$(subst \,/,$(PROGRAMFILES))"
else
ifeq ($(ARCH_DATA_MODEL), 32)
xPROGRAMFILES :="$(_system_drive)/Program Files"
SHORTPROGRAMFILES :=$(call FullPath,$(xPROGRAMFILES))
else
xPROGRAMFILES :="$(_system_drive)/Program Files (x86)"
ifdef PROGRAMW6432
xPROGRAMW6432 :="$(subst \,/,$(PROGRAMW6432))"
else
xPROGRAMW6432 :="$(_system_drive)/Program Files"
endif
SHORTPROGRAMFILES :=$(call FullPath,$(xPROGRAMW6432))
endif
endif
ifeq ($(ARCH_DATA_MODEL), 32)
_program_files :=$(call FullPath,$(xPROGRAMFILES))
else
ifdef PROGRAMW6432
xPROGRAMW6432 :="$(subst \,/,$(PROGRAMW6432))"
else
xPROGRAMW6432 :="$(_system_drive)/Program Files"
ifneq ($(word 1,$(SHORTPROGRAMFILES)),$(SHORTPROGRAMFILES))
SHORTPROGRAMFILES :=
endif
_program_files :=$(call FullPath,$(xPROGRAMW6432))
_program_files32 :=$(call FullPath,$(xPROGRAMFILES))
ifneq ($(word 1,$(_program_files32)),$(_program_files32))
_program_files32:=
endif
endif
ifneq ($(word 1,$(_program_files)),$(_program_files))
_program_files:=
export SHORTPROGRAMFILES
endif
# Compilers, SDK, and Visual Studio (MSDEV) [32bit is different from 64bit]
ifeq ($(ARCH_DATA_MODEL), 32)
# Try looking in MSVCDIR or MSVCDir area first (set by vcvars32.bat)
ifdef MSVCDIR
xMSVCDIR :="$(subst \,/,$(MSVCDIR))"
_msvc_dir :=$(call FullPath,$(xMSVCDIR))
else
ifdef MSVCDir
xMSVCDIR :="$(subst \,/,$(MSVCDir))"
_msvc_dir :=$(call FullPath,$(xMSVCDIR))
ifndef SHORTMSVCDIR
# Try looking in MSVCDIR or MSVCDir area first (set by vcvars32.bat)
ifdef MSVCDIR
xMSVCDIR :="$(subst \,/,$(MSVCDIR))"
SHORTMSVCDIR :=$(call FullPath,$(xMSVCDIR))
else
ifneq ($(_program_files),)
xMSVCDIR :="$(_program_files)/Microsoft Visual Studio .NET 2003/Vc7"
_msvc_dir :=$(call FullPath,$(xMSVCDIR))
ifdef MSVCDir
xMSVCDIR :="$(subst \,/,$(MSVCDir))"
SHORTMSVCDIR :=$(call FullPath,$(xMSVCDIR))
else
ifneq ($(SHORTPROGRAMFILES),)
xMSVCDIR :="$(SHORTPROGRAMFILES)/Microsoft Visual Studio .NET 2003/Vc7"
SHORTMSVCDIR :=$(call FullPath,$(xMSVCDIR))
endif
endif
endif
endif
ifneq ($(subst MSDev98,OLDOLDOLD,$(_msvc_dir)),$(_msvc_dir))
_msvc_dir :=
endif
# If we still don't have it, look for VS71COMNTOOLS, setup by installer?
ifeq ($(_msvc_dir),)
ifdef VS71COMNTOOLS # /Common/Tools directory, use ../../Vc7
xVS71COMNTOOLS :="$(subst \,/,$(VS71COMNTOOLS))"
_vs71tools :=$(call FullPath,$(xVS71COMNTOOLS))
ifneq ($(subst MSDev98,OLDOLDOLD,$(SHORTMSVCDIR)),$(SHORTMSVCDIR))
SHORTMSVCDIR :=
endif
ifneq ($(_vs71tools),)
_msvc_dir :=$(_vs71tools)/../../Vc7
# If we still don't have it, look for VS71COMNTOOLS, setup by installer?
ifeq ($(SHORTMSVCDIR),)
ifdef VS71COMNTOOLS # /Common/Tools directory, use ../../Vc7
xVS71COMNTOOLS :="$(subst \,/,$(VS71COMNTOOLS))"
_vs71tools :=$(call FullPath,$(xVS71COMNTOOLS))
endif
ifneq ($(_vs71tools),)
SHORTMSVCDIR :=$(_vs71tools)/../../Vc7
endif
endif
export SHORTMSVCDIR
endif
ifneq ($(_msvc_dir),)
_compiler_bin :=$(_msvc_dir)/Bin
_redist_sdk :=$(_msvc_dir)/../SDK/v1.1/Bin
_ms_sdk :=$(_msvc_dir)/PlatformSDK
ifneq ($(SHORTMSVCDIR),)
SHORTCOMPILERBIN :=$(SHORTMSVCDIR)/Bin
SHORTPSDK :=$(SHORTMSVCDIR)/PlatformSDK
export SHORTCOMPILERBIN
export SHORTPSDK
endif
endif
# The Microsoft Platform SDK installed by itself
ifneq ($(_program_files),)
xPSDK :="$(_program_files)/Microsoft Platform SDK"
_psdk :=$(call FullPath,$(xPSDK))
ifeq ($(_psdk),)
xPSDK :="$(_program_files)/Microsoft SDK"
_psdk :=$(call FullPath,$(xMSSDK))
ifneq ($(SHORTPROGRAMFILES),)
ifndef SHORTPSDK
xPSDK :="$(SHORTPROGRAMFILES)/Microsoft Platform SDK"
SHORTPSDK :=$(call FullPath,$(xPSDK))
ifeq ($(SHORTPSDK),)
xPSDK :="$(SHORTPROGRAMFILES)/Microsoft SDK"
SHORTPSDK :=$(call FullPath,$(xMSSDK))
endif
export SHORTPSDK
endif
endif
# If no SDK found yet, look in other places
ifeq ($(_ms_sdk),)
ifndef SHORTPSDK
ifdef MSSDK
xMSSDK :="$(subst \,/,$(MSSDK))"
_ms_sdk :=$(call FullPath,$(xMSSDK))
xMSSDK :="$(subst \,/,$(MSSDK))"
SHORTPSDK :=$(call FullPath,$(xMSSDK))
else
ifdef MSSdk
xMSSDK :="$(subst \,/,$(MSSdk))"
_ms_sdk :=$(call FullPath,$(xMSSDK))
else
_ms_sdk :=$(_psdk)
xMSSDK :="$(subst \,/,$(MSSdk))"
SHORTPSDK :=$(call FullPath,$(xMSSDK))
endif
endif
export SHORTPSDK
endif
# Compilers for 64bit are from SDK
ifeq ($(ARCH_DATA_MODEL), 64)
xMSSDK61 :="C:/Program Files/Microsoft SDKs/Windows/v6.1/"
MSSDK61 :=$(call FullPath,$(xMSSDK61))
xVS2008 :="C:/Program Files (x86)/Microsoft Visual Studio 9.0/"
_vs2008 :=$(call FullPath,$(xVS2008))
ifneq ($(_vs2008),)
ifeq ($(ARCH), ia64)
_compiler_bin :=$(_vs2008)/VC/Bin/x86_ia64
endif
ifeq ($(ARCH), amd64)
_compiler_bin :=$(_vs2008)/VC/Bin/$(ARCH)
_redist_sdk :=$(MSSDK61)/VC/redist
endif
else
ifneq ($(_ms_sdk),)
ifndef SHORTCOMPILERBIN
xMSSDK61 :="C:/Program Files/Microsoft SDKs/Windows/v6.1/"
MSSDK61 :=$(call FullPath,$(xMSSDK61))
xVS2008 :="C:/Program Files (x86)/Microsoft Visual Studio 9.0/"
_vs2008 :=$(call FullPath,$(xVS2008))
ifneq ($(_vs2008),)
ifeq ($(ARCH), ia64)
_compiler_bin :=$(_ms_sdk)/Bin/Win64
SHORTCOMPILERBIN :=$(_vs2008)/VC/Bin/x86_ia64
endif
ifeq ($(ARCH), amd64)
_compiler_bin :=$(_ms_sdk)/Bin/Win64/x86/$(ARCH)
_redist_sdk :=$(_ms_sdk)/redist/win64/AMD64
SHORTCOMPILERBIN :=$(_vs2008)/VC/Bin/$(ARCH)
endif
else
ifneq ($(SHORTPSDK),)
ifeq ($(ARCH), ia64)
SHORTCOMPILERBIN :=$(SHORTPSDK)/Bin/Win64
endif
ifeq ($(ARCH), amd64)
SHORTCOMPILERBIN :=$(SHORTPSDK)/Bin/Win64/x86/$(ARCH)
endif
endif
endif
export SHORTCOMPILERBIN
endif
endif
# Location on system where jdk installs might be
ifneq ($(_program_files),)
USRJDKINSTANCES_PATH =$(_program_files)/Java
ifneq ($(SHORTPROGRAMFILES),)
USRJDKINSTANCES_PATH =$(SHORTPROGRAMFILES)/Java
else
USRJDKINSTANCES_PATH =$(_system_drive)/
endif
# SLASH_JAVA: location of all network accessable files
ifdef ALT_SLASH_JAVA
xALT_SLASH_JAVA :="$(subst \,/,$(ALT_SLASH_JAVA))"
SLASH_JAVA :=$(call FullPath,$(xALT_SLASH_JAVA))
else
ifdef ALT_JDK_JAVA_DRIVE
SLASH_JAVA =$(JDK_JAVA_DRIVE)
ifndef SLASH_JAVA
ifdef ALT_SLASH_JAVA
xALT_SLASH_JAVA :="$(subst \,/,$(ALT_SLASH_JAVA))"
SLASH_JAVA :=$(call FullPath,$(xALT_SLASH_JAVA))
else
SLASH_JAVA =J:
ifdef ALT_JDK_JAVA_DRIVE
SLASH_JAVA =$(JDK_JAVA_DRIVE)
else
SLASH_JAVA =J:
endif
endif
SLASH_JAVA:=$(call AltCheckSpaces,SLASH_JAVA)
SLASH_JAVA:=$(call AltCheckValue,SLASH_JAVA)
export SLASH_JAVA
endif
SLASH_JAVA:=$(call AltCheckSpaces,SLASH_JAVA)
SLASH_JAVA:=$(call AltCheckValue,SLASH_JAVA)
# JDK_DEVTOOLS_DIR: common path for all the java devtools
ifdef ALT_JDK_DEVTOOLS_DIR
xALT_JDK_DEVTOOLS_DIR :="$(subst \,/,$(ALT_JDK_DEVTOOLS_DIR))"
JDK_DEVTOOLS_DIR :=$(call FullPath,$(xALT_JDK_DEVTOOLS_DIR))
else
JDK_DEVTOOLS_DIR =$(SLASH_JAVA)/devtools
ifndef JDK_DEVTOOLS_DIR
ifdef ALT_JDK_DEVTOOLS_DIR
xALT_JDK_DEVTOOLS_DIR :="$(subst \,/,$(ALT_JDK_DEVTOOLS_DIR))"
JDK_DEVTOOLS_DIR :=$(call FullPath,$(xALT_JDK_DEVTOOLS_DIR))
else
JDK_DEVTOOLS_DIR =$(SLASH_JAVA)/devtools
endif
JDK_DEVTOOLS_DIR:=$(call AltCheckSpaces,JDK_DEVTOOLS_DIR)
JDK_DEVTOOLS_DIR:=$(call AltCheckValue,JDK_DEVTOOLS_DIR)
export JDK_DEVTOOLS_DIR
endif
JDK_DEVTOOLS_DIR:=$(call AltCheckSpaces,JDK_DEVTOOLS_DIR)
JDK_DEVTOOLS_DIR:=$(call AltCheckValue,JDK_DEVTOOLS_DIR)
# COMPILER_PATH: path to where the compiler and tools are installed.
# NOTE: Must end with / so that it could be empty, allowing PATH usage.
ifdef ALT_COMPILER_PATH
xALT_COMPILER_PATH :="$(subst \,/,$(ALT_COMPILER_PATH))"
fxALT_COMPILER_PATH :=$(call FullPath,$(xALT_COMPILER_PATH))
COMPILER_PATH :=$(call PrefixPath,$(fxALT_COMPILER_PATH))
else
COMPILER_PATH :=$(call PrefixPath,$(_compiler_bin))
ifndef COMPILER_PATH
ifdef ALT_COMPILER_PATH
xALT_COMPILER_PATH :="$(subst \,/,$(ALT_COMPILER_PATH))"
fxALT_COMPILER_PATH :=$(call FullPath,$(xALT_COMPILER_PATH))
COMPILER_PATH :=$(call PrefixPath,$(fxALT_COMPILER_PATH))
else
COMPILER_PATH :=$(call PrefixPath,$(SHORTCOMPILERBIN))
endif
COMPILER_PATH :=$(call AltCheckSpaces,COMPILER_PATH)
export COMPILER_PATH
endif
COMPILER_PATH :=$(call AltCheckSpaces,COMPILER_PATH)
# MSDEVTOOLS_PATH: path to where the additional MS Compiler tools are.
# NOTE: Must end with / so that it could be empty, allowing PATH usage.
ifdef ALT_MSDEVTOOLS_PATH
xALT_MSDEVTOOLS_PATH :="$(subst \,/,$(ALT_MSDEVTOOLS_PATH))"
fxALT_MSDEVTOOLS_PATH :=$(call FullPath,$(xALT_MSDEVTOOLS_PATH))
MSDEVTOOLS_PATH :=$(call PrefixPath,$(fxALT_MSDEVTOOLS_PATH))
else
ifeq ($(ARCH_DATA_MODEL), 64)
ifdef MSTOOLS
xMSTOOLS :="$(subst \,/,$(MSTOOLS))"
_ms_tools :=$(call FullPath,$(xMSTOOLS))
else
ifdef Mstools
xMSTOOLS :="$(subst \,/,$(Mstools))"
ifndef MSDEVTOOLS_PATH
ifdef ALT_MSDEVTOOLS_PATH
xALT_MSDEVTOOLS_PATH :="$(subst \,/,$(ALT_MSDEVTOOLS_PATH))"
fxALT_MSDEVTOOLS_PATH :=$(call FullPath,$(xALT_MSDEVTOOLS_PATH))
MSDEVTOOLS_PATH :=$(call PrefixPath,$(fxALT_MSDEVTOOLS_PATH))
else
ifeq ($(ARCH_DATA_MODEL), 64)
ifdef MSTOOLS
xMSTOOLS :="$(subst \,/,$(MSTOOLS))"
_ms_tools :=$(call FullPath,$(xMSTOOLS))
else
_ms_tools :=
ifdef Mstools
xMSTOOLS :="$(subst \,/,$(Mstools))"
_ms_tools :=$(call FullPath,$(xMSTOOLS))
else
_ms_tools :=
endif
endif
ifneq ($(_ms_tools),)
_ms_tools_bin :=$(_ms_tools)/Bin
else
# Assumes compiler bin is .../Bin/win64/x86/AMD64, rc.exe is 3 levels up
_ms_tools_bin :=$(SHORTCOMPILERBIN)/../../..
endif
endif
ifneq ($(_ms_tools),)
_ms_tools_bin :=$(_ms_tools)/Bin
else
# Assumes compiler bin is .../Bin/win64/x86/AMD64, rc.exe is 3 levels up
_ms_tools_bin :=$(_compiler_bin)/../../..
_ms_tools_bin :=$(SHORTCOMPILERBIN)
endif
else
_ms_tools_bin :=$(_compiler_bin)
MSDEVTOOLS_PATH :=$(call PrefixPath,$(_ms_tools_bin))
endif
MSDEVTOOLS_PATH :=$(call PrefixPath,$(_ms_tools_bin))
MSDEVTOOLS_PATH:=$(call AltCheckSpaces,MSDEVTOOLS_PATH)
export MSDEVTOOLS_PATH
endif
MSDEVTOOLS_PATH:=$(call AltCheckSpaces,MSDEVTOOLS_PATH)
# DEVTOOLS_PATH: for other tools required for building (such as zip, etc.)
# NOTE: Must end with / so that it could be empty, allowing PATH usage.
ifdef ALT_DEVTOOLS_PATH
xALT_DEVTOOLS_PATH :="$(subst \,/,$(ALT_DEVTOOLS_PATH))"
fxALT_DEVTOOLS_PATH :=$(call FullPath,$(xALT_DEVTOOLS_PATH))
DEVTOOLS_PATH :=$(call PrefixPath,$(fxALT_DEVTOOLS_PATH))
else
ifdef USING_CYGWIN
DEVTOOLS_PATH :=$(UNIXCOMMAND_PATH)
ifndef DEVTOOLS_PATH
ifdef ALT_DEVTOOLS_PATH
xALT_DEVTOOLS_PATH :="$(subst \,/,$(ALT_DEVTOOLS_PATH))"
fxALT_DEVTOOLS_PATH :=$(call FullPath,$(xALT_DEVTOOLS_PATH))
DEVTOOLS_PATH :=$(call PrefixPath,$(fxALT_DEVTOOLS_PATH))
else
xDEVTOOLS_PATH :="$(_system_drive)/utils"
fxDEVTOOLS_PATH :=$(call FullPath,$(xDEVTOOLS_PATH))
DEVTOOLS_PATH :=$(call PrefixPath,$(fxDEVTOOLS_PATH))
ifdef USING_CYGWIN
DEVTOOLS_PATH :=$(UNIXCOMMAND_PATH)
else
xDEVTOOLS_PATH :="$(_system_drive)/utils"
fxDEVTOOLS_PATH :=$(call FullPath,$(xDEVTOOLS_PATH))
DEVTOOLS_PATH :=$(call PrefixPath,$(fxDEVTOOLS_PATH))
endif
endif
DEVTOOLS_PATH:=$(call AltCheckSpaces,DEVTOOLS_PATH)
export DEVTOOLS_PATH
endif
DEVTOOLS_PATH:=$(call AltCheckSpaces,DEVTOOLS_PATH)
# _BOOTDIR1: First choice for a Bootstrap JDK, previous released JDK.
# _BOOTDIR2: Second choice
@@ -410,20 +415,26 @@ endif
# BUILD_JDK_IMPORT_PATH: location of JDK install trees to import for
# multiple platforms, e.g. windows-i586, solaris-sparc, linux-586, etc.
ifdef ALT_BUILD_JDK_IMPORT_PATH
BUILD_JDK_IMPORT_PATH :=$(call FullPath,$(ALT_BUILD_JDK_IMPORT_PATH))
else
BUILD_JDK_IMPORT_PATH = $(PROMOTED_BUILD_BINARIES)
ifndef BUILD_JDK_IMPORT_PATH
ifdef ALT_BUILD_JDK_IMPORT_PATH
BUILD_JDK_IMPORT_PATH :=$(call FullPath,$(ALT_BUILD_JDK_IMPORT_PATH))
else
BUILD_JDK_IMPORT_PATH = $(PROMOTED_BUILD_BINARIES)
endif
BUILD_JDK_IMPORT_PATH:=$(call AltCheckSpaces,BUILD_JDK_IMPORT_PATH)
BUILD_JDK_IMPORT_PATH:=$(call AltCheckValue,BUILD_JDK_IMPORT_PATH)
export BUILD_JDK_IMPORT_PATH
endif
BUILD_JDK_IMPORT_PATH:=$(call AltCheckSpaces,BUILD_JDK_IMPORT_PATH)
BUILD_JDK_IMPORT_PATH:=$(call AltCheckValue,BUILD_JDK_IMPORT_PATH)
# JDK_IMPORT_PATH: location of previously built JDK (this version) to import
ifdef ALT_JDK_IMPORT_PATH
JDK_IMPORT_PATH :=$(call FullPath,$(ALT_JDK_IMPORT_PATH))
else
JDK_IMPORT_PATH = $(BUILD_JDK_IMPORT_PATH)/$(PLATFORM)-$(ARCH)$(_JDK_IMPORT_VARIANT)
ifndef JDK_IMPORT_PATH
ifdef ALT_JDK_IMPORT_PATH
JDK_IMPORT_PATH :=$(call FullPath,$(ALT_JDK_IMPORT_PATH))
else
JDK_IMPORT_PATH = $(BUILD_JDK_IMPORT_PATH)/$(PLATFORM)-$(ARCH)$(_JDK_IMPORT_VARIANT)
endif
JDK_IMPORT_PATH:=$(call AltCheckSpaces,JDK_IMPORT_PATH)
JDK_IMPORT_PATH:=$(call AltCheckValue,JDK_IMPORT_PATH)
export JDK_IMPORT_PATH
endif
JDK_IMPORT_PATH:=$(call AltCheckSpaces,JDK_IMPORT_PATH)
JDK_IMPORT_PATH:=$(call AltCheckValue,JDK_IMPORT_PATH)

View File

@@ -228,12 +228,15 @@ else
endif
# FULL_VERSION is RELEASE and -BUILD_NUMBER if BUILD_NUMBER is set
ifdef BUILD_NUMBER
FULL_VERSION = $(RELEASE)-$(BUILD_NUMBER)
else
BUILD_NUMBER = b00
USER_RELEASE_SUFFIX := $(shell echo $(USER)_`date '+%d_%b_%Y_%H_%M' | tr "A-Z" "a-z"`)
FULL_VERSION = $(RELEASE)-$(USER_RELEASE_SUFFIX)-$(BUILD_NUMBER)
ifndef FULL_VERSION
ifdef BUILD_NUMBER
FULL_VERSION = $(RELEASE)-$(BUILD_NUMBER)
else
BUILD_NUMBER = b00
USER_RELEASE_SUFFIX := $(shell echo $(USER)_`date '+%d_%b_%Y_%H_%M' | tr "A-Z" "a-z"`)
FULL_VERSION = $(RELEASE)-$(USER_RELEASE_SUFFIX)-$(BUILD_NUMBER)
endif
export FULL_VERSION
endif
# Promoted build location

View File

@@ -1,5 +1,5 @@
#
# Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -84,21 +84,14 @@ PLATFORM_SHARED=done
# REQUIRED_LINUX_VER linux only: required version of linux
# REQUIRED_LINUX_FULLVER linux only: required full version of linux
SYSTEM_UNAME := $(shell uname)
ifndef SYSTEM_UNAME
SYSTEM_UNAME := $(shell uname)
export SYSTEM_UNAME
endif
# Normal boot jdk is previous release, but a hard requirement is a 1.5 boot
REQUIRED_BOOT_VER = 1.5
#
# Prune out all known SCM (Source Code Management) directories
# so they will not be included when copying directory trees
# or packaging up .jar files, etc. This applies to all workspaces.
#
SCM_DIRs = .hg .svn CVS RCS SCCS Codemgr_wsdata deleted_files
# When changing SCM_DIRs also change SCM_DIRS_rexp and SCM_DIRS_prune:
SCM_DIRS_rexp = ".hg|.svn|CVS|RCS|SCCS|Codemgr_wsdata|deleted_files"
SCM_DIRS_prune = \( -name .hg -o -name .svn -o -name CVS -o -name RCS -o -name SCCS -o -name Codemgr_wsdata -o -name deleted_files \) -prune
# Don't define this unless it's not defined
ifndef VARIANT
VARIANT=OPT
@@ -372,14 +365,17 @@ ifeq ($(PLATFORM), windows)
REQUIRED_FREE_SPACE=500000
OS_VENDOR = Microsoft
# How much RAM does this machine have:
MB_OF_MEMORY := $(shell \
if [ -f "C:/cygwin/bin/free.exe" ] ; then \
( C:/cygwin/bin/bash.exe -c "C:/cygwin/bin/free.exe -m" ) | \
grep Mem: | \
sed -e 's@\ \ *@ @g' | cut -d' ' -f2 ; \
else \
echo "512"; \
fi)
ifndef MB_OF_MEMORY
MB_OF_MEMORY := $(shell \
if [ -f "C:/cygwin/bin/free.exe" ] ; then \
( C:/cygwin/bin/bash.exe -c "C:/cygwin/bin/free.exe -m" ) | \
grep Mem: | \
sed -e 's@\ \ *@ @g' | cut -d' ' -f2 ; \
else \
echo "512"; \
fi)
export MB_OF_MEMORY
endif
endif
# Machines with 512Mb or less of real memory are considered low memory
@@ -387,30 +383,36 @@ endif
# system swapping during the build.
# If we don't know, assume 512. Subtract 128 from MB for VM MAX.
# Don't set VM max over 1024-128=896.
ifneq ($(MB_OF_MEMORY),)
LOW_MEMORY_MACHINE := $(shell \
if [ $(MB_OF_MEMORY) -le 512 ] ; then \
echo "true"; \
else \
echo "false"; \
fi)
MAX_VM_MEMORY := $(shell \
if [ $(MB_OF_MEMORY) -le 1024 ] ; then \
expr $(MB_OF_MEMORY) '-' 128 ; \
else \
echo "896"; \
fi)
MIN_VM_MEMORY := $(shell \
if [ $(MAX_VM_MEMORY) -le 128 ] ; then \
expr $(MAX_VM_MEMORY) '-' 8 ; \
else \
echo "128"; \
fi)
else
MB_OF_MEMORY := unknown
LOW_MEMORY_MACHINE := true
MAX_VM_MEMORY := 384
MIN_VM_MEMORY := 128
ifndef MAX_VM_MEMORY
ifneq ($(MB_OF_MEMORY),)
LOW_MEMORY_MACHINE := $(shell \
if [ $(MB_OF_MEMORY) -le 512 ] ; then \
echo "true"; \
else \
echo "false"; \
fi)
MAX_VM_MEMORY := $(shell \
if [ $(MB_OF_MEMORY) -le 1024 ] ; then \
expr $(MB_OF_MEMORY) '-' 128 ; \
else \
echo "896"; \
fi)
MIN_VM_MEMORY := $(shell \
if [ $(MAX_VM_MEMORY) -le 128 ] ; then \
expr $(MAX_VM_MEMORY) '-' 8 ; \
else \
echo "128"; \
fi)
else
MB_OF_MEMORY := unknown
LOW_MEMORY_MACHINE := true
MAX_VM_MEMORY := 384
MIN_VM_MEMORY := 128
endif
export MAX_VM_MEMORY
export MIN_VM_MEMORY
export LOW_MEMORY_MACHINE
export MAX_VM_MEMORY
endif
REQUIRED_ZIP_VER = 2.2

View File

@@ -1,5 +1,5 @@
#
# Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2006-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -34,8 +34,8 @@ solaris_i586_5.10,\
solaris_x64_5.10,\
linux_i586_2.6,\
linux_x64_2.6,\
windows_i586,\
windows_x64
windows_i586_5.0,\
windows_x64_5.2
# The different build flavors we want
jprt.build.flavors=product,fastdebug

View File

@@ -1,5 +1,5 @@
#
# Copyright 1999-2005 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
#
# Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2008-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2007 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2007 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 1998-2007 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2001-2007 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2001-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,6 +1,6 @@
;
; Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
; Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
; DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
;
; This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 1999-2007 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 1999 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 1999 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 1999 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 1999 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
#
# Copyright 1999-2004 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
#
# Copyright 1999-2005 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
#
# Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2005-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
#
# Copyright 1999-2004 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
#
# Copyright 2001-2005 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2001-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
#
# Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2005-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2008-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2008-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2008-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2008-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 1995-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 1995-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
//
// Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
// Copyright 2004-2009 Sun Microsystems, Inc. All Rights Reserved.
// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
//
// This code is free software; you can redistribute it and/or modify it

View File

@@ -40,3 +40,11 @@ a88386380bdaaa5ab4ffbedf22c57bac5dbec034 jdk7-b62
32c83fb84370a35344676991a48440378e6b6c8a jdk7-b63
ba36394eb84b949b31212bdb32a518a8f92bab5b jdk7-b64
ba313800759b678979434d6da8ed3bf49eb8bea4 jdk7-b65
57c71ad0341b8b64ed20f81151eb7f06324f8894 jdk7-b66
18f526145aea355a9320b724373386fc2170f183 jdk7-b67
d07e68298d4e17ebf93d8299e43fcc3ded26472a jdk7-b68
54fd4d9232969ea6cd3d236e5ad276183bb0d423 jdk7-b69
0632c3e615a315ff11e2ab1d64f4d82ff9853461 jdk7-b70
50a95aa4a247f0cbbf66df285a8b1d78ffb153d9 jdk7-b71
a94714c550658fd6741793ef036cb9625dc2ab1a jdk7-b72
faf94d94786b621f8e13cbcc941ca69c6d967c3f jdk7-b73

View File

@@ -32,7 +32,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
--- end of LICENSE file ---
%% This notice is provided with respect to ASM, which may be included with this software:
Copyright (c) 2000-2005 INRIA, France Telecom
Copyright (c) 2000-2007 INRIA, France Telecom
All rights reserved.
Redistribution and use in source and binary forms, with or without

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -48,6 +48,8 @@ if [ "$OS" = "Linux" ]; then
CPU=i386
fi
else
LD_AUDIT_32=$STARTDIR/../src/os/solaris/proc/`uname -p`/libsaproc_audit.so
export LD_AUDIT_32
SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/`uname -p`:$STARTDIR/solaris/`uname -p`
OPTIONS="-Dsa.library.path=$SA_LIBPATH -Dsun.jvm.hotspot.debugger.useProcDebugger"
CPU=sparc

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -43,6 +43,8 @@ else
fi
fi
LD_AUDIT_64=$STARTDIR/../src/os/solaris/proc/$CPU/libsaproc_audit.so
export LD_AUDIT_64
SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/$CPU:$STARTDIR/solaris/$CPU
OPTIONS="-Dsa.library.path=$SA_LIBPATH -Dsun.jvm.hotspot.debugger.useProcDebugger"

View File

@@ -1,5 +1,5 @@
#
# Copyright 2002-2006 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
#
# Copyright 2002-2006 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -56,24 +56,28 @@ i386:: javahomecheck
@javah -classpath $(CLASSES_DIR) -jni sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal
CC -G -KPIC -I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris saproc.cpp \
-M mapfile -o $@/libsaproc.so -ldemangle
CC -o $@/libsaproc_audit.so -G -Kpic -z defs saproc_audit.cpp -lmapmalloc -ldl -lc
amd64:: javahomecheck
$(MKDIRS) $@
@javah -classpath $(CLASSES_DIR) -jni sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal
CC -G -KPIC -xarch=amd64 -I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris saproc.cpp \
-M mapfile -o $@/libsaproc.so -ldemangle
CC -xarch=amd64 -o $@/libsaproc_audit.so -G -Kpic -z defs saproc_audit.cpp -lmapmalloc -ldl -lc
sparc:: javahomecheck
$(MKDIRS) $@
@javah -classpath $(CLASSES_DIR) -jni sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal
CC -G -KPIC -xarch=v8 -I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris saproc.cpp \
-M mapfile -o $@/libsaproc.so -ldemangle
CC -xarch=v8 -o $@/libsaproc_audit.so -G -Kpic -z defs saproc_audit.cpp -lmapmalloc -ldl -lc
sparcv9:: javahomecheck
$(MKDIRS) $@
@javah -classpath $(CLASSES_DIR) -jni sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal
CC -G -KPIC -xarch=v9 -I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris saproc.cpp \
-M mapfile -o $@/libsaproc.so -ldemangle
CC -xarch=v9 -o $@/libsaproc_audit.so -G -Kpic -z defs saproc_audit.cpp -lmapmalloc -ldl -lc
clean::
$(RM) -rf sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal.h

View File

@@ -1,7 +1,7 @@
#
#
# Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -45,6 +45,8 @@ SUNWprivate_1.1 {
Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_resume0;
Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_suspend0;
Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_writeBytesToProcess0;
# this is needed by saproc_audit.c to redirect opens in libproc.so
libsaproc_open;
local:
*;
};

View File

@@ -214,49 +214,58 @@ static void init_alt_root() {
}
}
static int find_file_hook(const char * name, int elf_checksum) {
init_alt_root();
// This function is a complete substitute for the open system call
// since it's also used to override open calls from libproc to
// implement as a pathmap style facility for the SA. If libproc
// starts using other interfaces then this might have to extended to
// cover other calls.
extern "C" int libsaproc_open(const char * name, int oflag, ...) {
if (oflag == O_RDONLY) {
init_alt_root();
if (_libsaproc_debug) {
printf("libsaproc DEBUG: find_file_hook %s 0x%x\n", name, elf_checksum);
}
if (alt_root_len > 0) {
int fd = -1;
char alt_path[PATH_MAX+1];
strcpy(alt_path, alt_root);
strcat(alt_path, name);
fd = open(alt_path, O_RDONLY);
if (fd >= 0) {
if (_libsaproc_debug) {
printf("libsaproc DEBUG: find_file_hook substituted %s\n", alt_path);
}
return fd;
if (_libsaproc_debug) {
printf("libsaproc DEBUG: libsaproc_open %s\n", name);
}
if (strrchr(name, '/')) {
if (alt_root_len > 0) {
int fd = -1;
char alt_path[PATH_MAX+1];
strcpy(alt_path, alt_root);
strcat(alt_path, strrchr(name, '/'));
strcat(alt_path, name);
fd = open(alt_path, O_RDONLY);
if (fd >= 0) {
if (_libsaproc_debug) {
printf("libsaproc DEBUG: find_file_hook substituted %s\n", alt_path);
printf("libsaproc DEBUG: libsaproc_open substituted %s\n", alt_path);
}
return fd;
}
if (strrchr(name, '/')) {
strcpy(alt_path, alt_root);
strcat(alt_path, strrchr(name, '/'));
fd = open(alt_path, O_RDONLY);
if (fd >= 0) {
if (_libsaproc_debug) {
printf("libsaproc DEBUG: libsaproc_open substituted %s\n", alt_path);
}
return fd;
}
}
}
}
return -1;
{
mode_t mode;
va_list ap;
va_start(ap, oflag);
mode = va_arg(ap, mode_t);
va_end(ap);
return open(name, oflag, mode);
}
}
static int pathmap_open(const char* name) {
int fd = open(name, O_RDONLY);
if (fd < 0) {
fd = find_file_hook(name, 0);
}
return fd;
}
static void * pathmap_dlopen(const char * name, int mode) {
init_alt_root();
@@ -608,7 +617,7 @@ init_classsharing_workaround(void *cd, const prmap_t* pmap, const char* obj_name
print_debug("looking for %s\n", classes_jsa);
// open the classes[_g].jsa
int fd = pathmap_open(classes_jsa);
int fd = libsaproc_open(classes_jsa, O_RDONLY);
if (fd < 0) {
char errMsg[ERR_MSG_SIZE];
sprintf(errMsg, "can't open shared archive file %s", classes_jsa);
@@ -1209,8 +1218,6 @@ JNIEXPORT jstring JNICALL Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_d
return res;
}
typedef int (*find_file_hook_t)(const char *, int elf_checksum);
/*
* Class: sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal
* Method: initIDs
@@ -1230,16 +1237,6 @@ JNIEXPORT void JNICALL Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_init
if (libproc_handle == 0)
THROW_NEW_DEBUGGER_EXCEPTION("can't load libproc.so, if you are using Solaris 5.7 or below, copy libproc.so from 5.8!");
// If possible, set shared object find file hook.
void (*set_hook)(find_file_hook_t) = (void(*)(find_file_hook_t))dlsym(libproc_handle, "Pset_find_file_hook");
if (set_hook) {
// we found find file hook symbol, set up our hook function.
set_hook(find_file_hook);
} else if (getenv(SA_ALTROOT)) {
printf("libsaproc WARNING: %s set, but can't set file hook. " \
"Did you use right version of libproc.so?\n", SA_ALTROOT);
}
p_ps_prochandle_ID = env->GetFieldID(clazz, "p_ps_prochandle", "J");
CHECK_EXCEPTION;

View File

@@ -0,0 +1,98 @@
/*
* Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
* have any questions.
*
*/
#include <link.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <limits.h>
#include <varargs.h>
// This class sets up an interposer on open calls from libproc.so to
// support a pathmap facility in the SA.
static uintptr_t* libproc_cookie;
static uintptr_t* libc_cookie;
static uintptr_t* libsaproc_cookie;
uint_t
la_version(uint_t version)
{
return (LAV_CURRENT);
}
uint_t
la_objopen(Link_map * lmp, Lmid_t lmid, uintptr_t * cookie)
{
if (strstr(lmp->l_name, "/libproc.so") != NULL) {
libproc_cookie = cookie;
return LA_FLG_BINDFROM;
}
if (strstr(lmp->l_name, "/libc.so") != NULL) {
libc_cookie = cookie;
return LA_FLG_BINDTO;
}
if (strstr(lmp->l_name, "/libsaproc.so") != NULL) {
libsaproc_cookie = cookie;
return LA_FLG_BINDTO | LA_FLG_BINDFROM;
}
return 0;
}
#if defined(_LP64)
uintptr_t
la_symbind64(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcook,
uintptr_t *defcook, uint_t *sb_flags, const char *sym_name)
#else
uintptr_t
la_symbind32(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcook,
uintptr_t *defcook, uint_t *sb_flags)
#endif
{
#if !defined(_LP64)
const char *sym_name = (const char *)symp->st_name;
#endif
if (strcmp(sym_name, "open") == 0 && refcook == libproc_cookie) {
// redirect all open calls from libproc.so through libsaproc_open which will
// try the alternate library locations first.
void* handle = dlmopen(LM_ID_BASE, "libsaproc.so", RTLD_NOLOAD);
if (handle == NULL) {
fprintf(stderr, "libsaproc_audit.so: didn't find libsaproc.so during linking\n");
} else {
uintptr_t libsaproc_open = (uintptr_t)dlsym(handle, "libsaproc_open");
if (libsaproc_open == 0) {
fprintf(stderr, "libsaproc_audit.so: didn't find libsaproc_open during linking\n");
} else {
return libsaproc_open;
}
}
}
return symp->st_value;
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -33,6 +33,7 @@ import sun.jvm.hotspot.utilities.*;
public class CodeCache {
private static AddressField heapField;
private static AddressField scavengeRootNMethodsField;
private static VirtualConstructor virtualConstructor;
private CodeHeap heap;
@@ -49,6 +50,7 @@ public class CodeCache {
Type type = db.lookupType("CodeCache");
heapField = type.getAddressField("_heap");
scavengeRootNMethodsField = type.getAddressField("_scavenge_root_nmethods");
virtualConstructor = new VirtualConstructor(db);
// Add mappings for all possible CodeBlob subclasses
@@ -67,6 +69,10 @@ public class CodeCache {
heap = (CodeHeap) VMObjectFactory.newObject(CodeHeap.class, heapField.getValue());
}
public NMethod scavengeRootMethods() {
return (NMethod) VMObjectFactory.newObject(NMethod.class, scavengeRootNMethodsField.getValue());
}
public boolean contains(Address p) {
return getHeap().contains(p);
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2001-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -40,7 +40,10 @@ public class NMethod extends CodeBlob {
/** != InvocationEntryBci if this nmethod is an on-stack replacement method */
private static CIntegerField entryBCIField;
/** To support simple linked-list chaining of nmethods */
private static AddressField linkField;
private static AddressField osrLinkField;
private static AddressField scavengeRootLinkField;
private static CIntegerField scavengeRootStateField;
/** Offsets for different nmethod parts */
private static CIntegerField exceptionOffsetField;
private static CIntegerField deoptOffsetField;
@@ -87,7 +90,10 @@ public class NMethod extends CodeBlob {
zombieInstructionSizeField = type.getCIntegerField("_zombie_instruction_size");
methodField = type.getOopField("_method");
entryBCIField = type.getCIntegerField("_entry_bci");
linkField = type.getAddressField("_link");
osrLinkField = type.getAddressField("_osr_link");
scavengeRootLinkField = type.getAddressField("_scavenge_root_link");
scavengeRootStateField = type.getCIntegerField("_scavenge_root_state");
exceptionOffsetField = type.getCIntegerField("_exception_offset");
deoptOffsetField = type.getCIntegerField("_deoptimize_offset");
origPCOffsetField = type.getCIntegerField("_orig_pc_offset");
@@ -219,10 +225,19 @@ public class NMethod extends CodeBlob {
return getEntryBCI();
}
public NMethod getLink() {
return (NMethod) VMObjectFactory.newObject(NMethod.class, linkField.getValue(addr));
public NMethod getOSRLink() {
return (NMethod) VMObjectFactory.newObject(NMethod.class, osrLinkField.getValue(addr));
}
public NMethod getScavengeRootLink() {
return (NMethod) VMObjectFactory.newObject(NMethod.class, scavengeRootLinkField.getValue(addr));
}
public int getScavengeRootState() {
return (int) scavengeRootStateField.getValue(addr);
}
/** Tells whether frames described by this nmethod can be
deoptimized. Note: native wrappers cannot be deoptimized. */
public boolean canBeDeoptimized() { return isJavaMethod(); }
@@ -259,7 +274,7 @@ public class NMethod extends CodeBlob {
if (Assert.ASSERTS_ENABLED) {
Assert.that(pd != null, "scope must be present");
}
return new ScopeDesc(this, pd.getScopeDecodeOffset());
return new ScopeDesc(this, pd.getScopeDecodeOffset(), pd.getReexecute());
}
/** This is only for use by the debugging system, and is only
@@ -291,7 +306,7 @@ public class NMethod extends CodeBlob {
public ScopeDesc getScopeDescNearDbg(Address pc) {
PCDesc pd = getPCDescNearDbg(pc);
if (pd == null) return null;
return new ScopeDesc(this, pd.getScopeDecodeOffset());
return new ScopeDesc(this, pd.getScopeDecodeOffset(), pd.getReexecute());
}
public Map/*<Address, PcDesc>*/ getSafepoints() {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2004 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -36,6 +36,7 @@ import sun.jvm.hotspot.types.*;
public class PCDesc extends VMObject {
private static CIntegerField pcOffsetField;
private static CIntegerField scopeDecodeOffsetField;
private static CIntegerField pcFlagsField;
static {
VM.registerVMInitializedObserver(new Observer() {
@@ -50,6 +51,7 @@ public class PCDesc extends VMObject {
pcOffsetField = type.getCIntegerField("_pc_offset");
scopeDecodeOffsetField = type.getCIntegerField("_scope_decode_offset");
pcFlagsField = type.getCIntegerField("_flags");
}
public PCDesc(Address addr) {
@@ -70,6 +72,12 @@ public class PCDesc extends VMObject {
return code.instructionsBegin().addOffsetTo(getPCOffset());
}
public boolean getReexecute() {
int flags = (int)pcFlagsField.getValue(addr);
return ((flags & 0x1)== 1); //first is the reexecute bit
}
public void print(NMethod code) {
printOn(System.out, code);
}
@@ -82,6 +90,7 @@ public class PCDesc extends VMObject {
tty.print(" ");
sd.getMethod().printValueOn(tty);
tty.print(" @" + sd.getBCI());
tty.print(" reexecute=" + sd.getReexecute());
tty.println();
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -41,6 +41,7 @@ public class ScopeDesc {
private NMethod code;
private Method method;
private int bci;
private boolean reexecute;
/** Decoding offsets */
private int decodeOffset;
private int senderDecodeOffset;
@@ -51,10 +52,11 @@ public class ScopeDesc {
private List objects; // ArrayList<ScopeValue>
public ScopeDesc(NMethod code, int decodeOffset) {
public ScopeDesc(NMethod code, int decodeOffset, boolean reexecute) {
this.code = code;
this.decodeOffset = decodeOffset;
this.objects = decodeObjectValues(DebugInformationRecorder.SERIALIZED_NULL);
this.reexecute = reexecute;
// Decode header
DebugInfoReadStream stream = streamAt(decodeOffset);
@@ -68,10 +70,11 @@ public class ScopeDesc {
monitorsDecodeOffset = stream.readInt();
}
public ScopeDesc(NMethod code, int decodeOffset, int objectDecodeOffset) {
public ScopeDesc(NMethod code, int decodeOffset, int objectDecodeOffset, boolean reexecute) {
this.code = code;
this.decodeOffset = decodeOffset;
this.objects = decodeObjectValues(objectDecodeOffset);
this.reexecute = reexecute;
// Decode header
DebugInfoReadStream stream = streamAt(decodeOffset);
@@ -85,9 +88,10 @@ public class ScopeDesc {
monitorsDecodeOffset = stream.readInt();
}
public NMethod getNMethod() { return code; }
public Method getMethod() { return method; }
public int getBCI() { return bci; }
public NMethod getNMethod() { return code; }
public Method getMethod() { return method; }
public int getBCI() { return bci; }
public boolean getReexecute() { return reexecute;}
/** Returns a List&lt;ScopeValue&gt; */
public List getLocals() {
@@ -115,7 +119,7 @@ public class ScopeDesc {
return null;
}
return new ScopeDesc(code, senderDecodeOffset);
return new ScopeDesc(code, senderDecodeOffset, false);
}
/** Returns where the scope was decoded */
@@ -149,7 +153,8 @@ public class ScopeDesc {
public void printValueOn(PrintStream tty) {
tty.print("ScopeDesc for ");
method.printValueOn(tty);
tty.println(" @bci " + bci);
tty.print(" @bci " + bci);
tty.println(" reexecute=" + reexecute);
}
// FIXME: add more accessors
@@ -157,7 +162,6 @@ public class ScopeDesc {
//--------------------------------------------------------------------------------
// Internals only below this point
//
private DebugInfoReadStream streamAt(int decodeOffset) {
return new DebugInfoReadStream(code, decodeOffset, objects);
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2001 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2001-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2001-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2007 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -176,19 +176,6 @@ public class CompactibleFreeListSpace extends CompactibleSpace {
for (; cur.lessThan(limit);) {
Address klassOop = cur.getAddressAt(addressSize);
// FIXME: need to do a better job here.
// can I use bitMap here?
if (klassOop == null) {
//Find the object size using Printezis bits and skip over
System.err.println("Finding object size using Printezis bits and skipping over...");
long size = collector().blockSizeUsingPrintezisBits(cur);
if (size == -1) {
System.err.println("Printezis bits not set...");
break;
}
cur = cur.addOffsetTo(adjustObjectSizeInBytes(size));
}
if (FreeChunk.indicatesFreeChunk(cur)) {
if (! cur.equals(regionStart)) {
res.add(new MemRegion(regionStart, cur));
@@ -200,12 +187,21 @@ public class CompactibleFreeListSpace extends CompactibleSpace {
}
// note that fc.size() gives chunk size in heap words
cur = cur.addOffsetTo(chunkSize * addressSize);
System.err.println("Free chunk in CMS heap, size="+chunkSize * addressSize);
regionStart = cur;
} else if (klassOop != null) {
Oop obj = heap.newOop(cur.addOffsetToAsOopHandle(0));
long objectSize = obj.getObjectSize();
cur = cur.addOffsetTo(adjustObjectSizeInBytes(objectSize));
} else {
// FIXME: need to do a better job here.
// can I use bitMap here?
//Find the object size using Printezis bits and skip over
long size = collector().blockSizeUsingPrintezisBits(cur);
if (size == -1) {
System.err.println("Printezis bits not set...");
break;
}
cur = cur.addOffsetTo(adjustObjectSizeInBytes(size));
}
}
return res;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2003-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -63,7 +63,7 @@ public class FreeChunk extends VMObject {
public long size() {
if (VM.getVM().isCompressedOopsEnabled()) {
Mark mark = new Mark(sizeField.getValue(addr));
Mark mark = new Mark(addr.addOffsetTo(sizeField.getOffset()));
return mark.getSize();
} else {
Address size = sizeField.getValue(addr);
@@ -83,7 +83,7 @@ public class FreeChunk extends VMObject {
public boolean isFree() {
if (VM.getVM().isCompressedOopsEnabled()) {
Mark mark = new Mark(sizeField.getValue(addr));
Mark mark = new Mark(addr.addOffsetTo(sizeField.getOffset()));
return mark.isCmsFreeChunk();
} else {
Address prev = prevField.getValue(addr);

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2007 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2001 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2001-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2001 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2007 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2007 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2004 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2004 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2004 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2004-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

View File

@@ -33,9 +33,9 @@
# Don't put quotes (fail windows build).
HOTSPOT_VM_COPYRIGHT=Copyright 2009
HS_MAJOR_VER=16
HS_MAJOR_VER=17
HS_MINOR_VER=0
HS_BUILD_NUMBER=06
HS_BUILD_NUMBER=03
JDK_MAJOR_VER=1
JDK_MINOR_VER=7

View File

@@ -1,5 +1,5 @@
#
# Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2006-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -40,6 +40,10 @@ jprt.need.sibling.build=false
jprt.tools.default.release=${jprt.submit.release}
# Disable syncing the source after builds and tests are done.
jprt.sync.push=false
# Define the Solaris platforms we want for the various releases
jprt.my.solaris.sparc.jdk7=solaris_sparc_5.10
@@ -306,7 +310,6 @@ jprt.my.windows.x64.test.targets = \
${jprt.my.windows.x64}-{product|fastdebug}-c2-GCBasher_ParallelGC, \
${jprt.my.windows.x64}-{product|fastdebug}-c2-GCBasher_ParNewGC, \
${jprt.my.windows.x64}-{product|fastdebug}-c2-GCBasher_CMS, \
${jprt.my.windows.x64}-{product|fastdebug}-c2-GCBasher_G1, \
${jprt.my.windows.x64}-{product|fastdebug}-c2-GCBasher_ParOldGC, \
${jprt.my.windows.x64}-{product|fastdebug}-c2-GCOld_default, \
${jprt.my.windows.x64}-{product|fastdebug}-c2-GCOld_SerialGC, \

View File

@@ -1,5 +1,5 @@
#
# Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2005-2009 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it

View File

@@ -70,10 +70,10 @@ all: $(JvmtiGeneratedFiles)
both = $(JvmtiGenClass) $(JvmtiSrcDir)/jvmti.xml $(JvmtiSrcDir)/jvmtiLib.xsl
$(JvmtiGenClass): $(JvmtiGenSource)
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -g -d $(JvmtiOutDir) $(JvmtiGenSource)
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -d $(JvmtiOutDir) $(JvmtiGenSource)
$(JvmtiEnvFillClass): $(JvmtiEnvFillSource)
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -g -d $(JvmtiOutDir) $(JvmtiEnvFillSource)
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -d $(JvmtiOutDir) $(JvmtiEnvFillSource)
$(JvmtiOutDir)/jvmtiEnter.cpp: $(both) $(JvmtiSrcDir)/jvmtiEnter.xsl
@echo Generating $@

View File

@@ -74,6 +74,7 @@ SUNWprivate_1.1 {
JVM_CurrentTimeMillis;
JVM_DefineClass;
JVM_DefineClassWithSource;
JVM_DefineClassWithSourceCond;
JVM_DesiredAssertionStatus;
JVM_DisableCompiler;
JVM_DoPrivileged;

View File

@@ -74,6 +74,7 @@ SUNWprivate_1.1 {
JVM_CurrentTimeMillis;
JVM_DefineClass;
JVM_DefineClassWithSource;
JVM_DefineClassWithSourceCond;
JVM_DesiredAssertionStatus;
JVM_DisableCompiler;
JVM_DoPrivileged;

View File

@@ -122,12 +122,20 @@ endif
endif
endif
COMPILE.JAVAC += $(BOOTSTRAP_JAVAC_FLAGS)
SUM = /usr/bin/sum
# 'gmake MAKE_VERBOSE=y' gives all the gory details.
QUIETLY$(MAKE_VERBOSE) = @
RUN.JAR$(MAKE_VERBOSE) += >/dev/null
# Settings for javac
BOOT_SOURCE_LANGUAGE_VERSION = 6
BOOT_TARGET_CLASS_VERSION = 6
JAVAC_FLAGS = -g -encoding ascii
BOOTSTRAP_JAVAC_FLAGS = $(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
# With parallel makes, print a message at the end of compilation.
ifeq ($(findstring j,$(MFLAGS)),j)
COMPILE_DONE = && { echo Done with $<; }

View File

@@ -74,8 +74,8 @@ $(GENERATED)/sa-jdi.jar: $(AGENT_FILES1) $(AGENT_FILES2)
mkdir -p $(SA_CLASSDIR); \
fi
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -g -d $(SA_CLASSDIR) $(AGENT_FILES1)
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -g -d $(SA_CLASSDIR) $(AGENT_FILES2)
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -source 1.4 -target 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) $(AGENT_FILES1)
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -source 1.4 -target 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) $(AGENT_FILES2)
$(QUIETLY) $(REMOTE) $(COMPILE.RMIC) -classpath $(SA_CLASSDIR) -d $(SA_CLASSDIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
$(QUIETLY) echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)

Some files were not shown because too many files have changed in this diff Show More