Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
a619dc1e
Commit
a619dc1e
authored
May 10, 1999
by
Tom Tromey
Committed by
Tom Tromey
May 10, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* java/lang/natObject.cc (sync_init): Use _Jv_AllocBytesChecked.
From-SVN: r26858
parent
d5dde534
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
libjava/ChangeLog
+2
-0
libjava/java/lang/natObject.cc
+1
-2
No files found.
libjava/ChangeLog
View file @
a619dc1e
1999-05-10 Tom Tromey <tromey@cygnus.com>
* java/lang/natObject.cc (sync_init): Use _Jv_AllocBytesChecked.
* java/awt/natToolkit.cc: Added copyright header.
* java/util/zip/InflaterInputStream.java: Added copyright header.
...
...
libjava/java/lang/natObject.cc
View file @
a619dc1e
...
...
@@ -152,8 +152,7 @@ java::lang::Object::sync_init (void)
// been finalized. So if we just reinitialize the old one,
// we'll never be able to (re-)destroy the mutex and/or
// condition variable.
si
=
(
_Jv_SyncInfo
*
)
_Jv_AllocBytes
(
sizeof
(
_Jv_SyncInfo
));
// FIXME: what if si == NULL?
si
=
(
_Jv_SyncInfo
*
)
_Jv_AllocBytesChecked
(
sizeof
(
_Jv_SyncInfo
));
_Jv_MutexInit
(
&
si
->
mutex
);
_Jv_CondInit
(
&
si
->
condition
);
#if defined (_Jv_HaveCondDestroy) || defined (_Jv_HaveMutexDestroy)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment