Commit Graph

80966 Commits

Author SHA1 Message Date
Tom Rodriguez
8e1624d88c 6676841: ClearArrayNode::Identity is incorrect for 64-bit
ClearArrayNode::Identity should use TypeX instead of TypeInt

Reviewed-by: jrose, kvn, sgoldman
2008-03-18 23:44:46 -07:00
Mandy Chung
9c8e97d713 6672804: First line in com/sun/management/package.html is broken
Fixed the typo in package.html

Reviewed-by: jjh
2008-03-18 12:53:47 -07:00
Mandy Chung
af4bff1a1e 6658779: Regression: HotspotDiagnosticMXBean.getDiagnosticOptions() throws NullPointerException
Add a null check for the VM option string

Reviewed-by: alanb, tbell
2008-03-18 11:53:15 -07:00
Tom Rodriguez
641bce6847 6666343: Compile::has_loops not always set correctly
Compile::has_loops() should be set from inlined methods

Reviewed-by: kvn, rasbold
2008-03-18 11:17:37 -07:00
Kelly O'Hair
e35b18e39b 6654458: /java/devtools findbugs doesn't work on windows
Changes to both ant and findbugs version checking.

Reviewed-by: tbell
2008-03-18 11:08:09 -07:00
Kelly O'Hair
42919ee3bb 6674232: OPENJDK=false is same as OPENJDK=true
OPENJDK should be empty (undefined) or "true".

Reviewed-by: tbell
2008-03-18 11:06:34 -07:00
Kelly O'Hair
0dbfd8d9bf 6611788: chmod a+x bin/winver.exe in make/tools/winver/Makefile fails on a read only file system
Tell Mercurial this file has execute permission.

Reviewed-by: tbell
2008-03-18 11:04:42 -07:00
Kelly O'Hair
65cbc8719f 6674226: Warning errors in freetypecheck
Just corrected some C code to remove warning errors from gcc.

Reviewed-by: tbell
2008-03-18 11:03:27 -07:00
Kelly O'Hair
3bcb138820 6674232: OPENJDK=false is same as OPENJDK=true
If OPENJDK has a value, that value must be "true", empty value == undefined with GNU make.

Reviewed-by: tbell
2008-03-18 11:01:40 -07:00
Anthony Petrov
723e255938 6589527: Window and Frame instances can hide their "Applet Warning"
Additional constraints have been added for the setBounds() operation.

Reviewed-by: son, art
2008-03-18 16:19:03 +03:00
Anthony Petrov
c195eb4ef5 6581927: REG : Non focusable frame can be minimized to very small & Frame icon can be seen on frame buttons
The SWP_NOSENDCHANGING flag should not be passed to the ::SetWindowPos() WinAPI function when we receive the WM_MOUSEMOVE message while manually handling the resizing of non-focusable frames.

Reviewed-by: son, ant
2008-03-18 15:07:42 +03:00
Anthony Petrov
8813269b78 6304277: PIT: Adding a TrayIcon closes a SplashScreen on Solaris but not on Win32
The Window.closeSplashScreen() method now verified the boolean flag isTrayIconWindow, and returns if it is true.

Reviewed-by: son, dcherepanov
2008-03-18 14:36:14 +03:00
Anthony Petrov
80a01c0796 6637796: setBounds doesn't enlarge Component
Added the areBoundsValid() method that verifies whether the current bounds of the component are valid. Using the isValid() method for this purpose previously was incorrect.

Reviewed-by: son, art
2008-03-18 14:20:28 +03:00
Anthony Petrov
cdf1fcc79d 6607660: java.awt.Container.getMouseEventTargetImpl should be invoked while holding the TreeLock
The body of the method has been wrapped into the synchronized (getTreeLock()) { } block.

Reviewed-by: son, art
2008-03-18 14:10:28 +03:00
Anthony Petrov
f92bcde478 6613927: Compilation of splashscreen png library failed on Ubuntu 7.04 (64bit)
The macro PNG_NO_MMX_CODE should be defined when compiling on 64bit Linux

Reviewed-by: yan, avu
2008-03-18 13:53:08 +03:00
Anthony Petrov
2095e90fb0 6608764: PropertyChangeListeners machinery should have a better locking scheme
Change to use a private final object java.awt.Component.changeSupportLock for locking purposes instead of using this

Reviewed-by: son, ant
2008-03-18 12:04:20 +03:00
Tim Bell
3a9b62e3d3 Merge 2008-03-17 23:03:51 -07:00
Tim Bell
fa4fe9bea5 Merge 2008-03-17 22:56:59 -07:00
Bradford Wetmore
99370e418f Merge 2008-03-17 12:27:58 -07:00
Bradford Wetmore
e5c032b7a8 Merge 2008-03-17 11:53:36 -07:00
Xue-Lei Andrew Fan
04886b6f44 6447412: Issue with socket.close() for ssl sockets when poweroff on other system
Support SSL sockets SOLINGER

Reviewed-by: chegar
2008-03-17 03:11:29 -04:00
Y. Srinivas Ramakrishna
f2b6ac989e 6634032: CMS: Need CMSInitiatingPermOccupancyFraction for perm, divorcing from CMSInitiatingOccupancyFraction
The option CMSInitiatingPermOccupancyFraction now controls perm triggering threshold. Even though the actual value of the threshold has not yet been changed, so there is no change in policy, we now have the infrastructure in place for dynamically deciding when to collect the perm gen, an issue that will be addressed in the near future.

Reviewed-by: jmasa
2008-03-16 21:57:25 -07:00
Xue-Lei Andrew Fan
e61d136dd9 6542796: CPU issue with JSSE and tomcat
Record length count error

Reviewed-by: weijun
2008-03-16 23:46:27 -04:00
Xue-Lei Andrew Fan
4a616b5705 6618387: SSL client sessions do not close cleanly. A TCP reset occurs instead of a close_notify alert
CloseIdelConnection() does not query the cached connection correctly.

Reviewed-by: chegar
2008-03-16 01:37:44 -04:00
Xue-Lei Andrew Fan
5fc030e9d3 6648816: REGRESSION: setting -Djava.security.debug=failure result in NPE in ACC
Unchecking the null pointer of the debug handle

Reviewed-by: mullan, weijun
2008-03-15 13:43:05 -04:00
Vladimir Kozlov
20046c1a18 6672848: (Escape Analysis) improve lock elimination with EA
Remove lock/unlock MemBar nodes and specify locks in debug info for deoptimization.

Reviewed-by: never
2008-03-14 16:40:42 -07:00
Jonathan Gibbons
2f36d025ca 6638501: Regression with Javac in JDK6 U4 b03?
Replace some String paths with File paths in Paths.java

Reviewed-by: ksrini
2008-03-14 16:09:30 -07:00
Vladimir Kozlov
fc0117cb9a 6674588: (Escape Analysis) Improve Escape Analysis code
Current EA code has several problems which have to be fixed.

Reviewed-by: jrose, sgoldman
2008-03-14 15:26:33 -07:00
Xueming Shen
8436026352 6514993: (prefs)prefs should use java.util.ServiceLoader to lookup service providers
Reviewed-by: iris
2008-03-14 14:21:03 -07:00
Dmitry Cherepanov
9e5bc6d8bf 6578583: Regression: Modality is broken in windows vista home premium from jdk1.7 b02 onwards
WS_DISABLED style should be used to fix some modality bugs

Reviewed-by: art, son
2008-03-14 22:00:33 +03:00
Dmitry Cherepanov
ad051bbc3a 6524352: support for high-resolution mouse wheel
Added support for high-resolution mouse wheel

Reviewed-by: dav, son
2008-03-14 20:40:09 +03:00
Dmitry Cherepanov
4033c90251 6603010: Out-of-process Java Plug-In non-functional or barely functional on X11 platforms
AWT XEmbed shouldn't use _SUN_XEMBED_START message

Reviewed-by: art, son
2008-03-14 18:50:02 +03:00
Dmitry Cherepanov
f97f9eb9a5 6612497: api/java_awt/Container/index.html#isAncestorOf Container2019 hangs since JDK 7 b15
Partial rollback changes for 6567564 in the Component.getGC method

Reviewed-by: art, son
2008-03-14 18:27:34 +03:00
Steve Bohne
387f42921b 6204603: Modify hotspot to use new Solaris mmap semantics for class data archive file
Os::attempt_reserve_memory_at() now passes an address hint to mmap

Reviewed-by: kamg, dice
2008-03-14 10:43:02 -04:00
Sean Mullan
aa16afbf77 Merge 2008-03-14 10:33:21 -04:00
Dmitry Cherepanov
07a1367346 6522731: Location of the frame changes,when the frame is resized & non-resized
XMoveWindow() should use shell's location

Reviewed-by: son
2008-03-14 17:23:25 +03:00
Vladimir Kozlov
30dc0edfc8 6673473: (Escape Analysis) Add the instance's field information to PhiNode
Avoid an infinite generation of instance's field values Phi nodes.

Reviewed-by: never
2008-03-13 16:31:32 -07:00
Kelly O'Hair
db98b5b071 6675289: Make default production build NOT include an openjdk build
SKIP_OPENJDK_BUILD now set to true.

Reviewed-by: xdono
2008-03-13 16:12:15 -07:00
Vladimir Kozlov
000ac830a0 6671807: (Escape Analysis) Add new ideal node to represent the state of a scalarized object at a safepoint
Values of non-static fields of a scalarized object should be saved in debug info to reallocate the object during deoptimization.

Reviewed-by: never
2008-03-13 16:06:34 -07:00
Daniel D. Daugherty
0745d10694 Merge 2008-03-13 14:17:48 -07:00
Jonathan Gibbons
d3dcc1c115 6559315: Inconsistent non-standard Sun copyright in src/share/opensource/javac/doc/document.css
Remove obsolete files

Reviewed-by: mcimadamore
2008-03-13 13:42:38 -07:00
Roman Kennke
eab1a9b3df 6546113: (bf) CharSequence.slice() on wrapped CharSequence doesn't start at buffer position
Reviewed-by: iris
2008-03-13 19:34:49 +00:00
Alan Bateman
66fa5dcf96 6628575: (fc) lock/tryLock methods do not work with NFS servers that limit lock range to max file size
Reviewed-by: sherman
2008-03-13 19:29:41 +00:00
Sean Mullan
cf50796ba5 6611991: Add support for parsing RFC4514 DNs to X500Principal
Added new test and made one code change to escape null characters.

Reviewed-by: vinnie
2008-03-13 13:29:27 -04:00
Oleg Sukhodolsky
dc0d619ccb 6538066: XSelection should be more passive
Now only XClipboard know about XSelection, and XSelection knows nothing about XClipboard.

Reviewed-by: uta, denis
2008-03-13 17:14:44 +03:00
Oleg Sukhodolsky
205971fd7c 6645856: static field XWindowPeer.defaultFont hides XWindow.defaultFont
Unnedded code has been removed.  Added getter for XWindow.defaultFont to initialize it lazily.

Reviewed-by: dav
2008-03-13 17:08:15 +03:00
Oleg Sukhodolsky
3c81ec3851 6645885: small refactoring for XContentWindow
Move createContent() method from XDecoratedPeer to XContentWindow, so only XContentWindow keep information about the way we position it.

Reviewed-by: anthony
2008-03-13 17:04:54 +03:00
Oleg Sukhodolsky
a7dad49796 6636368: XAtom contains unused code
Unused code has been removed

Reviewed-by: dcherepanov
2008-03-13 16:56:54 +03:00
Oleg Sukhodolsky
9c0e7108a3 6636370: minor corrections and simplification of code in AppContext
MainAppContext, isDisposed, and numAppContexts has beem made volatile.  mostRecentThreadAppContext has been rewritten using ThreadLocal.

Reviewed-by: art
2008-03-13 16:54:51 +03:00
Oleg Sukhodolsky
794142ee36 6636331: ConcurrentModificationException in AppContext code
Added synchronization to AppContext.getAppContexts()

Reviewed-by: art
2008-03-13 16:51:04 +03:00