comparison src/share/vm/classfile/classLoader.cpp @ 4977:532be189cf09

Reducing diff to hsx24
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 27 Feb 2012 17:06:18 +0100
parents 723df37192d6
children 957c266d8bc5
comparison
equal deleted inserted replaced
4976:8f01f899bccd 4977:532be189cf09
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;