Mercurial > hg > truffle
comparison src/share/vm/classfile/classLoader.cpp @ 4988:eb5b24d1499f
Merge
author | Christian Haeubl <christian.haeubl@oracle.com> |
---|---|
date | Mon, 27 Feb 2012 15:06:36 -0800 |
parents | 532be189cf09 |
children | 957c266d8bc5 |
comparison
equal
deleted
inserted
replaced
4987:f292f9c590ba | 4988:eb5b24d1499f |
---|---|
564 // returns true if entry already on class path | 564 // returns true if entry already on class path |
565 bool ClassLoader::contains_entry(ClassPathEntry *entry) { | 565 bool ClassLoader::contains_entry(ClassPathEntry *entry) { |
566 ClassPathEntry* e = _first_entry; | 566 ClassPathEntry* e = _first_entry; |
567 while (e != NULL) { | 567 while (e != NULL) { |
568 // assume zip entries have been canonicalized | 568 // assume zip entries have been canonicalized |
569 if (strcmp(entry->name(), e->name()) == 0) { | 569 if (strcmp(entry->name(), e->name()) == 0) { |
570 return true; | 570 return true; |
571 } | 571 } |
572 e = e->next(); | 572 e = e->next(); |
573 } | 573 } |
574 return false; | 574 return false; |