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
e1b15113
Commit
e1b15113
authored
Feb 26, 2000
by
Anthony Green
Committed by
Anthony Green
Feb 26, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor clean up and bug fix.
From-SVN: r32196
parent
701a2601
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
5 deletions
+13
-5
libjava/ChangeLog
+9
-0
libjava/gnu/gcj/io/MimeTypes.java
+1
-1
libjava/java/net/URLConnection.java
+1
-1
libjava/jni.cc
+2
-3
No files found.
libjava/ChangeLog
View file @
e1b15113
2000-02-26 Anthony Green <green@cygnus.com>
* gnu/gcj/io/MimeTypes.java: Test for null.
* jni.cc (_Jv_JNI_AttachCurrentThread): Minor cleanup.
(JNI_GetCreatedJavaVMs): Remove compiler warning.
* java/net/URLConnection.java: Update copyright notice.
2000-02-25 Tom Tromey <tromey@cygnus.com>
2000-02-25 Tom Tromey <tromey@cygnus.com>
* jni.cc (_Jv_JNI_RegisterNatives): Conditionalize body on
* jni.cc (_Jv_JNI_RegisterNatives): Conditionalize body on
...
...
libjava/gnu/gcj/io/MimeTypes.java
View file @
e1b15113
...
@@ -36,7 +36,7 @@ public class MimeTypes
...
@@ -36,7 +36,7 @@ public class MimeTypes
{
{
// Read the next extension
// Read the next extension
String
e
=
tokenizer
.
nextToken
();
String
e
=
tokenizer
.
nextToken
();
if
(
!
e
.
startsWith
(
"#"
))
if
(
(
e
!=
null
)
&&
(!
e
.
startsWith
(
"#"
)
))
table
.
put
(
e
,
t
);
table
.
put
(
e
,
t
);
else
else
break
;
break
;
...
...
libjava/java/net/URLConnection.java
View file @
e1b15113
// URLConnection.java - Superclass of all communications links between
// URLConnection.java - Superclass of all communications links between
// an application and a URL.
// an application and a URL.
/* Copyright (C) 1999 Red Hat, Inc.
/* Copyright (C) 1999
, 2000
Red Hat, Inc.
This file is part of libgcj.
This file is part of libgcj.
...
...
libjava/jni.cc
View file @
e1b15113
...
@@ -1545,8 +1545,7 @@ _Jv_JNI_AttachCurrentThread (JavaVM *, jstring name, void **penv, void *args)
...
@@ -1545,8 +1545,7 @@ _Jv_JNI_AttachCurrentThread (JavaVM *, jstring name, void **penv, void *args)
// have been called simply to set the new JNIEnv.
// have been called simply to set the new JNIEnv.
if
(
_Jv_ThreadCurrent
()
==
NULL
)
if
(
_Jv_ThreadCurrent
()
==
NULL
)
{
{
java
::
lang
::
Thread
*
t
=
new
gnu
::
gcj
::
jni
::
NativeThread
(
group
,
name
);
(
void
)
new
gnu
::
gcj
::
jni
::
NativeThread
(
group
,
name
);
t
=
t
;
// Avoid compiler warning. Eww.
}
}
_Jv_SetCurrentJNIEnv
(
env
);
_Jv_SetCurrentJNIEnv
(
env
);
...
@@ -1707,7 +1706,7 @@ JNI_CreateJavaVM (JavaVM **vm, void **penv, void *args)
...
@@ -1707,7 +1706,7 @@ JNI_CreateJavaVM (JavaVM **vm, void **penv, void *args)
}
}
jint
jint
JNI_GetCreatedJavaVMs
(
JavaVM
**
vm_buffer
,
jsize
buf_len
,
jsize
*
n_vms
)
JNI_GetCreatedJavaVMs
(
JavaVM
**
vm_buffer
,
jsize
/* buf_len */
,
jsize
*
n_vms
)
{
{
JvAssert
(
buf_len
>
0
);
JvAssert
(
buf_len
>
0
);
// We only support a single VM.
// We only support a single VM.
...
...
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